frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•11mo 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!

The fastest manmade object ever was a manhole cover launched by nuke

https://www.wearethemighty.com/mighty-history/fastest-manmade-object/
1•thunderbong•56s ago•0 comments

From Emacs to Agents

https://vivekhaldar.com/articles/from-emacs-to-agents/
1•gandalfgeek•2m ago•0 comments

An Uncharitable Taxonomy of the AI Discourse

https://iceworks.cc/blog/uctd/
1•airhangerf15•2m ago•0 comments

Build Adafruit projects right from Firefox

https://www.firefox.com/en-US/landing/adafruit/
1•mch82•4m ago•0 comments

Alleged Kimwolf Botmaster 'Dort' Arrested, Charged in U.S. and Canada

https://krebsonsecurity.com/2026/05/alleged-kimwolf-botmaster-dort-arrested-charged-in-u-s-and-ca...
1•shepherdjerred•4m ago•0 comments

Residents burn Ebola treatment center in Congo as anger grows over the outbreak

https://www.pbs.org/newshour/world/residents-burn-ebola-treatment-center-in-congo-as-anger-grows-...
1•bryan0•11m ago•0 comments

India Launches Tradable Rainfall Futures Called Rainmumbai

https://www.bloomberg.com/news/articles/2026-05-20/india-gets-first-rainfall-hedge-as-el-nino-thr...
1•samarthr1•12m ago•0 comments

Logging Off

https://user8.bearblog.dev/logging-off/
5•James72689•15m ago•0 comments

Everything Google announced at I/O 2026: Gemini, Android, more

https://9to5google.com/2026/05/19/google-io-2026-news/
1•gmays•18m ago•1 comments

Cross-Model Context Inheritance in Anthropic's Claude: 94 Days of Non-Response

https://github.com/AIM-Nelson/cross-model-context-inheritance
1•Malinor•22m ago•0 comments

Knex Mechanical Computer (MechaDigit-1) [video]

https://www.youtube.com/watch?v=PAWZ2Zjsah0
1•Teever•23m ago•0 comments

Samsung's deal with union hailed as a victory

https://www.reuters.com/business/world-at-work/samsungs-deal-with-union-hailed-victory-bonuses-le...
2•Tomte•24m ago•1 comments

Hotline.tg

1•hotline•27m ago•0 comments

Finding Bugs Using LLMs

https://materialize.com/blog/finding-bugs-using-llms/
2•def-•38m ago•1 comments

Hermes: The Agent That Grows with You

https://hermes-agent.nousresearch.com/
1•mooreds•41m ago•1 comments

Cleve Moler (Matlab, MathWorks) passed away on May 20, 2026

https://www.mathworks.com/company/aboutus/founders/clevemoler.html
2•mychele•41m ago•0 comments

How to Rule the World

https://feld.com/archives/2026/05/how-to-rule-the-world/
1•mooreds•42m ago•0 comments

Israel's operation to turn Hezbollah's beepers into bombs – exclusive

https://www.jpost.com/israel-news/defense-news/article-896890
1•rodmena•43m ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
1•tzury•48m ago•0 comments

The Treasure Has Been Found. Stop Hunting

https://www.buriedtreasuresf.com/solution
2•ChrisArchitect•50m ago•1 comments

Coins Stream

https://coins.stream
2•dragonsenseiguy•51m ago•0 comments

Gnutella: A Protocol Outlives the World That Created It

https://rickcarlino.com/notes/p2p/gnutella-explanation.html
2•rickcarlino•52m ago•0 comments

FreeLLMAPI – One key. One billion free LLM tokens. Every month

https://tashfeenahmed.github.io/freellmapi/
2•hamid914•53m ago•0 comments

It is time to build a new internet

https://mrmarket.bearblog.dev/it-is-time-to-build-a-new-internet/
58•mrmarket•57m ago•56 comments

Gopass: The slightly more standard Unix password manager for teams

https://github.com/gopasspw/gopass
1•thunderbong•1h ago•0 comments

Shitfixer.app – helps you reframe negative experiences and find optimism

https://shitfixer.app/
1•tonytonev•1h ago•0 comments

Nx Console v18.95.0 Postmortem

https://nx.dev/blog/nx-console-v18-95-0-postmortem
1•winebarrel•1h ago•0 comments

ReCardEx – AI product photos, infographics and videos for e-commerce sellers

https://recardex.com/en
1•masteriza•1h ago•0 comments

Riot Games celebrates bricking cheat devices

https://twitter.com/riotgames/status/2057604027941302564
8•indrora•1h ago•3 comments

Ground equipment problem scrubs Starship launch attempt

https://spacenews.com/ground-equipment-problem-scrubs-starship-launch-attempt/
2•JumpCrisscross•1h ago•0 comments