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 AI Layoff Trap

https://arxiv.org/abs/2603.20617
1•armcat•58s ago•0 comments

Horizontal Infrastructure for Building Computer Vision Applications

1•AdamEyes•1m ago•0 comments

Fly Drones from the Browser

https://fpvsim.com/sim
1•mosfets•4m ago•0 comments

Claude Code plugin with a built-in fact-check compiler

https://grainulator.app/
2•woptober•4m ago•0 comments

Battery Intelligence SDK for IoT (NRF52840, STM32, ESP32-C3)

https://github.com/aliaksandr-liapin/ibattery-sdk
1•iBattery•6m ago•0 comments

The Economics of Software Teams: Why Most Engineering Orgs Are Flying Blind

https://www.viktorcessan.com/the-economics-of-software-teams/
2•kiyanwang•12m ago•0 comments

Relocating Rigor

https://aicoding.leaflet.pub/3mbrvhyye4k2e
2•kiyanwang•16m ago•0 comments

Trovare – I built a search aggregator with 39 adapters across 11 platforms

https://trovare.ro/
1•mariusmitrofan•16m ago•0 comments

X Randomly Banning Users for "Inauthentic Behavior"

https://old.reddit.com/r/LinusTechTips/comments/1rsdk7i/anybody_here_talking_about_the_massive/
4•crmrc114•18m ago•2 comments

How to Share Terraform State (Tutorial)

https://spacelift.io/blog/how-to-share-terraform-state
2•kat-w•23m ago•0 comments

Gall's Law – Laws of Software

https://www.laws-of-software.com/laws/gall/
1•fagnerbrack•24m ago•0 comments

Why successful people often have bad opinions online

https://greyenlightenment.com/2026/04/02/why-successful-people-often-have-bad-opinions-online/
2•paulpauper•25m ago•1 comments

Taking a Look at Compression Algorithms – Moncef Abboud

https://cefboud.com/posts/compression/
1•fagnerbrack•25m ago•0 comments

The Future Is Neuro-Symbolic: Where Has It Been, and Where Is It Going?

https://ojs.aaai.org/index.php/AAAI/article/view/42130
4•walterbell•28m ago•1 comments

The Synth Is Not the Box

https://www.lunchfirm.com/blog/posts/localdsp-claude/
1•mcdowell_atx•30m ago•0 comments

Nintendo's Greed Could Change the Tech Industry [video]

https://www.youtube.com/watch?v=Lh9gnkF-Imo
1•josephcsible•31m ago•0 comments

The Future of Everything Is Lies, I Guess: Psychological Hazards

https://aphyr.com/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards
1•vermilingua•32m ago•0 comments

Why didn't IPv6 work in my home network?

https://gowtham.dev/blog/ipv6-problems.html
2•gowthamgts12•36m ago•0 comments

Why I Don't Ship Preferences

https://jorviksoftware.cc/notes/2026/04/13/why-i-do-not-ship-preferences
1•jonathan_hollin•38m ago•0 comments

Splitting Mounjaro pens for fun and profit

https://www.lesswrong.com/posts/EsYEuNDEm96DCb8Jy/splitting-mounjaro-pens-for-fun-and-profit
1•henryaj•42m ago•0 comments

Satoshi Has the Right to Hide. We Have the Right to Search for Him

https://www.thefp.com/p/satoshi-has-the-right-to-hide
1•fortran77•43m ago•1 comments

Private firms providing services to NHS made £1.6B profit in two years

https://www.theguardian.com/society/2026/apr/13/private-companies-nhs-services-profit-chpi-research
2•gpi•47m ago•0 comments

Clinical trial shows gene editing works for β-Thalassaemia, too

https://arstechnica.com/science/2026/04/clinical-trial-shows-gene-editing-works-for-%ce%b2-thalas...
1•bryanrasmussen•50m ago•0 comments

Show HW: Implementing denoising diffusion probabilistic models from scratch

https://github.com/aldipiroli/ddpm_from_scratch
2•tgnk2341•53m ago•0 comments

Show HN: Bad Apple (Oscilloscope-Like) – one stroke per frame

https://bad-apple-on-oscilloscope.pages.dev/
1•araniwa•55m ago•1 comments

The Paper Computer

https://jsomers.net/blog/the-paper-computer
1•jsomers•59m ago•0 comments

No Degree, $155K Pay: Trump's FAA Is Recruiting Gamers as Air Traffic Controller

https://www.ibtimes.co.uk/faa-recruits-gamers-air-traffic-control-1791239
7•onemoresoop•1h ago•2 comments

Altman Shooters Are Paid Actors

https://twitter.com/boneGPT/status/2043550790095134846
5•fakeshoot•1h ago•1 comments

Ask HN: Insta, X, Reddit or HN?

1•wasimsk•1h ago•0 comments

What web browser do you use?

1•nicp•1h ago•3 comments