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!

The president wanted to unleash AI. Then came Anthropic

https://www.politico.com/news/magazine/2026/09/20/anthropic-white-house-ai-01085212
3•elorant•8m ago•0 comments

Show HN: Mahabharata Characters – 307 figures with gunas and decision primitives

https://huggingface.co/datasets/gnumanth/mahabharata-characters
1•init0•8m ago•0 comments

Show HN: Less Prompts, More Guardrails

https://yasyf.com/writing/less-prompts-more-guardrails/
1•yasyfm•15m ago•0 comments

Coding Machines

https://www.teamten.com/lawrence/writings/coding-machines/
1•xk3•16m ago•0 comments

Birdle Explorer

https://start.birdle.world/
1•totetsu•16m ago•1 comments

I Investigated Coinbase a Year Ago For Forbes. The Bigger Story Now Is Its Power

https://thesignalmemo.substack.com/p/coinbase-wants-the-power-of-a-bank
1•sindhya1•19m ago•0 comments

EA Safety

https://contraptions.venkateshrao.com/p/ea-safety
3•emersonmacro•20m ago•0 comments

A Builder's Simple Perspective on the Future of the Job Market

https://wenbo.site/blog/a-builder-s-simple-perspective-on-how-ai-will-shape-the-job-market
1•tracyhenry•20m ago•0 comments

Lint-HTTP 0.1.0 – Easy to use, complete HTTP traffic linter

https://crates.io/crates/lint-http/0.1.0
1•gaigalas•28m ago•0 comments

While the human's away, do the agents slip into foul play?

https://dev.yuv.run/writing/while-i-sleep/
1•alkisyuv•29m ago•0 comments

Winning the Visa Lottery

https://www.aeaweb.org/research/immigration-restrictions-firms-workers
2•neehao•33m ago•0 comments

The Rise of Niche Consumption

https://www.aeaweb.org/articles?id=10.1257/mac.20210263
1•neehao•33m ago•0 comments

Presley Gerber, Son of Cindy Crawford and Rande Gerber, Dies at 27

https://www.hollywoodreporter.com/lifestyle/lifestyle-news/presley-gerber-dead-cindy-crawford-ran...
1•andsoitis•35m ago•0 comments

Talk to Hector Salamanca, powered by Jev and a bell

https://jev-hector.vercel.app/
2•xjconlyme•40m ago•0 comments

Rally English

https://en.wikipedia.org/wiki/Rally_English
1•red369•43m ago•0 comments

The Trouble with 'Ntile()'

https://blog.djnavarro.net/posts/2026-09-20_the-trouble-with-ntile/
1•luu•46m ago•0 comments

The Genesis of Attribute Grammars [pdf]

https://www.cs.miami.edu/home/odelia/teaching/csc419_spring17/syllabus/Knuth_AttributeHistory.pdf
1•luu•48m ago•0 comments

New wild cat species is identified for first time in 100 years

https://www.nbcnews.com/science/environment/new-wild-cat-species-identified-rcna598113
2•gmays•56m ago•0 comments

A Silicon Valley radical: Trump's AI whisperer pushing for limited regulation

https://www.theguardian.com/us-news/2026/sep/20/david-sacks-trump-ai-czar
2•kuerbel•57m ago•0 comments

Vibemaxxer

https://vibemaxxer.cro.sh/
1•namjh•58m ago•0 comments

China is not ready for a post-American world

https://www.economist.com/international/2026/09/15/china-is-not-ready-for-a-post-american-world
2•andsoitis•1h ago•0 comments

NYTimes Journalist Regrets Long Ordeal Sending Daughter to Worse NY Schools

https://www.nytimes.com/2026/09/20/magazine/ny-public-schools-black-students-segregation.html
2•doctorpangloss•1h ago•0 comments

Skills to Make the Perfect Website

https://github.com/NoamanKhalil/WebSkills
2•Noamank•1h ago•0 comments

Chemical and Biological Weapons Explained – Brett Edwards (2024) [video]

https://www.youtube.com/watch?v=x3J2w7-9XC8
1•verdverm•1h ago•1 comments

You Are the Executive Now

https://sundaylettersfromsam.substack.com/p/youre-the-executive-now
1•andsoitis•1h ago•0 comments

NASA's Moon Orbiter Spots New, 'Once-in-Century' Moon Crater

https://science.nasa.gov/solar-system/moon/nasas-moon-orbiter-spots-new-once-in-century-moon-crater/
1•gmays•1h ago•0 comments

Show HN: GrowSpot – checks if a plant can live in an exact spot, not just a room

https://growspotapp.com/spot-checker/
1•growspotapp•1h ago•0 comments

Show HN: Hibi – An open-source obsidian alternative

https://github.com/schmayterling/hibi
2•ryanamay•1h ago•0 comments

Linus demands real users before hazard pointers land

https://freenode.net/article/linus-demands-real-users-before-hazard-pointers-land
4•KinetiNode•1h ago•0 comments

How we're (actually) all going to die

https://siliconpalace.substack.com/p/heres-how-were-actually-all-going
4•shigalyov•1h ago•4 comments