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!

Why AI companies want you to be afraid of them

https://www.bbc.com/future/article/20260428-ai-companies-want-you-to-be-afraid-of-them
1•rolph•43s ago•0 comments

The Most Potent Weapon in Russia's Disinformation War

https://www.bloomberg.com/graphics/2026-russia-disinformation-storm-1516-videos/
1•euazOn•1m ago•0 comments

Show HN: VisuaLeaf – A Modern MongoDB Workspace

https://visualeaf.com/
1•Jacky101•1m ago•0 comments

The application layer is dead: why we need object-oriented AI

https://poliglot.io/thesis
1•rars•2m ago•0 comments

AI shopping is years away. The infrastructure isn't

https://www.dhanishsemar.com/writing/the-delegation-economy
1•DiffTheEnder•3m ago•1 comments

Things AI Is Good For

https://knxnts.xyz/blog-4.24.26.html
1•speckx•5m ago•0 comments

All databases will eventually be (re)written in Rust

https://kerkour.com/rust-databases
1•randomint64•6m ago•0 comments

Plaintiffs Are Still Litigating–and Losing–Website Framing Cases

https://blog.ericgoldman.org/archives/2026/04/plaintiffs-are-still-litigating-and-losing-website-...
1•hn_acker•6m ago•1 comments

CuarzoAI – 100K – 99K verified Python↔EN/ES/FR pairs, 100% AST pass rate

https://huggingface.co/datasets/Cuarzo-AI/cuarzo-100k
1•cuarzoai•7m ago•0 comments

Mistral Medium 3.5

https://mistral.ai/news/vibe-remote-agents-mistral-medium-3-5
11•meetpateltech•8m ago•1 comments

I am not leaving GitHub any time soon

https://www.shayon.dev/post/2026/118/i-am-not-leaving-github-any-time-soon/
1•shayonj•9m ago•0 comments

What Can We Gain by Losing Infinity?

https://www.quantamagazine.org/what-can-we-gain-by-losing-infinity-20260429/
1•Tomte•10m ago•0 comments

80+ WPFactory WordPress plugins closed after possible backdoor in premium plugin

1•reallytD91•10m ago•1 comments

Coloring Code: How Compilers Use Graph Theory [video]

https://www.youtube.com/watch?v=K3mi2m7ccDQ
1•someguy101010•11m ago•0 comments

A US paycheck calculator that doesn't want your email

https://paycheckfact.com/
1•billhector•11m ago•0 comments

AI spots pancreatic cancer years before it shows up, study finds

https://www.bloomberg.com/news/articles/2026-04-29/ai-spots-pancreatic-cancer-years-before-it-sho...
1•brandonb•12m ago•0 comments

I built a dating app that skips chat and gets you on real dates

https://apps.apple.com/us/app/datelink-dating/id6753943468
1•danielsos•12m ago•0 comments

SXSW Used AI-Powered Trademark Tool to Censor Dissent on Instagram

https://www.404media.co/sxsw-used-ai-powered-trademark-tool-to-censor-dissent-on-instagram/
2•Brajeshwar•12m ago•0 comments

Crypto agents need deterministic rails

https://b3os.org/blog/reliable-rails-for-unreliable-agents
3•seangeng•12m ago•3 comments

Linux 7.0 Broke PostgreSQL: The Preemption Regression Explained

https://read.thecoder.cafe/p/linux-broke-postgresql
2•0xKelsey•13m ago•0 comments

I built a tiny C library to catch memory bugs earlier without rewriting in Rust

https://github.com/attilatorda/SaferCode
1•AttilaT•13m ago•0 comments

FDA launches effort to speed up clinical trials using AI

https://www.statnews.com/2026/04/28/fda-real-time-clinical-trials-pilot-project-astrazeneca-amgen...
1•brandonb•13m ago•0 comments

Writing won't make you a living

https://thebaffler.com/odds-and-ends/the-profession-that-does-not-exist-symposium
2•bookofjoe•13m ago•0 comments

Building a browser VDJ deck with AI: 97% prompt cache rate, $1.2k in API spend

https://slerp.audio/blog/index.html
1•poshmosh•13m ago•0 comments

Show HN: Clef – Manage secrets in Git with SOPS + plugin production delivery

https://github.com/clef-sh/clef
1•james-clef•14m ago•0 comments

GitHub's Downfall

https://whynothugo.nl/journal/2026/04/29/on-githubs-downfall/
4•speckx•15m ago•0 comments

Making AI chatbots friendly leads to mistakes and support of conspiracy theories

https://www.theguardian.com/technology/2026/apr/29/making-ai-chatbots-more-friendly-mistakes-supp...
2•Cynddl•15m ago•1 comments

Verifying Humans Without Surrendering Identity to Centralized Systems

https://blog.trintler.me/2026/04/28/Verifying-Humans-Without-Surrendering-Identity/
2•kedislav•16m ago•0 comments

Biology Is a Burrito

https://burrito.bio/essays/biology-is-a-burrito
2•mailyk•17m ago•0 comments

Show HN: Snitchmd – Cloudflare-protected URLs into clean Markdown via Docker

https://github.com/syabro/snitchmd
2•syabro•18m ago•0 comments