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!

Integration of proteomic aging clocks in a phase 2a clinical trial

https://www.nature.com/articles/s41587-026-03286-y
1•spenvo•3m ago•0 comments

Secure temporary file sharing for AI agents and humans

https://github.com/aispace-sh/aispace-client
2•tengio•5m ago•0 comments

Show HN: Brw - better than Claude chrome

https://brw.donworks.co.uk
1•maxrev17•8m ago•0 comments

WeatherNext 3: Our most advanced global weather AI model

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/introducing-weathernext-3/
2•gmays•8m ago•0 comments

Landmark study reveals century-long U.S. suicide rate cycles among youth

https://attheu.utah.edu/health-medicine/landmark-study-reveals-century-long-cycles-in-u-s-suicide...
1•littlexsparkee•11m ago•1 comments

Astrophyzix Integrates NASA API's to Build Advanced Public Tracker Tool

https://www.astrophyzix.com/p/live-asteroid-tracker-v9.html
1•UniverseToday•12m ago•0 comments

Saturday Evening Post Will Stop Printing After 205 Years

https://www.nytimes.com/2026/09/02/business/media/saturday-evening-post-stop-printing.html
2•ripe•12m ago•1 comments

The Full-Source Bootstrap: Building from source all the way down

https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-building-from-source-all-the-way-down/
1•embedding-shape•13m ago•0 comments

Premium Shop Helpfull

https://www.ebay.com/usr/ilyasseng0
1•ilaysyou•14m ago•1 comments

What are you building? Paste a domain, prove you own it, get listed

https://www.whatareyoubuilding.app/
1•kunalpanchal•16m ago•0 comments

Have You Ever Seen the Rain?

https://christopherren.substack.com/p/have-you-ever-seen-the-rain
2•lookatdata•24m ago•1 comments

Open-source 3D anatomy explorer: 2,234 selectable BodyParts3D meshes

https://github.com/ashemag/human-atlas
1•metrofun•24m ago•0 comments

Do you ever struggle to find another programmer to work on a project/pair with?

1•rizsyed1•26m ago•0 comments

2025 Dodge Charger EV: Regular Car Reviews [video]

https://www.youtube.com/watch?v=0jZVP_ZA3ZY
1•fortran77•26m ago•0 comments

TALA Is Open-Source

https://d2lang.com/blog/tala-is-open-source/
4•alixanderwang•27m ago•1 comments

Show HN: Explore the fun side of the personal web

https://straw.page/explore
2•chickenman•30m ago•0 comments

Show HN: Archprint, infer architecture lint rules from your repo's import graph

https://github.com/Tommkruix/archprint
1•Tommkruix123•31m ago•0 comments

Unauthenticated RCE in Telerik UI

https://tantosec.com/blog/2026/09/telerik-padding-oracle-to-shell/
1•dwbzn•31m ago•0 comments

Show HN: Browse 27 years of movie ticket stubs in ThreeJS

1•zebomon•32m ago•0 comments

I kept working on Windows Notepad for Mac

https://github.com/Arijit-gotsomecodes/NotePadMac
1•fxxai•34m ago•1 comments

The Impacts of Guaranteed Basic Income on Crime Perpetration and Victimization

https://www.nber.org/papers/w34547
2•stinkbeetle•34m ago•0 comments

Show HN: WordFLIP, a Wordle with a secret win condition

https://meghanto.me/wordflip/
1•meghanto•35m ago•0 comments

ASCII smuggling crosses over from AI prompt injection to phishing evasion

https://www.microsoft.com/en-us/security/blog/2026/09/03/ascii-smuggling-crosses-over-from-ai-pro...
1•fourfire•37m ago•0 comments

Hermes Kanban – Multi-Agent Profile Collaboration

https://hermes-agent.nousresearch.com/docs/user-guide/features/kanban
1•fallinditch•41m ago•1 comments

Show HN: HP Jornada 545 Emulator

https://lapocket.neocities.org/
2•eafer•43m ago•0 comments

Show HN: Raven – encrypted messages hidden inside ordinary text

https://sendraven.ink
1•OAraLabs•43m ago•0 comments

Meta's AI Crawler Crashing My DB, and What I Did About It

https://usero.io/blog/meta-ai-crawler-crashing-my-db
2•willsmith72•44m ago•0 comments

CERN's migration path from CentOS Linux to Debian

https://lwn.net/SubscriberLink/1092512/45bba78661c89e5a/
4•chmaynard•46m ago•0 comments

July in Servo

https://servo.org/blog/2026/08/31/july-in-servo/
3•caminanteblanco•53m ago•0 comments

Talentblender.com – The Future's Marketplace

https://talentblender.com/register
1•seraph2000•55m ago•0 comments