frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

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

Helmholtz AI: Democratising AI for a data-driven future

https://www.helmholtz.ai/
1•the-mitr•2m ago•0 comments

Looking Back at the 'Fosse/Verdon' Dancing Legends That Inspired FX Series

https://variety.com/2019/vintage/features/bob-fosse-gwen-verdon-1203185015/
1•firasd•2m ago•0 comments

Bill Gates says Epstein sought to blackmail him over extramarital affairs

https://www.theguardian.com/us-news/2026/jun/24/bill-gates-epstein-transcript
1•root-parent•5m ago•0 comments

Shelf: Save Links to Telegram

https://useshelf.dev/
1•hisamafahri•10m ago•0 comments

The netdna-ssl.com takeover is an attack waiting to happen

https://scotthelme.co.uk/a-dead-cdn-a-wildcard-and-an-attack-waiting-to-happen-the-netdna-ssl-com...
1•moebrowne•11m ago•0 comments

Remote Pi

https://remote-pi.jacobmoura.work/
1•deepdude•12m ago•0 comments

The weirdest things a leak revealed about Peter Thiel's club

https://www.theguardian.com/commentisfree/2026/jun/24/peter-thiel-secret-club-leak
4•robtherobber•16m ago•0 comments

Bringing Swift to the Apple ][

https://yeokhengmeng.com/2026/06/swift-on-apple-ii/
4•LucidLynx•21m ago•0 comments

Stanford's Fraud Pipeline [video]

https://www.youtube.com/watch?v=57-OZSXGcxA
1•onemoresoop•22m ago•0 comments

I fed the people building the metaverse

https://yeastconfections.substack.com/p/i-fed-the-people-building-the-metaverse
2•faldor20•27m ago•1 comments

Show HN: Playable City Intelligence

https://golb.fun/
1•nih567•28m ago•0 comments

OXWM – A dynamic window manager written in Zig

https://github.com/tonybanters/oxwm
2•modinfo•28m ago•0 comments

Real-world impact of AI adoption. "Acceleration whiplash"

https://www.faros.ai/blog/ai-acceleration-whiplash-takeaways
1•ARayOutOfBounds•30m ago•0 comments

Mad Fucking Witches

https://www.mfw.org.au/
8•Alien1Being•30m ago•2 comments

W Social, Fictional Metrics and the Beauty of Open Data

https://blog.elenarossini.com/w-social-fictional-metrics-and-the-beauty-of-open-data/
1•nemoniac•30m ago•0 comments

New EV-makers keep appearing in China

https://www.economist.com/business/2026/06/24/strange-new-ev-makers-keep-appearing-in-china
2•edward•32m ago•0 comments

Show HN: iNaturalist Bingo

https://kylenessen.github.io/iNaturalist-Bingo-App/
1•kylenessen•32m ago•0 comments

Aura Max Your Startup

https://gtmgame.ai/
1•Jaredwk•34m ago•1 comments

Show HN: Annalium – a world-history map and timeline in the browser

https://annalium.com
1•i18nagentai•35m ago•0 comments

ROCm

https://en.wikipedia.org/wiki/ROCm
1•tosh•38m ago•0 comments

I cut GTA Online loading times by 70% (2021)

https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
1•downbad_•38m ago•0 comments

How to Destroy the Earth (2003)

https://qntm.org/destroy
2•downbad_•38m ago•0 comments

Pesticide exposure may relate to colorectal cancer in younger adults

https://www.medicalnewstoday.com/articles/pesticide-exposure-linked-colorectal-cancer-younger-adults
3•akyuu•39m ago•0 comments

Aisle Discovers 6 New CVEs in Curl, Including the Oldest Issue Ever Reported

https://aisle.com/blog/aisle-discovers-6-new-cves-in-curl-including-the-oldest-issue-ever-reported
1•ragebol•40m ago•0 comments

Local AI orchestrator with computer and browser access

https://github.com/shreyasks094/Zeus
1•blackhawk094•45m ago•1 comments

Trailing Dots Are the Worst

https://daniel.haxx.se/blog/2026/06/25/trailing-dots-are-the-worst/
2•TangerineDream•46m ago•1 comments

LLMs amplify code quality, they don't improve it

1•c99e•47m ago•2 comments

These are real, actual slides from a SoftBank presentation

https://discuss.systems/@dev/116807460725864716
4•robin_reala•48m ago•1 comments

Japan defense forces used USB drives with China-linked virus

https://asia.nikkei.com/spotlight/cybersecurity/japan-defense-forces-used-usb-drives-with-china-l...
2•0in•48m ago•0 comments

Show HN: Mute non-ENG Mastodon posts and RSS GitHub wall (browser automation)

https://taskbot.app
2•pancsta•50m ago•0 comments