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!

Keep Using Your Intel Mac in 2025?

https://aslihan.live/posts/why-intel-mac-in2025/
1•aslihana•55s ago•0 comments

Perpetual underdog AMD nips at Nvidia's heels as it joins the $1T club

https://www.theregister.com/systems/2026/09/21/perpetual-underdog-amd-nips-at-nvidias-heels-as-it...
2•mdp2021•3m ago•0 comments

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
1•networked•4m ago•0 comments

Daily Geography Adventures

https://maptap.gg/
1•yitchelle•6m ago•0 comments

Mirror Node Reconnaissance

https://sgaillabs.com
1•sgaillabs•9m ago•0 comments

How AI Creates a Capability Mirage

https://sloanreview.mit.edu/article/how-ai-creates-a-capability-mirage/
1•ventana•9m ago•1 comments

PyTorch Written in C

https://github.com/thevoxium/bare-lm
1•docuru•10m ago•0 comments

Maki, the efficient coder

https://maki.sh/
1•abc42•11m ago•1 comments

Orchestrat

https://orchestrat.dev
1•armanghev•14m ago•0 comments

A TypeScript Server Just Outran Rust's Hyper

https://geastack.com/blog-typescript-server-outran-hyper
1•k3030•17m ago•0 comments

Rust code faster than SOTA libraries by asking agents to make the code faster

https://minimaxir.com/2026/09/agentic-iteration/
2•sdoering•21m ago•0 comments

Pedagogy in the Times of AI [video]

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

Firmware Freedom

https://playtaurus.com/blog/firmware-freedom
4•arbayi•23m ago•0 comments

Lex Friedman Brings Back Strategery

https://daringfireball.net/linked/2026/09/21/strategery-friedman
1•Tomte•27m ago•0 comments

How HN: ScribeToAny – Free Audio and Video to Text Transcription

https://scribetoany.com/
1•hypercube67•29m ago•0 comments

Flomo: A two-person notes app from China that bought a product from ByteDance

https://www.sinosphere.app/p/flomo-two-people-one-text-box-and
1•Nyloc1•33m ago•0 comments

Why AI resembles a charismatic religious leader

https://theconversation.com/why-ai-resembles-a-charismatic-religious-leader-291831
6•billybuckwheat•34m ago•1 comments

I made ByeBlocked: hide blocked users

https://github.com/8ug8ird/ByeBlocked
1•8ug8irdchoom•35m ago•0 comments

EveryCli: Natural-language CLI assistant that runs 100% locally (Rust and ONNX)

https://github.com/HE11032006/EveryCli
2•Euloge•36m ago•0 comments

Apple Music to open concert venue in Battersea Power Station

https://www.bbc.com/news/articles/c607l2j2rj8ro
22•dabinat•40m ago•2 comments

Hacking a BYD [video]

https://www.youtube.com/watch?v=_TZFcyzGEiY
2•testrun•40m ago•1 comments

Live-Cell Imaging and the Limits of Structural Biology – Eric Betzig [video]

https://www.youtube.com/watch?v=RUB37QhWNkw
1•pillars•43m ago•0 comments

Microsoft, Google took down $66M marketplace selling VMs with pirated software

https://www.techradar.com/pro/security/microsoft-google-took-down-usd66-million-cybercrime-market...
2•theanonymousone•43m ago•0 comments

Agent Disco at the Edge

https://edgedisco.com/
1•nickjam•44m ago•0 comments

The secret Cold War bioweapons test that exposed millions in the Bay Area

https://www.sfgate.com/bayarea/article/cold-war-bioweapons-test-22425855.php
3•bcaulfield•44m ago•0 comments

Apache Fory JSON: High-Performance JSON Serialization for Kotlin

https://fory.apache.org/blog/fory_kotlin_json/
2•chaokunyang•46m ago•1 comments

Using Apache Fory JSON with Spring MVC, WebFlux, and Spring Boot

https://fory.apache.org/blog/fory_json_spring/
1•chaokunyang•47m ago•0 comments

Jev-powered writing without spaces

https://levmiseri.com/nospace/
1•levmiseri•49m ago•0 comments

PHP webserver that creates 1-click Redbean-like executables / zip files

https://github.com/Qbix/webserver
1•EGreg•56m ago•0 comments

JP Morgan CEO says hyperscaler AI spending could hit $1T in 2027

https://www.cnbc.com/2026/09/21/jamie-dimon-jpm-jpmorgan-indiaconference.html
2•pelcg•57m ago•0 comments