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!

Prolog Coding Horror

https://www.metalevel.at/prolog/horror
1•RohanAdwankar•1m ago•0 comments

We Lost Our Imagination

https://onatm.dev/2026/05/17/we-lost-our-imagination/
2•onatm•4m ago•0 comments

Looks like someone forgot to register this domain edwardgallrein.com – oopsie

https://replit.com/
1•ryanmerket•5m ago•0 comments

Dwarkesh in the Datacenter

https://marginalrevolution.com/marginalrevolution/2026/05/dwarkesh-in-the-datacenter.html
1•paulpauper•9m ago•0 comments

A New Kind of Family-Separation Crisis

https://www.theatlantic.com/politics/2026/05/honduras-deportations-without-children/687153/
1•paulpauper•10m ago•0 comments

My Son's Math Homework Is Essentially Just Pokémon

https://www.theatlantic.com/technology/2026/05/homework-video-games-ed-tech/687198/
1•paulpauper•10m ago•0 comments

Ask HN: Why aren't more people worried about AI impersonation in code reviews?

1•eranation•13m ago•0 comments

Release PiClaw v2.4.0 – The Infosphere · rcarmo/piclaw

https://github.com/rcarmo/piclaw/releases/tag/v2.4.0
1•rcarmo•14m ago•0 comments

Artificial Intelligence and Grade Inflation

https://cshe.berkeley.edu/publications/artificial-intelligence-and-grade-inflation-cshe-higher-ed...
1•ChrisArchitect•14m ago•0 comments

Rcarmo/iOS-terax-AI: Personal fork of Terax for integration with iOS-Linux-kit

https://github.com/rcarmo/ios-terax-ai
1•rcarmo•14m ago•0 comments

Outbound

https://store.steampowered.com/app/2681030/Outbound/
1•doener•15m ago•0 comments

FTC tells platforms to comply with Take It Down Act by May 19

https://www.ftc.gov/news-events/news/press-releases/2026/05/ftc-chairman-ferguson-advises-compani...
1•p_stuart82•18m ago•0 comments

The Arch Lie [video]

https://www.youtube.com/watch?v=nemkacOX8-w
1•grigio•20m ago•0 comments

Show HN: Multi-agent orchestration layer for experimentation

https://github.com/theo-kirby/chassis
1•theo-kirby•21m ago•0 comments

What Matters in Production RAG

https://arpitbhayani.me/blogs/rag-production/
1•ashwani-yadav•23m ago•0 comments

Show HN: Switch your Mac's desktop identity with hotkeys – InfiniDesk 3

https://infinidesk.app
1•ben_s_e•24m ago•0 comments

Paul Le Roux

https://en.wikipedia.org/wiki/Paul_Le_Roux
1•niklasbuschmann•25m ago•0 comments

Microsoft AI CEO forecasts human-level AI in 18 months

https://twitter.com/kimmonismus/status/2055952702908355012
8•momentmaker•26m ago•6 comments

What 4 months and 6,435 sessions taught us about AI vocal coaching

https://singingcarrots.com/blog/ai-singing-coach-results-4-months-data/
2•kyunez•26m ago•1 comments

Don't Answer the First Question

https://lalitm.com/post/dont-answer-the-first-question/
1•logickkk1•26m ago•0 comments

Ken Griffin says Citadel AI agents finish PhD tasks in days

https://twitter.com/TFTC21/status/2055978848764784662
3•momentmaker•27m ago•1 comments

The Cost of Concurrency Coordination with Jon Gjengset [video]

https://www.youtube.com/watch?v=tND-wBBZ8RY
1•redixhumayun•28m ago•0 comments

Silver scrollers: What is screen time like for seniors?

https://www.rnz.co.nz/life/wellbeing/silver-scrollers-what-is-screen-time-like-for-seniors
3•billybuckwheat•29m ago•1 comments

The Cost of 24/7: Tracking Home Lab Power with Shelly

https://veerendra2.github.io/hidden-cost-home-lab-power-shelly/
2•catfight7391•30m ago•0 comments

Long-term editing of brain circuits using an engineered electrical synapse

https://www.nature.com/articles/s41586-026-10501-y
2•bookofjoe•30m ago•0 comments

Hollywood Has a Voice Problem. Sag-Aftra Cannot Fix It Alone

https://oravys.com/blog/hollywood-voice-gap
2•Oravys•31m ago•0 comments

Git-surgeon gives AI agents surgical control without interactive prompts

https://github.com/raine/git-surgeon
1•mil22•32m ago•0 comments

AI Rings on Fingers Can Interpret Sign Language

https://spectrum.ieee.org/sign-language-interpreter
3•SVI•41m ago•0 comments

Where OpenClaw Security Is Heading

https://openclaw.ai/blog/where-openclaw-security-is-heading
3•paulofeliciano•45m ago•0 comments

The Psychopathy Jailbreak: What a Broken AI Teaches Us About Human Manipulation

https://www.promptinjection.net/p/nsfw-and-the-psychopathy-jailbreak-what-broken-ai-llm-teaches-a...
2•JustMyNews•45m ago•0 comments