frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y ago
Hi HN, we’re Jeffrey and Kritin, and we’re building DeepTeam (https://trydeepteam.com), an open-source Python library to scan LLM apps for security vulnerabilities. You can start “penetration testing” by defining a Python callback to your LLM app (e.g. `def model_callback(input: str)`), and DeepTeam will attempt to probe it with prompts designed to elicit unsafe or unintended behavior.

Note that the penetration testing process treats your LLM app as a black-box - which means that DeepTeam will not know whether PII leakage has occurred in a certain tool call or incorporated in the training data of your fine-tuned LLM, but rather just detect that it is present. Internally, we call this process “end-to-end” testing.

Before DeepTeam, we worked on DeepEval, an open-source framework to unit-test LLMs. Some of you might be thinking, well isn’t this kind of similar to unit-testing?

Sort of, but not really. While LLM unit-testing focuses on 1) accurate eval metrics, 2) comprehensive eval datasets, penetration testing focuses on the haphazard simulation of attacks, and the orchestration of it. To users, this was a big and confusing paradigm shift, because it went from “Did this pass?” to “How can this break?”.

So we thought to ourselves, why not just release a new package to orchestrate the simulation of adversarial attacks for this new set of users and teams working specifically on AI safety, and borrow DeepEval’s evals and ecosystem in the process?

Quickstart here: https://www.trydeepteam.com/docs/getting-started#detect-your...

The first thing we did was offer as many attack methods as possible - simple encoding ones like ROT13, leetspeak, to prompt injections, roleplay, and jailbreaking. We then heard folks weren’t happy because the attacks didn’t persist across tests and hence they “lost” their progress every time they tested, and so we added an option to `reuse_simulated_attacks`.

We abstracted everything away to make it as modular as possible - every vulnerability, attack, can be imported in Python as `Bias(type=[“race”])`, `LinearJailbreaking()`, etc. with methods such as `.enhance()` for teams to plug-and-play, build their own test suite, and even to add a few more rounds of attack enhancements to increase the likelihood of breaking your system.

Notably, there are a few limitations. Users might run into compliance errors when attempting to simulate attacks (especially for AzureOpenAI), and so we recommend setting `ignore_errors` to `True` in case that happens. You might also run into bottlenecks where DeepTeam does not cover your custom vulnerability type, and so we shipped a `CustomVulnerability` class as a “catch-all” solution (still in beta).

You might be aware that some packages already exist that do a similar thing, often known as “vulnerability scanning” or “red teaming”. The difference is that DeepTeam is modular, lightweight, and code friendly. Take Nvidia Garak for example, although comprehensive, has so many CLI rules, environments to set up, it is definitely not the easiest to get started, let alone pick the library apart to build your own penetration testing pipeline. In DeepTeam, define a class, wrap it around your own implementations if necessary, and you’re good to go.

We adopted a Apache 2.0 license (for now, and probably in the foreseeable future too), so if you want to get started, `pip install deepteam`, use any LLM for simulation, and you’ll get a full penetration report within 1 minute (assuming you’re running things asynchronously). GitHub: https://github.com/confident-ai/deepteam

Excited to share DeepTeam with everyone here – let us know what you think!

Left to Solve: 46,758 open math problems, attacked by AI agents

https://lefttosolve.com/
1•AkshatJ27•1m ago•0 comments

The Counting House

https://steve-yegge.medium.com/the-counting-house-steve-yegge-83f5145cc35b
1•Garbage•3m ago•0 comments

Ask HN: How do you approach testing AI-powered features in applications?

1•yashjadeja7•4m ago•0 comments

Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code

https://arxiv.org/abs/2512.03262
1•espeed•5m ago•0 comments

Donkey Sentences and ML Modules

https://pithlessly.github.io/donkey-sentences-and-modules
1•joshcsimmons•7m ago•0 comments

Why Mac Addresses Are Bad Hardware IDs

https://permitcore.dev/blog/why-mac-addresses-are-bad-hardware-ids
1•permitcore_dev•8m ago•1 comments

Browse and preview pics and videos in a SSH term

