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!

CLI for converting JSON logs to human-readable format

https://github.com/poonesnerfect/jlf
1•ankitg12•3m ago•0 comments

Sergey Brin is cooking up Google's AI destiny

https://www.businessinsider.com/sergey-brin-google-gemini-ai-microkitchen-2026-9
1•theanonymousone•4m ago•0 comments

Reverse engineering my e-scooter and rewriting the firmware in Rust

https://bensimms.moe/reverse-engineering-scooter/
1•vinhnx•6m ago•0 comments

Scammers demand ransoms from Instagram users over fake copyright claims

https://www.bbc.com/news/articles/cjw54ww73qjo
1•josephcsible•7m ago•0 comments

The "rnull" Rust block driver

https://lwn.net/Articles/1090378/
1•pykello•7m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
1•vinhnx•9m ago•0 comments

A Decade of Rustls

https://rustls.dev/blog/2026-09-08-a-decade-of-rustls/
1•vinhnx•11m ago•0 comments

Garnet: A Next-Generation Cache-Store for Accelerating Applications and Services [pdf]

https://www.vldb.org/pvldb/vol19/p224-chandramouli.pdf
1•k_138z•11m ago•1 comments

Show HN: Oz – a Vim-style terminal editor written in Zig

https://github.com/niT-Tin/oz
1•niT-Tin•12m ago•0 comments

CUDA Rust: Two Tracks for Writing GPU Kernels

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
1•xiaoyu2006•12m ago•0 comments

NASA's New Experimental Jet Promises Supersonic Flight Without the Sonic Booms

https://nautil.us/nasas-new-experimental-jet-promises-supersonic-flight-without-the-sonic-booms-1...
1•dustfinger•13m ago•0 comments

Trump promises $5k payout to U.S. adults if Republicans win election

https://www.reuters.com/world/us/trump-promises-5000-payout-us-adults-if-republicans-win-election...
2•nateb2022•14m ago•0 comments

Fnmatch-ng: POSIX fnmatch in one Zig file, 20,794/20,794 vs. musl, zero heap

https://github.com/logicpl4gue/fnmatch-ng
1•logicpl4gue•15m ago•0 comments

The Story of VS Code [video]

https://www.youtube.com/watch?v=kHL3XzjpT5w
1•soheilpro•21m ago•0 comments

The Politics of Superintelligence (2025)

https://www.noemamag.com/the-politics-of-superintelligence/
2•the-mitr•29m ago•0 comments

Copying explains the collective behavior of AI agents in the wild

https://arxiv.org/abs/2609.09150
2•sbulaev•31m ago•0 comments

Suddenly I'm a Go Developer

https://www.infoworld.com/article/4219382/suddenly-im-a-go-developer.html
4•theanonymousone•31m ago•0 comments

Early Islam and the Birth of Capitalism

https://islamiceconomicsproject.com/early-islam-and-the-birth-of-capitalism/
2•teleforce•37m ago•0 comments

Andrew Tulloch has left Meta and joined Anthropic

https://twitter.com/ArfurGrok/status/2097862553552740846
1•bobrenjc93•41m ago•0 comments

The Prophet Mohammed's surprising life as a businessman [video]

https://www.youtube.com/watch?v=NkRHPEueW7Q
2•teleforce•42m ago•0 comments

Looped Transformers as Programmable Computers (2023)

https://arxiv.org/abs/2301.13196
3•peter_d_sherman•51m ago•1 comments

WSJ Why the Largest Megaproject Collapsed - NEOM, Saudi Arabia[video]

https://www.youtube.com/watch?v=GbB3vFfiaVU
1•thelastgallon•53m ago•0 comments

Open source FPGA: the next frontier is silicon

https://www.reddit.com/r/FPGA/comments/1wbrrgi/open_source_fpga_the_next_frontier_is_silicon/
2•random__duck•59m ago•1 comments

FlavorDB: A resource to explore flavor molecules

https://cosylab.iiitd.edu.in/flavordb/
2•thunderbong•59m ago•0 comments

AI Made Delegation Easy: Structure Is Still the Skill

https://syntheticauth.ai/posts/ai-made-delegation-easy-structure-is-still-the-skill
1•zerolayers•1h ago•0 comments

Kepler Compute- New memory startup for AI

https://keplercompute.com
1•osnium123•1h ago•1 comments

Siri Recap: AI Memory with Apple Watch

https://www.apple.com/hk/en/apple-watch-series-12/
1•chepy•1h ago•0 comments

Carmichael numbers are quickly findable (Lean-verified) [pdf]

https://jdb19937.github.io/carmichael/carmichael.pdf
1•jdb1729•1h ago•1 comments

Show HN: They chose your competitor. Find out why

https://drop.space
3•zhangchen0411•1h ago•0 comments

Experimental Evaluation Methodology for the Era of No Steady Performance [pdf]

https://www.d3s.mff.cuni.cz/files/publications/antoch_experimental_2026.pdf
3•luu•1h ago•0 comments