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•11mo 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: I trained YOLOv8 to detect dynamics markings on sheet music

https://sheetmusicexplainer.com/
1•derekhdawson•2m ago•0 comments

Phantom Data Centers Didn't Break the Power Grid–They Proved It Was Broken

https://www.powermag.com/phantom-data-centers-didnt-break-the-power-grid-they-proved-it-was-alrea...
1•gok•3m ago•0 comments

Asmtp – SMTP for Agents

https://www.asmtp.net/
1•nickcrews•5m ago•0 comments

Click, Agree, and Your Kids Are Bound: Court Compels Minor Children to Arbitrate

https://natlawreview.com/article/click-agree-and-your-kids-are-bound-court-compels-minor-children...
1•petethomas•8m ago•0 comments

Show HN: Vecdb – local-first hybrid vector database in Rust (HNSW and BM25)

https://github.com/zaydmulani09/vecdb
1•zaydmulani•8m ago•0 comments

Why Outsource Your Auth System and How to Sell the Decision to Your Company

https://fusionauth.io/articles/identity-basics/outsource-auth-system-blueprint
1•mooreds•12m ago•0 comments

Show HN: Spud – cross-platform remote control, optimised for gaming

https://github.com/xfoa/spud
2•foax•18m ago•1 comments

The Merge

https://blog.samaltman.com/the-merge
1•skinfaxi•26m ago•1 comments

Anthropic co-founder to present AI encyclical alongside Pope Leo XIV

https://www.vaticannews.va/en/pope/news/2026-05/pope-leo-xiv-first-encyclical-magnifica-humanitas...
4•cucho•38m ago•0 comments

Don't Sign in with Google

https://twitter.com/the_smart_ape/status/2055941633179283523
5•DeusExMachina•39m ago•0 comments

Built an API client with age-encrypted vault for secrets

https://github.com/xaaha/hulak
1•xaaha•42m ago•1 comments

Meta Reassigns 7k Employees to Focus on A.I

https://www.nytimes.com/2026/05/18/technology/meta-reassigns-7000-employees-ai.html
6•xnx•43m ago•2 comments

MIT 14.12 Economic Applications of Game Theory, Fall 2025

https://www.youtube.com/watch?v=WRibE2nt8wM
2•mdp2021•46m ago•0 comments

Key landmark regulations against 'forever' toxins removed by Trump admin

https://www.cnn.com/2026/05/18/health/trump-pfas-rollback-wellness
6•zzzeek•47m ago•0 comments

Intern gets inspired by Bun to rewrite codebase into assembly

https://twitter.com/KashyapVisharad/status/2055239392147718394
2•sundarurfriend•48m ago•1 comments

Canceled by Hinge

https://www.theatlantic.com/ideas/2026/03/hinge-banning-dating-apps-matchgroup/686445/
4•8f2ab37a-ed6c•50m ago•3 comments

APIMatic – Type-safe SDKs for 7 languages from an OpenAPI spec

https://www.apimatic.io
1•m3h•50m ago•1 comments

Click

https://clickclickclick.click/
68•andrewzeno•53m ago•10 comments

Manchester Code Made Bits Behave

https://spectrum.ieee.org/manchester-code-ieee-milestone
1•jnord•54m ago•0 comments

Super-Adaptable Mayhem 10 Swarming Drone Evolved from the Switchblade

https://www.twz.com/air/super-adaptable-mayhem-10-swarming-drone-evolved-from-the-switchblade
2•breve•55m ago•0 comments

My blog was hacked and Claude and I just fixed it

https://lengrand.fr/my-blog-was-hacked-and-claude-and-i-just-fixed-it/
1•jlengrand•57m ago•0 comments

An asteroid discovered days ago will narrowly miss Earth – RNZ News

https://www.rnz.co.nz/news/world/595636/an-asteroid-discovered-days-ago-will-narrowly-miss-earth
7•colinprince•58m ago•0 comments

If AI can translate instantly, why learn another language?

https://theconversation.com/if-ai-can-translate-instantly-why-learn-another-language-280310
1•0in•58m ago•0 comments

A New Look for Express

https://expressjs.com/en/blog/2026-05-18-a-new-look-for-express/
1•patrikcsak•59m ago•0 comments

Musk says Tesla unsupervised FSD will be 'widespread' in the US by year-end

https://electrek.co/2026/05/18/musk-unsupervised-fsd-widespread-us-end-of-year-smart-mobility-sum...
3•breve•59m ago•2 comments

Human Bottlenecks

https://borretti.me/article/human-bottlenecks
2•jger15•1h ago•0 comments

Starship's Twelfth Flight Test

https://www.spacex.com/launches/starship-flight-12
3•bookmtn•1h ago•0 comments

Updated Debian 13: 13.5 released

https://www.debian.org/News/2026/20260516
1•doener•1h ago•0 comments

Show HN: FlashAttention-2 in Cute, from Scratch

https://blog.echen.io/p/flashattention-2-in-cute-from-scratch/
1•echen314•1h ago•1 comments

Tech bros say AI can be your best friend. Experts explain why it can't

https://www.rnz.co.nz/life/wellbeing/tech-bros-say-ai-can-be-your-best-friend-experts-explain-why...
5•billybuckwheat•1h ago•0 comments