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!

System Design – How SSDs Work Internally

https://jzleetcode.github.io/posts/design-how-ssds-work-internally/
1•ankitg12•40s ago•0 comments

What I worry about with AI – Code Capsule

https://codecapsule.com/2026/09/03/what-i-worry-about-with-ai/
1•ankitg12•1m ago•0 comments

The College Decision Just Got Harder

https://www.theatlantic.com/ideas/2026/10/young-people-job-market-choice/688845/
1•littlexsparkee•1m ago•0 comments

Phylogeny, ontogeny and epigenesis: 3 sources of biological inspiration (1996)

https://link.springer.com/chapter/10.1007/3-540-63173-9_37
1•mellosouls•3m ago•0 comments

Without search, even the best AI models get 1 in 4 answers wrong

https://twitter.com/randal_olson/status/2105298222562582591
2•nreece•4m ago•0 comments

Extension to show how much of your email was typed

https://dobryn.in/typed/
1•ddbrx•14m ago•2 comments

Do high school students have to work harder nowadays?

https://statmodeling.stat.columbia.edu/2026/09/21/do-high-school-students-have-to-work-harder-now...
1•luu•19m ago•0 comments

Taming Coding Agents Using Chemical Engineering Principles

https://blog-konecny.xyz/blog/2026/taming-coding-agents-using-chemical-engineering-principles/
1•3679225c-b36e-4•19m ago•0 comments

Gufo-Qwen3.6-35B-A3B-Q6dense – 3095tok/s prefill; 190 tok/s decode on Strix Halo

https://github.com/NinjaPear/gufo-Qwen3.6-35B-A3B-Q6dense
1•nubela•26m ago•0 comments

The Server Side Cloud Swift SDK

https://cloud.google.com/blog/topics/developers-practitioners/introducing-the-server-side-cloud-s...
1•ianrahman•30m ago•0 comments

Codex Originals

https://openai.com/codex-originals/
1•MehrdadKhnzd•32m ago•0 comments

Why HAL 9000 Feared Death (and Real AIs Don't)

https://maartenboudry.substack.com/p/why-hal-9000-feared-death-and-real
1•mpweiher•37m ago•0 comments

The characters of plastics (2024)

https://yarchive.net/blog/plastics/
3•thelastgallon•39m ago•0 comments

Hackers Breached Propulsion System of US-Bound Oil Tanker

https://www.bloomberg.com/news/articles/2026-10-02/hackers-breached-propulsion-system-of-us-bound...
4•sbulaev•46m ago•0 comments

Reversal of It’s Meaning: Sappho Fragments (2021)

https://vcresearch.berkeley.edu/news/what-crocodile-mummies-can-tell-us-about-everyday-life-ancie...
1•hwlan•54m ago•0 comments

New Global Vision is a digital video archive project from 2002

https://archive.org/details/ngvision?tab=about
1•riffraff•55m ago•0 comments

Scalable decision-making for games of imperfect information

https://www.nature.com/articles/s41586-026-11036-y
1•jonbaer•55m ago•0 comments

Could this be Microsoft's moment?

https://sjg.io/writing/could-this-finally-be-microsofts-moment/
1•simonjgreen•1h ago•0 comments

Memory-Safe WebP Decoding

https://halide.cx/blog/wpd/
3•computerbuster•1h ago•1 comments

Working the Roofline for DeepSeek-V3 on Hopper

https://deepseek-v3.ezyang.com/studies/03-roofline.html
1•matt_d•1h ago•0 comments

Faster Local LLMs with iPhone Offloading

https://github.com/StayLameBro/backburner
1•oezi•1h ago•1 comments

Used Processor Leads to Game Ban

https://hardware.slashdot.org/story/26/10/02/1750242/used-processor-leads-to-game-ban
3•gbil•1h ago•1 comments

IINA (the media player) 1.5.0 is Released

https://iina.io/blog/150-release/
1•uonr•1h ago•0 comments

Haunted by the Ghosts of Materialism

https://blog.coredump.cx/p/haunted-by-the-ghosts-of-materialism
3•surprisetalk•1h ago•0 comments

Show HN: Rowan, an open-source SAST scanner for AI apps (code, models, MCP)"

https://github.com/hedgerow-dev/rowan
3•hedgerow-dev•1h ago•0 comments

DataInventor – an open-source replication of Adaption Lab's Invent a Dataset

https://huggingface.co/spaces/LocalLLaMA/data-inventor
1•codelion•1h ago•0 comments

LiberNT – fork of ReactOS focused on ARM64 and Windows 11

https://libernt.com
3•masijo•1h ago•0 comments

How good are we at spotting AI images?

https://slop-sense.labtoagi.com/
2•hckr78•1h ago•1 comments

Will America Spend 9% of Its GDP on AI? The Industry Is Counting on It

https://www.wsj.com/tech/ai/will-america-spend-9-of-its-gdp-on-ai-the-industry-is-counting-on-it-...
3•geox•1h ago•1 comments

Geocities 1996/97 – the good old days

https://claude.ai/artifact/ASgJADXmxzvXCQa47KaKzH
1•hrbrt•1h ago•1 comments