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!

DARPA Heavy Life Challenge

https://www.darpa.mil/research/challenges/lift
1•mhb•1m ago•0 comments

Amazon S3 annotations: attach rich, queryable context directly to objects

https://aws.amazon.com/blogs/aws/amazon-s3-annotations-attach-rich-queryable-context-directly-to-...
1•firasd•6m ago•0 comments

White House talks with Anthropic shift to setting AI security rules

https://www.politico.com/news/2026/06/18/white-house-talks-with-anthropic-shift-to-setting-ai-sec...
1•daniban•8m ago•0 comments

Why Global Chaos Can't Stop the World Cup [video]

https://www.youtube.com/watch?v=vn8w80Ms7-w
1•mgh2•8m ago•0 comments

Amazon employees say they're facing termination for backing data center limits

https://www.theverge.com/ai-artificial-intelligence/952180/amazon-seattle-data-center-moratorium-...
1•1vuio0pswjnm7•9m ago•0 comments

AI DevKit – The control plane for AI coding agents

https://ai-devkit.com/
1•hoangnnguyen•9m ago•0 comments

Meetup.com login appears to be exceeding its reCAPTCHA Enterprise quota

1•infl8ed•15m ago•0 comments

Why do politicians want AI to go faster?

https://www.irishtimes.com/technology/big-tech/2026/04/02/why-do-politicians-want-ai-to-go-faster/
1•1vuio0pswjnm7•20m ago•1 comments

Inside the Rage Machine [video]

https://www.bbc.com/video/docs/series/10294077
2•1vuio0pswjnm7•27m ago•1 comments

Show HN: A/B testing LLM silence with one system-prompt toggle

https://twitter.com/RayanPal_/status/2067816563995189631
8•rayanpal_•29m ago•0 comments

Show HN: Sakha – An AI employee – onboarding tool for businesses

https://www.sakha.one
1•ankleshh•32m ago•0 comments

Profile(v2.1.4) physics-aware optimizer for vLLM (31→470 tok/s on A100)

https://github.com/jungledesh/profile
1•jungledesh•39m ago•0 comments

Staarfruit.com

https://staarfruit.com/
2•BishrKhan•40m ago•0 comments

Slay The Spire 2 – Major Update #2 – v0.107.1

https://store.steampowered.com/news/app/2868840/view/710026912607505280
1•j-scott•40m ago•1 comments

Fable Converted Pylint to Rust

https://pypi.org/project/prylint/
2•adamraudonis•41m ago•0 comments

AI Agents for Product Managers

https://ferrix.ai/blog/ai-agents-for-product-managers
1•B_Nemade•42m ago•0 comments

ElevenLabs Routes Image and Video to Outside Models, and Disclaims What They Do

https://ledger.somantix.ai/posts/eleven-labs-routes-image-and-video-to-outside-models-and-disclai...
2•bdroopy•43m ago•0 comments

Let's Encrypt has been down most of today

https://letsencrypt.status.io/#2026
71•widdakay•44m ago•19 comments

The Plan? To Resurrect Every Person Who Ever Lived

https://jonasanksher.substack.com/p/the-plan-to-resurrect-every-person
2•paulpauper•45m ago•0 comments

Universal Blue

https://universal-blue.org/
2•Tomte•46m ago•0 comments

How Poor People Manifested Billionaire Escape Resorts

https://katherineruss.substack.com/p/how-poor-people-manifested-bunker
1•Nakedemperor•49m ago•0 comments

Low-skilled attacker used Claude, Codex to breach 14 companies

https://www.helpnetsecurity.com/2026/06/17/ai-agents-offensive-cyber-operations-claude-codex/
1•xbmcuser•50m ago•0 comments

UDP Gateway Packet Sources

https://www.proxylity.com/articles/now-available-packet-sources
1•mlhpdx•51m ago•0 comments

Product Hunt launches doubled while engagement halved

https://producthunt.homek8s.com/trends
1•Meetvelde•56m ago•1 comments

Flourish Labs: $500M to reinvent AI using neuroscience [pdf]

https://flourishlabs.ai/flourish_wired_article.pdf
2•spot•56m ago•1 comments

The Major Oak, Ancient Tree of Robin Hood Legend, Has Died

https://www.nytimes.com/2026/06/18/world/europe/major-oak-tree-dies.html
1•jaredwiener•57m ago•0 comments

Ex150-16 review: washout period and starting HCLF

https://www.exfatloss.com/p/ex150-16-review-washout-period-and
1•paulpauper•57m ago•0 comments

Every Privacy Vulnerability in Chrome and How to Catch It

https://www.thatprivacyguy.com/blog/the-beast-behind-the-browser/
2•dotcoma•58m ago•0 comments

The Once and Future Fable #3: Fix This Code

https://thezvi.substack.com/p/the-once-and-future-fable-3-fix-this
1•paulpauper•58m ago•0 comments

Write your novel on your own machine. Pay no subscription

https://github.com/giapnguyen74/xnovelist
1•giapnguyen74•58m ago•0 comments