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•9mo 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!

Government to enforce 1099 bike parking spaces at IKEA, Norway

https://twitter.com/Glenn_Diesen/status/2034158957053276277
1•whirlwin•3m ago•0 comments

Hochul Moves to Weaken Aggressive New York State Climate Law

https://www.bloomberg.com/news/articles/2026-03-20/hochul-moves-to-weaken-aggressive-new-york-sta...
1•melling•4m ago•1 comments

LLM Smart Router

https://github.com/tumf/kani
1•tumf•5m ago•0 comments

The End of Coding: Andrej Karpathy on Agents, AutoResearch, and Loopy Era of AI [video]

https://www.youtube.com/watch?v=kwSVtQ7dziU
1•vismit2000•8m ago•0 comments

Show HN: EchoLive – Read-it-later app that reads to you with 600 AI voices

https://echolive.co/
1•stanlymt•9m ago•0 comments

The Shrinking Gland That Helps You Live Longer

https://nautil.us/the-shrinking-gland-that-helps-you-live-longer-1279121
1•Brajeshwar•9m ago•0 comments

Israel deliberately targeting medical facilities in south Lebanon

https://www.theguardian.com/world/2026/mar/21/israel-targeting-medical-facilities-south-lebanon-h...
3•donutshop•11m ago•0 comments

We Need Messier Maps

https://www.chathamhouse.org/publications/the-world-today/2026-03/we-need-messier-maps
2•bookofjoe•14m ago•0 comments

Apple Wanted to Buy Halide to Boost iPhone 18 Pro's Camera App – Lawsuit

https://www.macrumors.com/2026/03/21/apple-wanted-to-buy-halide-to-boost-iphone-18-pro/
1•ndr42•14m ago•0 comments

A Portrait of the Artist as an LLM

https://evernotquite.substack.com/p/a-portrait-of-the-artist-as-an-llm
1•jger15•15m ago•0 comments

Using local LLM and Ghidra to analyze malware

https://discounttimu.substack.com/p/using-llm-and-ghidra-to-analyze-malware
2•guardiangod•16m ago•0 comments

Show HN: I made a simple note keeping plugin for Neovim

https://github.com/UsamaQaisrani/filenotes.nvim
1•usamaqaisrani•17m ago•0 comments

One Login, Two Platforms – Indeed/Glassdoor

https://about-us.glassdoor.com/site-us/onelogin/
1•TheJoeMan•19m ago•1 comments

The Risk of LLM-Generated Administrative Scripts in Privileged Environments

https://zenodo.org/records/18718481
1•rogelsjcorral•23m ago•0 comments

Major leap towards reanimation after death as mammal's brain preserved

https://www.newscientist.com/article/2520204-major-leap-towards-reanimation-after-death-as-mammal...
3•Brajeshwar•23m ago•0 comments

Albert's Swarm

https://en.wikipedia.org/wiki/Albert%27s_swarm
2•thunderbong•24m ago•0 comments

Recall – Your AI context shouldn't be trapped in one platform

https://chromewebstore.google.com/detail/recall/gnbbmallepmgpffoinnlkchkemgeikmg
1•suikacider•25m ago•0 comments

When it comes to data-ink ratio, optimize rather than maximize

https://scienceux.org/articles/data-ink-ideal-vs-minimal
1•s4074433•25m ago•0 comments

Autoskill – self-improving skills for AI agents

https://github.com/Samurai412/autoskill
2•samurai48•26m ago•1 comments

PetaPerl: Perl but in Rust

https://perl.petamem.com/docs/eng/introduction.html
1•sinnsro•26m ago•1 comments

"Give up Hack Club": about the kids non-profit

https://bafybeiew6lmntuivdzarz4rpscuhnkrpe4qpxi5xyel3jrzcvndulvl6gy.ipfs.dweb.link/#r
1•Diaphragmwp•28m ago•1 comments

Compositor for Windows 0.6

https://compositorapp.com/blog/2026-03-21/Compositor-Windows-06/
1•serhack_•30m ago•0 comments

The Singularity Is Coming

https://www.manhattanmetric.com/blog/2026/03/the-singularity-is-coming
1•jballanc•32m ago•0 comments

WSL graphics driver update brings better GPU support for Linux apps

https://www.theregister.com/2026/03/20/linux_directx_and_opengl/
1•Brajeshwar•37m ago•0 comments

Ask HN: Is AI Safety a Paradox?

1•tndibona•40m ago•1 comments

Seeing Trump Clearly

https://www.craigmurray.org.uk/archives/2026/03/seeing-trump-clearly/
2•jules-jules•40m ago•4 comments

Meditation and mindfulness explained as cognitive mechanics

https://dimitrov.im/mental-mechanics/
1•since7•41m ago•1 comments

After Cosmic Crisp, Scientists Unveil an Apple for the Climate Change Era

https://www.nytimes.com/2026/03/21/us/new-apple-climate-change.html
3•saikatsg•41m ago•0 comments

Does your job have a soul?

https://vaibhavm.substack.com/p/summoning-ghosts-not-building-animals
2•vaibhavgeek•43m ago•0 comments

UK government yet to trial OpenAI tech months after signing partnership

https://www.theguardian.com/politics/2026/mar/21/uk-government-yet-to-trial-openai-tech-months-af...
2•chrisjj•43m ago•1 comments