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!

Where the Story Starts Working Better Than the System

https://medium.com/@gurvinder372/article-29-where-the-story-starts-working-better-than-the-system...
1•gps372•34s ago•0 comments

Copilot.travel – Plan the drive. We'll do the sums

https://copilot.travel
1•altilunium•1m ago•0 comments

Speck – Making small local LLMs more capable with cognitive architecture

https://github.com/doctarock/Speck
1•OmegaACA•1m ago•0 comments

My New Course at UT Austin: AI Alignment Theory

https://scottaaronson.blog/?p=10125
1•Luc•1m ago•0 comments

Technotitlan, 1519 – Experience Aztec's capital in 3D

https://tontinton.com/tenochtitlan/
1•tontinton•6m ago•0 comments

A comprehensive comparison of the main OSS semantic layers

https://motley.ai/blog-posts/four-open-source-semantic-layers-54-capabilities/
1•yannranchere•6m ago•0 comments

iPhone Duo display confirmed to peel off on purpose

https://www.phonearena.com/news/iphone-duo-display-confirmed-to-peel-off-on-purpose_id183766
1•cisc•6m ago•0 comments

Let's make /photo pages

https://robertbirming.com/make-photo-pages/
1•flobosg•7m ago•0 comments

A giant list of smart home discounts for prime big deal days (October 6-7,2026)

https://smarthomescene.com/news/best-smart-home-deals-for-amazon-prime-big-deal-days/
2•kiselio•8m ago•1 comments

Show HN: Niquests – Concurrent HTTP in Python, no async or threading code

https://niquests.readthedocs.io/en/latest/user/quickstart.html#lazy-responses-and-manual-scheduling
1•mesahm•9m ago•0 comments

Over My Dead Pencil

https://world.hey.com/dhh/over-my-dead-pencil-fb0f3647
1•Ch00k•11m ago•0 comments

Show HN: Buscalid – Paste your site, get a real company that fits as a customer

https://buscalid.com/
1•davidnez•13m ago•1 comments

Rill: A browser for using Claude Code and Codex from any page

https://rill.love/
1•codelion•14m ago•0 comments

OpenBSD: Vmm(4)/vmd(8) gain support for multi-processor VMs

https://undeadly.org/cgi?action=article;sid=20260927115632
1•CTOSian•15m ago•0 comments

DOOM, simulated and rendered inside the Firebird SQL database using WASM

https://github.com/mariuz/firebird-doom
1•mariuz•17m ago•0 comments

The curious case of the bear in the Bayeux tapestry

https://theconversation.com/the-curious-case-of-the-bear-in-the-bayeux-tapestry-what-it-tells-us-...
1•zeristor•19m ago•0 comments

Apply to X Combinator

https://xcombinator.com/abc
1•wapiou•20m ago•0 comments

Vacadu – plan a whole trip day by day on a map, by hand or with AI

https://vacadu.com
1•amirpupko•20m ago•0 comments

Showcase your apps with new assets on the App Store

https://developer.apple.com/news/?id=ljpl7kyn
1•skreep•23m ago•1 comments

Hosting Without Hyperscalers

https://ruuda.nl/2026/hosting-without-hyperscalers
1•ruuda•26m ago•0 comments

One Shot Game Engine

https://www.reddit.com/r/accelerate/comments/1wxwz3c/can_ai_make_a_game_engine_yes/
1•cyh555•26m ago•0 comments

We built a job queue on an LSM tree. This is what we learnt

https://zizq.io/blog/what-we-learnt-building-a-job-queue-on-an-lsm-tree
1•d11wtq•26m ago•0 comments

Dynamo, DynamoDB and Aurora DSQL (2025)

https://brooker.co.za/blog/2025/08/15/dynamo-dynamodb-dsql.html
1•teleforce•29m ago•0 comments

Germany: Ex-spy chief arrested for espionage

https://www.dw.com/en/germany-ex-spy-chief-arrested-for-espionage-reports/a-79560278
4•Tomte•30m ago•0 comments

European Spend Report 2026

https://www.spendesk.com/blog/european-spend-insights-2026/
1•siroj•30m ago•0 comments

Agentic Learning Without Retention

https://zenodo.org/records/22706328
1•shoman3003•31m ago•0 comments

Astronomers catch a star slowly snacking on a brown dwarf, 300 light years away

https://news.mit.edu/2026/astronomers-catch-star-slowly-snacking-on-brown-dwarf-1005
2•WithinReason•33m ago•0 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
2•ingve•43m ago•0 comments

SatBleed: Security of Commoditized Communication Modules in Satellites

https://arxiv.org/abs/2610.06258
2•sbulaev•44m ago•0 comments

Two Types of AI Agents

https://matthiasplappert.com/blog/2026/two-agent-types/
3•mplappert•46m ago•0 comments