frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•6mo 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!

A brief natural history of misinformation

https://royalsocietypublishing.org/rsif/article/22/233/20250161/364004/A-brief-natural-history-of...
1•geox•28s ago•0 comments

Enabling small language models to solve complex reasoning tasks

https://news.mit.edu/2025/enabling-small-language-models-solve-complex-reasoning-tasks-1212
1•LiveTheDream•1m ago•0 comments

Benchmarking LLMs on whether they can play FizzBuzz

https://github.com/venkatasg/fizzbuzz-llm
1•_venkatasg•2m ago•0 comments

Why Twilio Segment Moved from Microservices Back to a Monolith

https://www.twilio.com/en-us/blog/developers/best-practices/goodbye-microservices
1•birdculture•3m ago•0 comments

Faster Double-to-String Conversion

https://vitaut.net/posts/2025/faster-dtoa/
1•todsacerdoti•9m ago•0 comments

JD Vance: "You might try hiring Americans."

https://twitter.com/JDVance/status/1999880386898252030
4•SilverElfin•11m ago•5 comments

I Fed 24 Years of My Blog Posts to a Markov Model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
2•zdw•14m ago•0 comments

The Rise of Computer Games, Part I: Adventure

https://technicshistory.com/2025/12/13/the-rise-of-computer-games-part-i-adventure/
1•cfmcdonald•15m ago•0 comments

Texas Space Boom Requires Lots of Lawyers in Boost for Firms

https://news.bloomberglaw.com/business-and-practice/texas-space-boom-requires-lots-of-lawyers-in-...
1•mooreds•19m ago•0 comments

Microsoft Excel Conquered Corporate America

https://www.bloomberg.com/news/articles/2025-12-04/how-microsoft-excel-is-navigating-ai-new-compe...
1•mooreds•20m ago•1 comments

Ask HN: Do you write a technical doc first or just vibe code?

1•brihati•20m ago•0 comments

Advanced Spray Drone and Precision AG Technology

https://agrispraydrones.com
1•mooreds•20m ago•0 comments

Core War

https://en.wikipedia.org/wiki/Core_War
2•simonebrunozzi•23m ago•0 comments

Revealing Traces in Printouts and Scans

https://dys2p.com/en/2022-09-print-scan-traces.html
1•cryzinger•23m ago•0 comments

How to position your shower curtain to reduce mold risk

https://www.washingtonpost.com/wellness/2025/12/02/shower-curtain-humidity-mold/
1•bookofjoe•24m ago•1 comments

People Are Taking This Unapproved New Weight-Loss Drug [Retatrutide]

https://www.wired.com/story/people-are-already-taking-this-unapproved-new-weight-loss-drug-triple...
2•toomuchtodo•26m ago•1 comments

GRIN2A null variants increase early-onset schizophrenia and other disorders

https://www.nature.com/articles/s41380-025-03279-4
1•wjb3•27m ago•0 comments

Ask HN: How do you handle release notes for multiple audiences?

11•glidr_dev•29m ago•6 comments

What is a build system, anyway?

https://jyn.dev/what-is-a-build-system-anyway/
3•todsacerdoti•35m ago•0 comments

More than 9M US borrowers miss student loan payments as delinquencies rise

https://www.ft.com/content/b6ca2ab2-2d3a-40d7-9a61-12a6fda0625d
4•mikhael•37m ago•2 comments

The Drosophila of Decision Science

https://jtpeterson.substack.com/p/the-drosophila-of-decision-science
1•surprisetalk•39m ago•0 comments

We Lost Something: 1970s REPLs Were Better Than Modern Development Environments

https://programmingsimplicity.substack.com/p/we-lost-something-1970s-repls-were
2•surprisetalk•39m ago•0 comments

Energy Predictions 2025

https://caseyhandmer.wordpress.com/2025/12/08/energy-predictions-2025/
2•surprisetalk•39m ago•0 comments

A Multimedia Sketchpad

https://beyondloom.com/blog/sketchpad.html
1•surprisetalk•39m ago•0 comments

Unofficial Advent of Code 2025 Survey Results (with "Emotions" Added)

https://jeroenheijmans.github.io/advent-of-code-surveys/?y=2025
1•jeroenheijmans•40m ago•1 comments

Metagenomic profiling of microbial communities from aircraft filters, face masks

https://link.springer.com/article/10.1186/s40168-025-02276-7
1•PaulHoule•44m ago•0 comments

AI: A Dedicated Fact-Failing Machine, Or, yet Another Reason Not to Trust It

https://whatever.scalzi.com/2025/12/13/ai-a-dedicated-fact-failing-machine-or-yet-another-reason-...
2•calcifer•44m ago•0 comments

ChatGPT – GuardPrompt – PII

https://github.com/guardprompt/GuardPrompt
1•vlkc•47m ago•1 comments

Validate your software architecture before writing code

https://www.simuladordearquitetura.com.br/
1•alexsandronl•47m ago•1 comments

VPN location claims don't match real traffic exits

https://ipinfo.io/blog/vpn-location-mismatch-report
7•mmaia•48m ago•1 comments