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!

Now That's What I Call Technical Debt

https://nesbitt.io/2026/10/12/now-thats-what-i-call-technical-debt.html
1•speckx•13s ago•0 comments

Lanterns in the Void: Science and Discovery

https://brianschrader.com/archive/lanterns-in-the-void-science-and-discovery/
1•sonicrocketman•37s ago•0 comments

Harness Learning Enables Generalizable Test-Time Adaptation

https://arxiv.org/abs/2609.35738
1•7777777phil•2m ago•0 comments

Show HN: Automated Types for Python

https://github.com/yiheinchai/trickle
1•chaiyihein•3m ago•0 comments

Is Time Travel Legal? (2016)

https://law.stackexchange.com/questions/8641/is-time-travel-legal
1•Vaslo•3m ago•0 comments

I Redesigned VLC After 25 Years [video]

https://www.youtube.com/watch?v=ERFeOgqk324
1•alexrsagen•4m ago•1 comments

The Hemispherical Quantum Selector

https://digitalmarketingco.org/white-papers/hemispherical-quantum-selector
1•marketingagency•4m ago•0 comments

Thinking Will Become a Hobby

https://www.spinellis.gr/blog/20261008/?li261008
1•pranitha_m•5m ago•0 comments

Show HN: Interactive Museum of Windows Player Skins

https://wmp-skin-museum.mitpit.com/
1•MitPitt•5m ago•0 comments

I scored all 84 Dallas-area cities on 288 data points

https://realust.com/best-places-to-live-north-texas/
1•viahaynes•7m ago•0 comments

What's Left for Us?

https://rodolphoarruda.pro.br/whats-left-for-us/
2•speckx•9m ago•0 comments

Self-Serve Drill Bits Are a CIAM Use Case

https://ciamweekly.substack.com/p/self-serve-drill-bits-are-a-ciam
1•mooreds•10m ago•0 comments

AI spots nearly 19,000 road offences, in 2 week trial

https://www.bbc.com/news/articles/c39wzpegqgd9o
1•kitbrennan•10m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
1•mooreds•10m ago•0 comments

Commercialization of laser fusion energy [pdf]

https://xcimer.energy/wp-content/uploads/2026/04/XEC-20260224-Commercialization-of-LFE-Whtppr-SHA...
1•Eridanus2•10m ago•0 comments

Joseph Gordon-Levitt Has Some Things to Say About A.I

https://www.nytimes.com/2026/10/10/opinion/joseph-gordon-levitt-united-nations-ai.html
1•mooreds•10m ago•0 comments

Muse Wonder

https://research.meta.ai/blog/muse-wonder
7•meetpateltech•11m ago•0 comments

Show HN: Authrot – extract your story elements out of chapters and graph them

https://authrot.app
1•JoeOfTexas•12m ago•0 comments

Make Big Brother Bad for Big Business

https://www.theatlantic.com/newsletters/2026/10/flock-surveiilance-cameras-regulation/688971/
1•paulpauper•12m ago•0 comments

Show HN: Cohesive – one button for when your thumb opens the feed on its own

https://apps.apple.com/us/app/cohesive-digital-detox-nope/id6742073987
1•carbaj03•12m ago•0 comments

The Disappointing Death of Deno: What Happened, Why, & What's Next

https://brettcodes.com/the-disappointing-death-of-deno/
1•brettcodes•12m ago•0 comments

Casio F-91W using Statecharts

https://github.com/dundalek/casio-f91w-fsm
1•austinallegro•12m ago•0 comments

Hermes vs. OpenClaw: Which AI agent I kept after running both

https://www.dhawalshah.net/article/hermes-vs-openclaw/
3•djshah•13m ago•0 comments

New Math from OpenAI

https://thezvi.substack.com/p/new-math-from-openai
2•paulpauper•13m ago•0 comments

Picks and Shovels: Game about AI industry built by AI

https://blog.fsck.com/2026/10/11/picks-and-shovels/
1•CharlesW•14m ago•0 comments

Michael Woodford, Nobel Laureate

https://marginalrevolution.com/marginalrevolution/2026/10/michael-woodford-nobel-laureate.html
2•paulpauper•15m ago•0 comments

Android is the best and worst thing about Googlebooks

https://www.theverge.com/tech/1008750/googlebooks-android-best-worst-notifications-app-cast-file-...
1•thm•17m ago•0 comments

Poverty Changes Your Mind-Set (2018)

https://www.chicagobooth.edu/review/how-poverty-changes-your-mind-set
2•chistev•17m ago•0 comments

Program Performance Degrades with Usage

https://www.dotnetperls.com/2026_10_12_program-performance-degrades
2•speckx•17m ago•0 comments

Why Language Models Are So Hard to Understand

https://www.quantamagazine.org/why-language-models-are-so-hard-to-understand-20250430/
3•Bluestein•20m ago•0 comments