https://dyne.org/sixel-viz/
1•jaromilrojo•8m ago•1 comments

Arthur Rock's Intel Memo (2023)

https://law.stanford.edu/stanford-lawyer/articles/arthur-rocks-intel-memo/
1•mpweiher•14m ago•0 comments

Public Cloud pricing changes:why we're adjusting our prices in 2027 – Infomaniak

https://news.infomaniak.com/en/public-cloud-pricing-changes-2026/
1•traceroute66•16m ago•1 comments

One guy, one 40 agent swarm, six projects – an interview with Jonathan Chan

https://freshworktree.com/an-interview-with-jonathan-chan/
1•skeggsguy•16m ago•0 comments

Damaging the task environment to trigger a reset

https://openai.com/safety-alignment/misalignment-reports/damaging-the-task-environment-to-trigger...
1•anatolii1309•18m ago•0 comments

X-65 Active Flow Control Demonstrator

https://www.aurora.aero/x-65-experimental-aircraft/
1•mpweiher•19m ago•0 comments

Everyone here is a person

https://fireborn.mataroa.blog/blog/everyone-here-is-a-person/
1•lr0•20m ago•0 comments

A Battery Passport is only as good as the data behind it

https://www.circunomics.com/lp/proof-before-the-passport
1•doener•21m ago•0 comments

Ryzen AI Max+ Pro 495 192GB: Qwen Q6,249K Context Benchmark,ROCm and Mem Results

https://huggingface.co/Qwen/Qwen3.8-Flash-Next/discussions/84
2•teleforce•26m ago•0 comments

Connecting NotebookLM to Claude with Google's Official MCP Server

https://www.nlmtools.com/blog/connect-notebooklm-to-claude
1•trungpv1601•28m ago•0 comments

You can use Touch ID for sudo

https://modulovalue.com/blog/touch-id-for-sudo/
1•modulovalue•28m ago•0 comments

Show HN: Counterlure – MCP/CLI and anon exchange to unmask honeypots/honeytraps

https://mcp.counterlure.com/
1•counterlure•29m ago•0 comments

Ask HN: Apple suspended my dev account 69 days ago and no human will respond

4•spichakovda•30m ago•0 comments

Building AGI Using Language Models (2020)

https://bmk.sh/2020/08/17/Building-AGI-Using-Language-Models/
1•rzk•31m ago•0 comments

Fossjobs: Job Board for Free and Open Source Jobs

https://www.fossjobs.net/
1•rendx•33m ago•0 comments

Show HN: Zero-upload client-side privacy, PDF, and buyer utilities

https://www.decodedbuyer.com/
2•dollardecoded•36m ago•0 comments

Scientists create non-fading paint without a single pigment

https://www.sciencedaily.com/releases/2026/11/261127203630.htm
2•extasetoi12•36m ago•0 comments

The day Amazon selected their favorite fake customer reviews (2013)

https://idle.slashdot.org/story/13/08/15/2212210/amazon-selects-their-favorite-fake-customer-reviews
2•MilnerRoute•40m ago•0 comments

Show HN: Namastack – Reliable event processing for Spring Boot

https://github.com/namastack/namastack-outbox
1•rolandbeisel•41m ago•0 comments

Show HN: I made my first extension

https://www.gistbox.pro/
1•sahil423•41m ago•0 comments

Show HN: Made my first web extension which exports AI chats as diff files

https://chromewebstore.google.com/detail/gistbox/jkbbahoipdpcoickbplejfkkebcnpocg
1•sahil423•42m ago•0 comments

I came to write THAT paper with Leslie Lamport

https://lawrencecpaulson.github.io/2026/08/21/Lamport.html
2•rbanffy•44m ago•0 comments

Show HN: FERS Annuity Calculator – sick-leave conversion using OPM's Chart 2

https://solederlego8-a11y.github.io/fers/
1•naoK3•45m ago•0 comments

Quantum Computing for Software Engineers – Leanpub

https://leanpub.com/quantum-computing-for-software-engineers
1•rbanffy•47m ago•0 comments