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!

Massing

https://en.wikipedia.org/wiki/Massing
1•tosh•6m ago•0 comments

This website runs on a Raspberry Pi 4B with only 1 GB of RAM

https://pi.deepakness.com/
1•7777777phil•7m ago•0 comments

Pace the frontier but stop pretending you need anyone else's permission

https://twitter.com/DavidSacks/status/2098973625252708460
1•caaqil•9m ago•0 comments

Software Engineer: I'm Tired of Pretending [video]

https://www.youtube.com/watch?v=H0HwFqBG9KE
1•conferza•11m ago•0 comments

OpenAI built a text generator so good, it's considered too dangerous (2019)

https://techcrunch.com/2019/02/17/openai-text-generator-dangerous/
1•olalonde•12m ago•0 comments

Keep calm and regulate on: Inside the EU's response to AI extinction warnings

https://www.politico.eu/article/eu-response-ai-extinction-warnings/
1•vrganj•12m ago•1 comments

Monitoring Mint with Microcontrollers Running TinyGo

https://www.mrnice.dev/posts/monitoring-mint-part-1/
1•ShayNehmad•13m ago•1 comments

JetKVM Mini

https://jetkvm.com/blog/introducing-jetkvm-mini
1•taubek•14m ago•0 comments

A rant about phishing: It's not the user's fault (and not DNS either)

https://maurycyz.com/misc/domains/
2•birdculture•19m ago•0 comments

Show HN: Fly or Tesla – Compare the cost, time, and stress of flights vs. FSD

https://flyortesla.com/
1•optimizethis•20m ago•3 comments

How are you using a Desktop or Browser AI agent daily?

2•Qhloi•22m ago•0 comments

American Medical Association backs classification of nearsightedness as disease

https://www.aao.org/newsroom/news-releases/detail/ama-backs-formal-classification-nearsightedness
13•plun9•28m ago•3 comments

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
2•rayhaanj•29m ago•0 comments

AI staff 'genuinely frightened' for humanity's future

https://www.bbc.com/news/articles/c1kx0gyje9wo
1•dabinat•30m 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•33m ago•0 comments

Generating running routes with GPT-6 Astra and ChatGPT Work

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

A metaphorical "Royal Road" in famous quotations

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

Life in Numbers

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

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

https://www.youtube.com/watch?v=FRrS54oHqlw
1•djfergus•36m 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•37m ago•0 comments

Life Options Are Expanding

https://humanprogress.org/trends/life-options-are-expanding/
1•andsoitis•38m 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•43m ago•0 comments

Chimps beat people in memory task (2007)

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

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

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

I rebuilt iMessage line for line. Nobody wanted it

https://sage.me/imessage
3•blsage•48m ago•1 comments

The News Tonight Is AI Danger

https://cmart.blog/the-news-tonight-is-ai-danger/
3•chrismartin•50m 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•51m ago•0 comments

Nanite Cluster Memory

https://real-mrbeam.github.io/2026/09/12/Nanite-Cluster-Memory.html
2•ibobev•51m 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•52m ago•0 comments

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

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