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!

The tool that won't let AI say anything it can't cite

https://github.com/grainulation/grainulator
1•volatilityfund•19s ago•0 comments

Why Prospects Ghost You

https://usepipeline.ai/
1•ExecutiveDre•1m ago•1 comments

Seal sleeping on road causes Mornington Peninsula traffic delays

https://www.abc.net.au/news/2026-04-10/road-blocked-sleeping-seal-mornington-peninsula-police/106...
1•defrost•1m ago•0 comments

No-Stack Web Development

https://dbushell.com/2026/04/10/no-stack-web-development/
2•jannesan•10m ago•0 comments

What Did You Name Your Bot?

https://kilo.ai/kiloclaw/names
1•twapi•12m ago•0 comments

Show HN: Reword, a Daily Anagram Game

https://amolkapoor.com/games/reword/
1•theahura•13m ago•0 comments

What Is ProtoFlow Workflow Automation Platform? [pdf]

https://storage.prod.researchhub.com/uploads/papers/users/187827/0720f181-328b-4333-ba79-f0593869...
1•KobyLawry•13m ago•0 comments

Do We Still Need Software Architects?

https://d3v.one/do-we-still-need-software-architects/
2•gpi•15m ago•0 comments

Show HN: GNU Grep as a PHP Extension

https://github.com/hparadiz/ext-gnu-grep
1•hparadiz•15m ago•0 comments

Transparency and knowledge exchange in AI-assisted data analysis code generation

https://www.nature.com/articles/s43588-025-00781-1
1•Anon84•17m ago•0 comments

2025 ACM Prize in Computing Goes to Apache Spark Creator Matei Zaharia

https://awards.acm.org/award-recipients/zaharia_8851855
1•tharakam•23m ago•0 comments

How zero-knowledge proofs make quantum circuits "private"

https://medium.com/@jkim_tran/verifying-private-quantum-circuits-9ec99d5f3d5a
1•jennifer-trin•31m ago•0 comments

Wan 2.7 – AI Video Generator for Text-to-Video and Image-to-Video

https://wan2-7.net
1•danielmateo773•32m ago•0 comments

The poetical works of Henry Wadsworth Longfellow (1889)

https://gutenberg.org/cache/epub/78406/pg78406-images.html
2•petethomas•32m ago•0 comments

789 KB Linux Without MMU on RISC-V (2023)

https://popovicu.com/posts/789-kb-linux-without-mmu-riscv/
2•pabs3•40m ago•0 comments

Metamath C

https://github.com/digama0/mm0/blob/master/mm0-rs/mmc.md
1•smj-edison•41m ago•0 comments

Chimpanzees' bloody 'civil war' may offer insight into human conflict

https://www.thetimes.com/uk/science/article/chimpanzee-group-splits-bloody-civil-war-59dk6swzr
2•petethomas•42m ago•0 comments

Crude: The Journey Of Oil (2007) [video]

https://www.youtube.com/watch?v=I7bmUYxwcaQ
1•measurablefunc•43m ago•0 comments

Borrow-Checking Surprises

https://www.scattered-thoughts.net/writing/borrow-checking-surprises/
1•jamii•48m ago•0 comments

Mayflower hero was sold into slavery, hidden files reveal

https://www.thetimes.com/world/europe/article/mayflower-hero-squanto-malaga-spain-sjx8sbvpv
1•petethomas•49m ago•0 comments

A Trip Through the Graphics Pipeline

https://alaingalvan.gitbook.io/a-trip-through-the-graphics-pipeline
1•sph•52m ago•0 comments

Bug in original PageRank paper (1998) [pdf]

https://www.cis.upenn.edu/~mkearns/teaching/NetworkedLife/pagerank.pdf
1•Abhavk•56m ago•1 comments

'Project Hail Mary' Directors Announce In-Theater Director Commentary Track

https://thatparkplace.com/project-hail-mary-commentary-track/
1•canucker2016•57m ago•1 comments

Moving from academic to industry career plans: A personal story

https://sites.lsa.umich.edu/math-graduates/2020/09/15/moving-from-academic-to-industry-career-pla...
1•ganitam•1h ago•0 comments

Why I quit "The Strive"

https://www.joanwestenberg.com/why-i-quit-the-strive/
1•zdw•1h ago•0 comments

Vulnpocalypse: AI, Open Source, and the Race to Remediate

https://www.resilientcyber.io/p/vulnpocalypse-ai-open-source-and
1•chillax•1h ago•0 comments

YouTube locked my accounts and I can't cancel my subscription

https://pocketables.com/2026/04/ai-music-corporate-control-and-the-creator-who-cant-even-leave.html
3•digitalhigh•1h ago•0 comments

PeerDrop – P2P file sharing across devices

https://github.com/jj10133/PeerDrop
2•jj_3•1h ago•1 comments

Eyes on the Solar System – Artemis

https://eyes.nasa.gov/apps/solar-system/
1•memalign•1h ago•0 comments

Negative effects of artificial sweeteners may pass on to next generation

https://www.eurekalert.org/news-releases/1121524
2•XzetaU8•1h ago•0 comments