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!

Map of every park in Salt Lake City

https://saltlake.citycast.fm/parks
1•bencornia•26s ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
1•magoghm•28s ago•0 comments

Do City Delivery Drones Make Sense? No One Knows, but They're Flying over NYC

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•Brajeshwar•4m ago•0 comments

B-tree based collection types for Go

https://github.com/tidwall/btype
2•eatonphil•4m ago•0 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
1•birdculture•4m ago•0 comments

Its the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
1•anjel•6m ago•1 comments

TikZlings – A collection of cute little animals and similar creatures

https://ctan.org/pkg/tikzlings?lang=en
1•Tomte•10m ago•0 comments

Why payment escrow for AI agents needed a different design

https://streetai.org/blog/escrow-for-ai-agents.html
2•degutemesgen•11m ago•0 comments

A super simple tool tells you who called the function and who implemented it

https://github.com/meloalright/who-ast
3•meloyc•12m ago•0 comments

Proposed Amendment to the Telephone Consumer Protection Act of 1991

https://www.karlbunch.com/random/website-protection-act/
2•kator•13m ago•0 comments

OSS Review Toolkit

http://oss-review-toolkit.org/ort/
2•Tomte•18m ago•0 comments

'WEALTH CONFISCATION': Blue states roll out taxes targeting homeowners [video]

https://www.youtube.com/watch?v=xXImiHrRpz8
2•SilverElfin•21m ago•3 comments

A man who blew up a nuclear power station and disappeared

https://www.theguardian.com/world/2026/may/05/the-man-who-blew-up-a-nuclear-power-station-koeberg...
2•gmays•22m ago•0 comments

Shunting-Yard Animation

https://somethingorotherwhatever.com/shunting-yard-animation/
3•s1291•27m ago•0 comments

They dug up Troy and lost the gold

https://storica.club/blog/troy-was-real/
2•aralsamuel•30m ago•0 comments

Rust-based ScanCode-compatible scanner for licenses and copyrights

https://github.com/mstykow/provenant
3•Tomte•30m ago•0 comments

Using AI to onboard to a new codebase

https://newsletter.eng-leadership.com/p/how-to-use-ai-to-onboard-into-a-codebase
3•wordsaboutcode•30m ago•0 comments

Cyclekart: How to build a soapbox with a motor [video]

https://www.youtube.com/watch?v=vATUDJyM5PQ
2•Teever•30m ago•0 comments

Technical Dimensions of Live Feedback in Programming Systems

https://joshuahhh.com/dims-of-feedback/
2•tobr•31m ago•0 comments

The Reality of an Employer's Market

https://yusufaytas.com/the-reality-of-an-employers-market
8•vibeloop•32m ago•0 comments

Disgraced US gov software contractor found guilty of database destruction

https://www.theregister.com/cyber-crime/2026/05/08/former-us-contractor-convicted-in-federal-data...
2•Bender•33m ago•0 comments

Akamai surges on big LLM deal as Cloudflare dims

https://www.theregister.com/networks/2026/05/09/akamai-surges-on-big-llm-deal-as-cloudflare-dims/...
2•Bender•34m ago•0 comments

WFY24 – A performance-first weather widget with 2km hyper-local AI forecasting

https://wordpress.org/plugins/wfy24-weather-widget/
3•weatherfun•34m ago•0 comments

'Dirty Frag' Linux flaw one-ups CopyFail with no patches and public root exploit

https://www.theregister.com/security/2026/05/08/dirty-frag-linux-flaw-one-ups-copyfail-with-no-pa...
3•Bender•36m ago•0 comments

The Blue Collar Delusion: Why the machines don't have to climb up to us

https://old.reddit.com/r/singularity/comments/1t5cx3y/the_blue_collar_delusion_why_the_machines_d...
2•wallflower•37m ago•0 comments

Paper Factory

https://www.nathanwilmers.com/paper_factory/
2•_tk_•39m ago•1 comments

Louis Rossmann tells 3D printer maker Bambu Lab to 'Go (Bleep) yourself'

https://www.tomshardware.com/3d-printing/louis-rossmann-tells-3d-printer-maker-bambu-lab-to-go-bl...
48•iancmceachern•40m ago•13 comments

AI Is Making Digital Fraud Easier, Faster and Harder to Stop

https://www.bloomberg.com/graphics/2026-ai-identity-theft-scams/
3•elsewhen•42m ago•1 comments

I made rust's cargo copy but for CPP

https://github.com/user-with-username/crow
2•anybodyy•43m ago•0 comments

Owl Alpha – A free model for agentic workloads (prompts logged / closed-source)

https://openrouter.ai/openrouter/owl-alpha
2•webninja•44m ago•0 comments