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!

Vibe coding is turning the music gear world upside down

https://www.theverge.com/gadgets/1013493/vibe-coding-ai-music-gear-hacking-custom-firmware
1•saikatsg•5m ago•0 comments

Zen Browser is the Arc replacement I was looking for

https://www.theverge.com/tech/1018275/zen-browser-arc-replacement
1•saikatsg•6m ago•0 comments

Decompressible Oracle Generators

https://gertlabs.com/blog/decompressible-oracle-generators
2•gertlabs•9m ago•0 comments

There's never any reason for a committee to set rates

https://gist.github.com/mxfactorial/d9451142ad2037d82d926e5c59d9a06d
1•mxfactorial•17m ago•0 comments

Just Dashboard open-source dashboard for managing your VPS

https://github.com/JustDashboard/Just-Dashboard
1•Wayy10•22m ago•0 comments

A New India Is Here, and It Wants to Make Things

https://www.corememory.com/p/a-new-india-is-here
1•dsr12•28m ago•0 comments

SS United States to be sunk as largest artificial reef

https://divemagazine.com/scuba-diving-news/ss-united-states-to-be-sunk-as-worlds-largest-artifici...
2•geox•30m ago•2 comments

Local-first video production workspace for people and AI agents

https://github.com/TriHerm/cutmark
3•jev-yeb•32m ago•0 comments

Failure Modes

https://www.autodidacts.io/failure-modes/
5•Curiositry•39m ago•0 comments

RSS Vault – a curated directory of RSS feeds

https://rssvault.org
2•Curiositry•39m ago•0 comments

Exploring Thurston geometries

https://www.3-dimensional.space/
1•marysminefnuf•40m ago•0 comments

Closing the Sea: Lessons from Ancient Mediterranean Blockades

https://maritime-executive.com/editorials/closing-the-sea-lessons-from-ancient-mediterranean-bloc...
2•gumby•43m ago•0 comments

An Invisible Spirit

https://animationobsessive.substack.com/p/an-invisible-spirit
3•vinhnx•45m ago•0 comments

Trace the footsteps of England's most famous accused witches

https://www.bbc.com/travel/article/20261023-the-haunting-landscapes-of-englands-accused-witches
1•1659447091•50m ago•0 comments

Can a good philsophical contribution be made just by asking a question? (2022)

https://philpapers.org/rec/HABCAG
2•schoen•54m ago•0 comments

The Tesla-SpaceX merger explained

https://finshots.in/archive/tesla-spacex-merger-explained/
2•vismit2000•56m ago•0 comments

Show HN: Proc-CLI – An agent-friendly CLI tool for process and port management

https://proc-cli.com/
2•yazeedaloyoun•57m ago•0 comments

Minecraft: Java Edition 26.3 rewritten from scratch in Rust

https://github.com/ludovic111/horizon
1•privacyishuman•58m ago•0 comments

Cognitive Mercantilism: AI panic resembles fears of early capitalism

https://contraptions.venkateshrao.com/p/cognitive-mercantilism
2•ianand•1h ago•0 comments

Show HN: How religions evolved? Charts, Maps, Citations

https://howitevolved.com/chart/
2•silly073•1h ago•0 comments

Domain UserMemory.com now available on Spaceship

https://usermemory.com
1•dev1one1•1h ago•0 comments

Sharp Tools

https://bojidar-bg.dev/blog/2025-05-28-sharp-tools/
2•Curiositry•1h ago•0 comments

The "canal" in the Amazon that breaks the rules

https://signoregalilei.com/2026/10/25/the-canal-in-the-amazon-that-breaks-the-rules/
1•notfried•1h ago•0 comments

Rest of World faces prospect of shutting down

https://www.semafor.com/article/10/25/2026/rest-of-world-faces-prospect-of-shutting-down
2•colinprince•1h ago•2 comments

How hospitals used inspiration from F1 for surgery-to-ICU handovers

https://www.bbc.com/sport/formula1/articles/c6ly0q00gj5do
1•1659447091•1h ago•0 comments

Amundsen's Maxim

https://www.amundsens-maxim.com/
1•fagnerbrack•1h ago•0 comments

Roman Love

https://www.worksinprogress.news/p/roman-love
1•diodorus•1h ago•0 comments

Show HN: UIPalooza – Do AI models have a recognizable design taste?

https://uipalooza.ai/
5•joeysim•1h ago•0 comments

You Can't Change Your Boss

https://jacobian.org/2026/oct/12/you-cant-change-your-boss/
3•aray07•1h ago•1 comments

Waving Hands (1977), vibe-coded

https://hands.kestrelsnest.social/
1•quuxplusone•1h ago•0 comments