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!

A remote island, these GPS hackers are preparing for an invisible war

https://www.bbc.com/future/article/20260908-inside-the-fight-to-protect-the-worlds-satellite-signals
1•rayhaanj•1m ago•0 comments

AI staff 'genuinely frightened' for humanity's future

https://www.bbc.com/news/articles/c1kx0gyje9wo
1•dabinat•1m ago•0 comments

Africa's Airliner Fleet May More Than Double by 2045

https://humanprogress.org/africas-commercial-fleet-to-more-than-double-by-2045/
1•andsoitis•5m ago•0 comments

Generating running routes with GPT-6 Astra and ChatGPT Work

https://simonwillison.net/2026/Sep/12/astra-running-routes/
1•tosh•6m ago•0 comments

A metaphorical "Royal Road" in famous quotations

https://en.wikipedia.org/wiki/Royal_Road
1•Bluestein•7m ago•0 comments

Life in Numbers

https://humanprogress.org/ylin/
1•andsoitis•7m ago•0 comments

Huawei Mate XT 2 hands on ($3000 trifold) [video]

https://www.youtube.com/watch?v=FRrS54oHqlw
1•djfergus•7m ago•0 comments

AI agents tested by OpenAI involved in cyber-attack on service, say researchers

https://www.theguardian.com/technology/2026/sep/11/openai-agents-rubygems-malicious-packages
2•nobody9999•9m ago•0 comments

Life Options Are Expanding

https://humanprogress.org/trends/life-options-are-expanding/
1•andsoitis•9m ago•0 comments

New Science Says Scrapping a Working Gas Car for an EV Is Usually Greener

https://cleantechnica.com/2026/08/16/scrapping-working-gas-car-for-ev-can-be-greener/
1•xbmcuser•15m ago•0 comments

Chimps beat people in memory task (2007)

https://www.theguardian.com/science/2007/dec/04/animalbehaviour.evolution
1•mellosouls•15m ago•0 comments

Remove the need for planning permission for external shutters on properties (UK)

https://petition.parliament.uk/petitions/778193
1•DamonHD•18m ago•0 comments

I rebuilt iMessage line for line. Nobody wanted it

https://sage.me/imessage
2•blsage•20m ago•0 comments

The News Tonight Is AI Danger

https://cmart.blog/the-news-tonight-is-ai-danger/
2•chrismartin•21m ago•0 comments

Designing Cycle-Exact Delays on Several 8-Bit CPUs

https://bumbershootsoft.wordpress.com/2026/09/12/designing-cycle-exact-delays-on-several-8-bit-cpus/
1•ibobev•23m ago•0 comments

Nanite Cluster Memory

https://real-mrbeam.github.io/2026/09/12/Nanite-Cluster-Memory.html
2•ibobev•23m ago•0 comments

Sierra digital cameras on the Apple II

https://www.colino.net/wordpress/archives/2026/09/11/sierra-digital-cameras-on-the-apple-ii/
2•ibobev•23m ago•0 comments

TuragaLab/flybody: MuJoCo fruit fly body model and locomotion RL tasks

https://github.com/TuragaLab/flybody
1•olalonde•25m ago•0 comments

View-Dependent Proxy

https://armandsumo.com/posts/view-dependent-proxy/
2•rslice•26m ago•0 comments

Find investors for your startup – Investor Match Guaranteed

https://leadagentx.ai
1•liranbr•30m ago•0 comments

Why So Many AI Researchers Think the Machines Could Kill Everyone

https://www.wired.com/story/why-so-many-ai-researchers-think-the-machines-could-kill-everyone/
3•joozio•32m ago•0 comments

Guidance on Using CC Licenses in an AI Ecosystem

https://creativecommons.org/2026/09/03/guidance-on-using-cc-licenses-in-an-ai-ecosystem/
1•Tomte•38m ago•0 comments

Created a local AI to save data

https://github.com/just-not-google/BiNeuron
1•BiNeuron•49m ago•0 comments

Petroleum Refining

https://courses.ems.psu.edu/fsc432/node/2
2•pmontra•51m ago•0 comments

Faulty reward functions in the wild (2016)

https://openai.com/index/faulty-reward-functions/
1•tosh•54m ago•0 comments

MetaPost library for black and white illustrations

https://github.com/jemmybutton/fiziko
2•mjmas•55m ago•0 comments

Actuali: free Actual Budget client for iOS

https://actuali.mfazz.com/
1•itchingsphynx•1h ago•0 comments

Selling Out

https://www.seangoedecke.com/selling-out/
2•ckardaris•1h ago•0 comments

The Coxon psyop was a decade and more than a billion dollars in the making

https://xcancel.com/antibot/captcha
3•thelastgallon•1h ago•4 comments

Jeff Bezos Earned His Amazon Fortune

https://humanprogress.org/jeff-bezos-earned-his-fortune/
3•gmays•1h ago•4 comments