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!

Hacking the EU AgeVerification app in under 2 minutes

https://twitter.com/Paul_Reviews/status/2044723123287666921
1•croes•32s ago•0 comments

Nothing prepares you for the death of a pet

https://spectator.com/article/nothing-prepares-you-for-the-death-of-a-pet/
1•mellosouls•1m ago•1 comments

Opus 4.7 to 4.6 Inflation is ~45%

https://tokens.billchambers.me/leaderboard
1•anabranch•2m ago•1 comments

The Great Pyramid of Giza and the Speed of Light

https://www.johndcook.com/blog/2026/04/09/pyramid-speed-of-light/
1•rolph•2m ago•0 comments

Amazon won't release Fire Sticks that support sideloading anymore

https://arstechnica.com/gadgets/2026/04/amazon-wont-release-fire-sticks-that-support-sideloading-...
1•pjmlp•2m ago•0 comments

How the word "MODEL" changes meaning across 3D Graphics, Software and AI

https://www.youtube.com/watch?v=S7NVbkVXtzo
1•0bytematt•9m ago•0 comments

Trump announces reforms to accelerate access to psychedelic drug treatments

https://www.theguardian.com/us-news/2026/apr/18/trump-psychedelic-drugs-executive-order
1•andsoitis•10m ago•0 comments

Amazon is discontinuing Kindle for PC on June 30th

https://goodereader.com/blog/kindle/amazon-is-discontinuing-kindle-for-pc-on-june-30th
3•tech234a•13m ago•0 comments

See what model is better at design

https://pixel-match.bsct.so/
1•amin_biscuit•15m ago•1 comments

Ask HN: ChatAi web-based session notation?

1•xtiansimon•17m ago•0 comments

Warren Parad on Software Engineering for High Availability [audio]

https://overcommitted.dev/building-bulletproof-systems-warren-parad-on-software-engineering-for-h...
1•mooreds•22m ago•0 comments

Ask HN: What ways will AI advance technically in the next ten years?

1•orenlindsey•23m ago•0 comments

What my journal doesn't say about my life

https://www.tsoon.com/posts/blank-quarters/
1•mooreds•23m ago•0 comments

Why scientists are nervous about fungi

https://text.npr.org/g-s1-117632
1•mooreds•23m ago•0 comments

Trump announces reforms to psychedelic drugs [video]

https://www.youtube.com/watch?v=4pr1d5tRLWc
1•keepamovin•24m ago•0 comments

Anthropic's Claude Mythos Launch Is Built on Misinformation

https://www.artificialintelligencemadesimple.com/p/anthropics-claude-mythos-launch-is
2•Toluhis•24m ago•0 comments

The curse of the gifted programmer (2000)

https://lwn.net/2000/0824/a/esr-sharing.php3
3•downbad_•25m ago•1 comments

Built an prep tool after getting rejected many times with nofeedback

https://portlumeai.com
1•portlumeai•26m ago•0 comments

Anna's Archive to pay $322M after losing court case for scraping from Spotify

https://www.nme.com/news/music/annas-archive-to-pay-322million-after-losing-court-case-for-scrapi...
1•thunderbong•28m ago•0 comments

SaaS apps are becoming coworkers, not toolboxes: JTBD shift behind SaaS design

https://metedata.substack.com/p/006-the-chat-bar-isnt-lazy-design
1•young_mete•33m ago•0 comments

Ask HN: Is it worth taking a year off?

1•thepaulthomson•34m ago•6 comments

Heavy Weather Hits Gotham City: Batman and Robin (1997)

https://theasc.com/magazine/july97/batman/main.htm
1•exvi•37m ago•0 comments

Voice actors fight to save their livelihoods from Hollywood's AI push

https://restofworld.org/2026/ai-voice-actors-hollywood-dubbing/
5•i7l•37m ago•0 comments

Extraterrestrial Escapades: Men in Black (1997)

https://theasc.com/magazine/june97/mib/main.htm
1•exvi•38m ago•0 comments

Chase, Crush and Devour: The Lost World: Jurassic Park (1997)

https://theasc.com/magazine/june97/lstwrld/main.htm
1•exvi•39m ago•0 comments

Spotify Silently Updates Itself (and How to Stop It)

https://duckass.bearblog.dev/how-spotify-silently-updates-itself-and-how-to-stop-it/
1•lschueller•39m ago•1 comments

The Mythos Threshold

https://joereis.substack.com/p/the-mythos-threshold
2•hodgesrm•40m ago•0 comments

Ask HN: Interesting Calculators?

1•wvlia5•41m ago•1 comments

Hackers are abusing unpatched Windows security flaws to hack into organizations

https://techcrunch.com/2026/04/17/hackers-are-abusing-unpatched-windows-security-flaws-to-hack-in...
1•Brajeshwar•41m ago•0 comments

Show HN: MDV – a Markdown superset for docs, dashboards, and slides with data

https://github.com/drasimwagan/mdv
2•drasim•43m ago•0 comments