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!

RFV-0001: Request for Vibes

https://tomaytotomato.com/request-for-vibes/
1•tomaytotomato•1m ago•0 comments

Why We Ignore Advice

https://yusufaytas.com/why-we-ignore-advice
3•yusufaytas•2m ago•0 comments

New Linux kernel security bug; Fragnesia

https://www.openwall.com/lists/oss-security/2026/05/13/3
1•tankenmate•2m ago•0 comments

Ask HN: How to Invest 10K EUR

2•default_•3m ago•0 comments

Harvard Votes on Limiting "A" Grades

https://www.axios.com/local/boston/2026/05/11/harvard-faculty-vote-grade-inflation-cap-a-grades-i...
1•smurda•3m ago•0 comments

What happened to the car designed for women, by women?

https://uxdesign.cc/what-happened-to-the-car-designed-for-women-by-women-1fdcde8a0bc4
1•rmason•4m ago•1 comments

The AI Apocalypse

https://www.youtube.com/watch?v=8nsxuB3Vsts
1•indigodaddy•5m ago•0 comments

Continuous lamination unlocks production of large-area flexible circuit boards

https://techxplore.com/news/2026-04-lamination-stable-production-large-area.html
2•PaulHoule•7m ago•0 comments

Hilary Putnam: Brains in a Vat (1981)

https://www.cambridge.org/core/books/abs/reason-truth-and-history/brains-in-a-vat/4301D7FCC586969...
2•brudgers•9m ago•0 comments

We built the fastest database for querying large agent traces using Rust

https://www.langchain.com/blog/introducing-smithdb
1•palashshah•9m ago•0 comments

Princeton mandates proctoring in-person exams, upending 133 years of precedent

https://www.dailyprincetonian.com/article/2026/05/princeton-news-adpol-proctoring-in-person-exami...
6•bookofjoe•9m ago•0 comments

GitHub Copilot individual plans: Introducing flex allotments

https://github.blog/news-insights/company-news/github-copilot-individual-plans-introducing-flex-a...
1•dougskinner•10m ago•0 comments

Ask HN: Why does my ChatGPT always display one sentence per line?

1•djyde•10m ago•0 comments

Show HN: Arrivl – Analytics for AI agent traffic on your site

https://arrivl.ai
1•starfun•10m ago•0 comments

Show HN: Vibe-coding video games with Claude (Day 30: Chess)

https://gamevibe.us/30-chess
1•pzxc•11m ago•0 comments

500 Lines or Less: An Archaeology-Inspired Database

https://aosabook.org/en/500L/an-archaeology-inspired-database.html
1•smartmic•11m ago•0 comments

Exploring the HTML-in-Canvas Proposal

https://tympanus.net/codrops/2026/05/13/exploring-the-html-in-canvas-proposal/
1•motiontx•11m ago•0 comments

Authenticity in Creative Expression with AI

https://postcorporate.substack.com/p/good-morning-dr-chandra-this-is
1•gnostikka•12m ago•0 comments

How to Achieve Truly Serverless GPUs

https://modal.com/blog/truly-serverless-gpus
1•birdculture•12m ago•0 comments

Omaha as Judgment Day for AGI

https://mayankagrawalphd.substack.com/p/omaha-as-judgment-day-for-agi
2•timshell•13m ago•0 comments

There Is a Fire Sale on M.B.A.s

https://www.wsj.com/lifestyle/careers/there-is-a-fire-sale-on-m-b-a-s-87d56c69
3•harambae•13m ago•0 comments

Notion's Agents SDK

https://twitter.com/NotionDevs/status/2054600927810920894
2•umangsehgal93•16m ago•0 comments

Claude helped recover 5 BTC that was thought lost for 11 years

https://twitter.com/cprkrn/status/2054586810475364536
2•serial_dev•17m ago•0 comments

Local Android emulation in an AI agent

https://docs.devin.ai/onboard-devin/environment/android-emulation
1•Alextigtig•18m ago•0 comments

Adopting Helix*Isms

https://kristun.dev/posts/adopting-helix-isms/
1•polyamid23•18m ago•0 comments

AI in Bio Biggest Questions

https://shelbyann.substack.com/p/biggest-questions-in-biotech
1•cellsnstuff•18m ago•0 comments

Everything Claude Code: performance optimization system for AI agent harnesses

https://github.com/affaan-m/everything-claude-code
1•doener•20m ago•0 comments

Rars: a Rust RAR implementation, mostly written by LLMs

https://bitplane.net/log/2026/05/rars/
7•davidsong•22m ago•2 comments

Agents Window in VS Code

https://code.visualstudio.com/docs/copilot/agents/agents-window?source=vsc-website-banner
2•nor0x•23m ago•0 comments

Type-driven design in automotive C: how much of my code is manual type checking?

https://lmilz.dev/blog/2025/12/11/From-Defensive-Programming-to-Type-Driven-Design.html
1•lmilz•24m ago•0 comments