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!

Parsing JSON at gigabytes per second in Python

https://lemire.me/blog/2026/10/12/parsing-json-at-tens-of-gigabytes-per-second-in-python/
1•ibobev•44s ago•0 comments

An A.I. Manifesto to End All A.I. Manifestoes

https://www.nytimes.com/2026/10/14/opinion/artificial-intelligence-ai-manifesto.html
2•tysone•3m ago•0 comments

Page One Open Source Screenwriting App

https://github.com/scripthook84/Page-One
1•scripthook•4m ago•0 comments

Private equity ownership affects dental practices

https://www.dentaleconomics.com/macro-op-ed/industry-news/news/55341670/how-does-private-equity-o...
2•paimapi•5m ago•0 comments

Coding agent can now ask Bluebox about production

https://blog.bluebox.ai/your-coding-agent-can-now-ask-bluebox/
1•aboris26•6m ago•0 comments

Epic Games' new vibe-coded launcher is 46% faster than Steam

https://www.neowin.net/news/epic-wants-you-to-ditch-steam-for-its-new-faster-vibe-coded-games-lau...
1•bundie•8m ago•2 comments

Can healthcare pilots be as easy as A/B testing?- This SF clinic thinks so

https://pre-clinic-web-production.up.railway.app/index.html
1•aleh_man•10m ago•0 comments

Personalization Needs to Be Trained

https://innodata.com/personalization-training-problem-ai-agents/
1•dannyrosen•10m ago•0 comments

Suicide rates highest ever among middle-aged men

https://www.telegraph.co.uk/news/2026/10/13/suicide-rates-highest-ever-among-middle-aged-men/
2•ivewonyoung•12m ago•0 comments

Insane Take from Gemini 4 Argon: Hemingway Bridge

https://twitter.com/PromptLLM/status/2110370734254297222
2•bilsbie•14m ago•0 comments

Ultramarine Flash v1: scaling nonverifiable RL

https://www.paperinstruments.com/blog/ultramarine
1•anigbrowl•15m ago•0 comments

Show HN: PrivacyFixed – which companies a site contacts before cookie consent

https://privacyfixed.com
1•privacyfixed•16m ago•0 comments

How winning a Nobel Prize can give you delusions of grandeur

https://www.dw.com/en/nobelitis-how-winning-a-nobel-prize-can-give-you-delusions-of-grandeur/a-79...
3•jruohonen•18m ago•0 comments

Hatching (Heraldry)

https://en.wikipedia.org/wiki/Hatching_(heraldry)
2•theanonymousone•18m ago•0 comments

Terminal Control Sequences

https://control-codes.page/
1•paaloeye•19m ago•0 comments

CPUville: A wire-wrap Z80 computer project

http://cpuville.com/Projects/Z80-wire-wrap/Z80-wire-wrap-home.html
1•andrewstuart•20m ago•0 comments

I Electrified My Push Scooter with a Power Drill

https://eddieabbondanz.io/post/shop/drill-powered-scooter/
2•speckx•22m ago•1 comments

Gauteng to open criminal case against student who reported a security flaw

https://mybroadband.co.za/news/security/672097-gauteng-to-open-criminal-case-against-student-who-...
3•SkillBeatsAll•23m ago•1 comments

Each step of decoding a PNG (2022)

https://iter.ca/post/png/
1•jxmorris12•23m ago•0 comments

Show HN: Eevo – Consequential Decision Model

https://www.uprightproject.com/eevo/
1•ojalajuho•23m ago•0 comments

Production-grade RAG for complex tables with Docling ASTs and VLM repair

https://github.com/Souheil007/Rag_Full_Version
1•souheiIlbichiou•24m ago•0 comments

The Geometric Model of Maintenance

https://entropicthoughts.com/geometric-model-of-maintenance
1•crescit_eundo•25m ago•0 comments

Lessons You Learn Writing Shell Scripts by Hand

https://playtechnique.io/blog/lessons-you-learn-by-writing-scripts-by-hand.html
1•gwynforthewyn•27m ago•1 comments

SurrealDB Agent Memory: 77% on Beam, Alternative to Mem0 / Honcho / Cognee

https://surrealdb.com/agent-memory
6•tobiemh•27m ago•0 comments

If you believe buying conventional supermarket produce will be safe, think again

https://hatchardreport.com/forewarned-is-forearmed-if-you-believe-buying-conventional-supermarket...
1•speckx•27m ago•0 comments

EVs saved $20B globally in avoided oil costs between March and August 2026

https://electrek.co/2026/10/13/electric-cars-saved-20b-in-oil-and-the-us-is-falling-behind/
1•toomuchtodo•29m ago•1 comments

Why claims that Ukraine drone attack halted Russian bot traffic don't hold up

https://www.cbc.ca/news/world/yankex-russia-ukraine-bots-9.7379086
1•robtherobber•29m ago•0 comments

Did Ente Locker copy my code without attribution?

https://fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
1•birdculture•30m ago•0 comments

My Interop 2027 Rankings

https://meyerweb.com/eric/thoughts/2026/10/14/my-interop-2027-rankings/
1•jjgreen•32m ago•0 comments

How the Military Will Hack the Election

https://www.kenklippenstein.com/p/how-the-military-will-hack-the-election
92•pavel_lishin•32m ago•22 comments