frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•10mo 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!

Petri Nets as Music Sequencers: Token Rings, Inhibitor Arcs, and Euclidean

https://blog.stackdump.com/posts/petri-net-sequencer
1•birdculture•1m ago•0 comments

John Bradley, author of xv, died

https://gab.com/markofafreeman/posts/116290669616400528
1•gpvos•2m ago•0 comments

US Battled Drone Incursions in Louisiana's Barksdale Bomber Base

https://www.twz.com/news-features/u-s-battled-drone-incursions-over-key-bases-at-home-after-launc...
1•throw0101a•4m ago•0 comments

iOS Exploit Chain Adopted by Multiple Threat Actors

https://cloud.google.com/blog/topics/threat-intelligence/darksword-ios-exploit-chain
1•zX41ZdbW•5m ago•0 comments

Ask HN: What's your desktop setup optimized to work with AI?

3•yungookim•9m ago•1 comments

Fear of Missing Code

1•lukol•13m ago•2 comments

Firefox is and always has been terrible

https://alexandmanu.com/blog/firefox-is-actually-terrible/
1•leksje•14m ago•4 comments

NASA to spend $20B to build a base on the moon

https://www.nbcnews.com/science/space/nasa-build-base-moon-20-billion-rcna264899
2•gmays•14m ago•1 comments

Why AI may increase competition but not success rates

https://arxiv.org/abs/2603.23685
4•will_pharaoh•15m ago•0 comments

The Autonomous Battlefield

https://www.foreignaffairs.com/middle-east/autonomous-battlefield
1•aanet•17m ago•1 comments

Canadian retiree required to give DNA at Blue Water Bridge

https://phoebewallhoward.substack.com/p/canadian-retiree-required-to-give
2•cf100clunk•17m ago•1 comments

Zero Day Exploit in Telegram

https://www.zerodayinitiative.com/advisories/upcoming/#ZDI-CAN-30207
1•abracos•18m ago•0 comments

AV1's open, royalty-free promise in question as Dolby sues Snapchat over codec

https://arstechnica.com/gadgets/2026/03/av1s-open-royalty-free-promise-in-question-as-dolby-sues-...
3•joshcartme•19m ago•1 comments

How LLMs Feel Language

https://data-processing.club/cognition/
3•arrowsmith•21m ago•1 comments

Revge – AI infrastructure for Kurdish language preservation

https://www.revge.com
2•darvanshvan•22m ago•0 comments

Day Zero of Multi-Vector Retrieval

https://lighton.ai/fr-blog-posts/day-zero-of-multi-vector-retrieval
1•kaycebasques•24m ago•0 comments

Beyond C: wrapping Dear ImGui in Swift with zero FFI

https://carette.xyz/posts/swift_cpp_compatibility_with_raylib_and_imgui/
3•weird_trousers•25m ago•0 comments

Slow Download Speeds for Sources on GitHub

https://github.com/orgs/community/discussions/143212
1•pera•27m ago•0 comments

(deleted)

1•lukol•29m ago•0 comments

US sends subpoenas in Warner-Paramount antitrust review as probe picks up steam

https://www.reuters.com/world/us-sends-subpoenas-warner-paramount-antitrust-review-probe-picks-up...
1•1659447091•32m ago•0 comments

If you don't opt out by Apr 24 GitHub will train on your private repos

180•vmg12•34m ago•68 comments

Hackers got Denver crosswalks to hate on Trump

https://denverite.com/2026/03/16/denver-crosswalks-hacked-anti-trump-message-explained/
3•metabagel•34m ago•0 comments

Split Terminal Panes on QuakeNotch v2.3

https://www.patreon.com/posts/quakenotch-v2-3-154094964
3•rohanrhu•38m ago•0 comments

Sycophantic bots coach users into selfish, antisocial behavior, say researchers

https://www.theregister.com/2026/03/27/sycophantic_ai_risks/
3•cmsefton•40m ago•0 comments

Researchers find 3,500-year-old loom that reveals textile revolution

https://web.ua.es/en/actualidad-universitaria/2026/marzo2026/23-31/ua-researchers-find-3-500-year...
2•geox•42m ago•0 comments

Memory chip stocks shed $100B as AI-driven shortage trade unwinds

https://www.ft.com/content/e4e15692-187e-4466-832e-ec267e792292
8•cjs_ac•46m ago•1 comments

I built a $15k Mac app for a random Reddit user

2•fujilovesapps33•47m ago•0 comments

E-waste from rich nations floods local markets in Nigeria

https://www.aljazeera.com/features/2026/3/27/truly-junk-e-waste-from-rich-nations-floods-local-ma...
2•Qem•48m ago•0 comments

Slovenia becomes first EU country to introduce fuel rationing

https://www.bbc.com/news/articles/c77m4zx6zvmo
26•measurablefunc•48m ago•5 comments

Rate My Managers

https://ratemymanagers.ca
2•noRagrats•48m ago•1 comments