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!

Benchmarking Jev, Laya, and five open models under three stresses

https://github.com/gazelle93/decision-models-under-pressure
1•lovegreenlife•2m ago•0 comments

ASML says it sold 'absolutely nothing' in Europe in 2026

https://www.tomshardware.com/tech-industry/semiconductors/asml-says-its-sells-absolutely-nothing-...
1•MC995•2m ago•0 comments

Does Georgism Work? Five Years Later

https://www.astralcodexten.com/p/does-georgism-work-five-years-later
1•silveraxe93•3m ago•0 comments

30 Years of Backwards Compatibility in a Development Tool Since 1993

https://visualneo.com/visualneo-win/from-neobook-to-visualneo-win-30-years-of-keeping-a-developme...
1•birdculture•3m ago•0 comments

Tell agents the why, not just the how

https://www.seangoedecke.com/tell-agents-the-why/
1•mooreds•4m ago•0 comments

What happens when you analyze your favorite college football team like the CIA?

https://www.cultivatelabs.com/posts/what-happens-when-you-analyze-college-football-like-the-cia
1•adam•4m ago•0 comments

Cracks in Oracle's AI Data-Center Build-Out Appear in New Mexico Project

https://www.wsj.com/finance/investing/cracks-in-oracles-ai-data-center-build-out-appear-in-massiv...
1•hodgesrm•5m ago•0 comments

CommonGrid: The open source registry of the US power grid

https://www.texturehq.com/blog/commongrid
1•orangechairs•5m ago•0 comments

The state of SIMD in Rust in 2026

https://shnatsel.github.io/state-of-simd-rust-2026/
1•verdagon•5m ago•0 comments

XDude

https://xdude.com
1•rob•6m ago•0 comments

My Take on Jev

https://sunbeams.ai/blog/jev-new-class-of-models/
1•mooreds•7m ago•0 comments

Evaluating the Tax Character of Options-Based Income [pdf]

https://sterlingcapital.com/cdn/Sterling-OptionsIntegrity-V3-4.pdf
1•mooreds•8m ago•0 comments

A Model Context Protocol (MCP) server for NATS messaging system integration

https://github.com/sinadarbouy/mcp-nats
1•Bluestein•9m ago•0 comments

The New Copilot with Home, Code and Autopilot

https://blogs.microsoft.com/blog/2026/09/25/introducing-the-new-copilot-with-home-code-and-autopi...
1•hdz•9m ago•0 comments

Show HN: Sifthound – self-hosted, Tavily-compatible search API for AI agents

https://github.com/khsarvar/sifthound
1•khsarvar•9m ago•0 comments

You need to pass all unhandled messages to DefWindowProc, part 2

https://devblogs.microsoft.com/oldnewthing/20260924-00/?p=112728/
2•ibobev•9m ago•0 comments

When working with Win32 FILETIME, don't forget that you have std:chrono now

https://devblogs.microsoft.com/oldnewthing/20260923-00/?p=112726/
1•ibobev•10m ago•0 comments

Feast feature and vector serving at ScyllaDB speed

https://feast.dev/blog/scylladb-feast-online-store/
1•tzach•10m ago•1 comments

What's the highest legal FILETIME? Is it safe to use?

https://devblogs.microsoft.com/oldnewthing/20260921-00/?p=112711/
1•ibobev•10m ago•0 comments

The Spacecraft Hacker's Handbook

https://nostarch.com/spacecraft-hackers-handbook
1•0x54MUR41•10m ago•0 comments

Monotremes Oviparous, Ovum Meroblastic

https://www.futilitycloset.com/2026/09/20/frugal/
1•surprisetalk•11m ago•0 comments

Georges St-Pierre (GSP) vs. increasingly dangerous Dinosaurs [video]

https://www.youtube.com/watch?v=xgzWjWlTIOA
1•theGeatZhopa•12m ago•1 comments

Apple Is Testing a Screenless Fitness Band

https://garminrumors.com/apple-testing-screenless-fitness-band-whoop-garmin-cirqa/
1•geox•13m ago•0 comments

It turns out Canada's population isn't shrinking after all

https://www.theglobeandmail.com/business/article-it-turns-out-canadas-population-isnt-shrinking-a...
1•efavdb•13m ago•0 comments

QNX Demo Disk

http://toastytech.com/guis/qnxdemo.html
1•pelagicAustral•13m ago•0 comments

Show HN: Hacker Atlas - A map of what Hacker News talks about

https://hackeratlas.com/
1•andrearitossa•13m ago•0 comments

Show HN: Concrete Calculator – Estimate Cubic Yards, Bags and Cost

https://concretemixcalc.com
1•struy•14m ago•0 comments

The Atoms Are Deployed

https://itsmeduncan.com/2026/09/22/the-atoms-are-already-deployed/
1•itsmeduncan•16m ago•0 comments

Advanced soft-bodies for games with the Rapier physics engine

https://dimforge.com:443/blog/2026/09/25/advanced-soft-bodies-for-games-in-the-rapier-physics-eng...
1•sebcrozet•18m ago•0 comments

AI, Consciousness and Emergent Behaviors

https://blog.borrego.dev/entries/ai-consciousness-emergent-behaviors.html
1•agubelu•18m ago•0 comments