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!

Show HN: Interactive history of Earth and human civilization

https://earth.ethanplus.ai/
1•freakynit•2m ago•0 comments

Apple Watch can grab snippets of conversation without both speakers' consent

https://www.theregister.com/security/2026/09/10/watch-out-apple-timepiece-can-grab-snippets-of-co...
1•signa11•4m ago•0 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
1•signa11•7m ago•0 comments

Ask HN: What Can We Do?

2•silexia•8m ago•1 comments

Fugu Max and Fugu Ultra v2: Orchestrating the Pareto Frontier

https://sakana.ai/fugu-max-release/
4•hardmaru•8m ago•0 comments

Swiftime tracking you can talk to, with an API for AI agents

https://swiftime.ai/
1•tomazaria•14m ago•0 comments

The Branch and the Wish – On mathematics, machines and what the proof never held

https://nisheethvishnoi.substack.com/p/the-branch-and-the-wish
1•vismit2000•18m ago•0 comments

A jank percentage doesn't say where the frame went

https://github.com/timkrest/FrameHUD/blob/main/docs/article-frame-phases.md
1•timkrest•19m ago•0 comments

The Telescope NASA Launched Sunday Was Built to Look at You

https://galratner.substack.com/p/the-telescope-nasa-launched-sunday
1•blartpaul•22m ago•0 comments

The Gemini app is now available for Windows

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-windows/
3•quysala12•26m ago•1 comments

Thinking with Looped Flows

https://arxiv.org/abs/2609.11801
1•E-Reverance•28m ago•0 comments

Metamorphosis: Transformations in the Early Modern Flap Book (19th Century)

https://publicdomainreview.org/collection/metamorphosis-early-modern-flap-book/
1•benbreen•28m ago•0 comments

One company that steals accuses another company that steals [pdf]

https://www-cdn.anthropic.com/e50be2e51e7695dc4b1366a37a245a597377d3b5/Anthropic-Detecting-and-co...
2•iamsyr•29m ago•1 comments

Show HN: Hekla, an event sourcing runtime with its own language

https://hekla.tqwewe.com/
1•tqwewe•35m ago•0 comments

DeepSeek Harness

https://www.deepseek.com/harness/en/
2•dotmanish•38m ago•0 comments

It Breaks a Village: Bevy's 6th Birthday

https://blog.fallible.net/it-breaks-a-village/
2•RohanAdwankar•39m ago•1 comments

GPT Image 2.5 for Consulting Presentations: Faster Slides and Smarter Control

https://medium.com/@2315610426/gpt-image-2-5-f36976cf7632
2•chenxi030826•41m ago•0 comments

The Bayeux Tapestry: Woven by the Victors

https://www.historytoday.com/archive/out-margins/bayeux-tapestry-woven-victors
2•prismatic•42m ago•0 comments

How to Make a PwC-Style PowerPoint with AI (2): 5 More Consulting Frameworks

https://medium.com/@2315610426/how-to-make-a-pwc-style-powerpoint-with-ai-2-5-more-consulting-fra...
1•chenxi030826•42m ago•1 comments

Trial Testing Out-of-Body Experiences Produces Unexpected Twist

https://www.uvahealth.com/news/trial-testing-out-of-body-experiences-yields-unexpected-twist
1•geox•48m ago•0 comments

Dioxus Labs is joining Cognition

https://dioxuslabs.com/blog/joining-cognition/
2•antimora•49m ago•0 comments

9/11 in Realtime (synced globally for 9/11)

https://911realtime.org
2•robbiebyrd•49m ago•1 comments

Günther Anders, the Philosopher at the End of the World

https://www.compactmag.com/article/gunther-anders-the-philosopher-at-the-end-of-the-world/
2•Caiero•50m ago•0 comments

Outflow connects directly to inverters, mints solar electricity records

1•OutflowLabsInc•52m ago•1 comments

Show HN: CertArena – Free AI certification simulator (zero deps, native Node 24)

https://aicertarena.com/
1•pennylaw946•58m ago•0 comments

Reconstructing Concurrency Invariants Through Medieval East Asian Logic

https://oborona.zip/post/a-middle-period-engine-reconstructing-concurrency-invariants-through-eas...
1•gg582•59m ago•0 comments

LiteLLM Alternatives?

1•leanroute_ai•1h ago•1 comments

AI Is Killing the App Economy and Building Its Successor

https://www.bloomberg.com/opinion/articles/2026-09-10/ai-is-killing-the-app-economy-and-building-...
1•thm•1h ago•0 comments

AI Thumbnail Generator for YouTube – Try Free – Thumbrix

https://thumbrix.com/
1•chaojie26•1h ago•0 comments

Solving Alignment with a Prompt

https://www.echohive.ai/can-an-ai-keep-an-agreement
1•echohive42•1h ago•0 comments