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!

Show HN: Local-first resume generator with in-browser PDF rendering

https://resume.journy.live/
1•dlvktrsh•24s ago•0 comments

WebAssembly Explorer

https://mbebenita.github.io/WasmExplorer/
2•luu•28s ago•0 comments

Feds Seek Access to Three Texas State Parks for Border Wall

https://insideclimatenews.org/news/02042026/texas-state-parks-border-wall-construction/
1•geox•2m ago•0 comments

Debian Is Figuring Out How Age Verification Laws Will Impact It

https://www.phoronix.com/news/Debian-Undecided-Age-Laws
1•breve•4m ago•0 comments

A Python package for verifying PyPI attestations of other Python packages

https://github.com/Halfblood-Prince/trustcheck
1•halfblood1010•4m ago•1 comments

ACE on a USB→HDMI Adapter

https://blazelight.dev/blog/ms2160.mdx
1•theblazehen•5m ago•0 comments

LLM 'benchmark' – writing code controlling units in a 1v1 RTS

https://yare.io/ai-arena
2•levmiseri•10m ago•0 comments

Syd sandbox has new Tutorial

https://man.exherbo.org/sydtutorial.7.html
1•hayali•14m ago•0 comments

Making a Type Checker/LSP for Nix

https://johns.codes/blog/making-a-type-checker-lsp-for-nix
1•birdculture•18m ago•0 comments

The Oxygen Apocalpyse: how bacteria used a spin diode to wipe out ancient life

https://keiran-rowell.github.io/oxygen/2026-04-02-the-oxygen-apocalypse/
2•KR_compchem•19m ago•0 comments

Shibuya's New 'G-Cha and Ba-Cha' Cafe Is Run by Senior Citizens

https://spoon-tamago.com/shibuya-senior-citizen-cafe/
1•herbertl•19m ago•1 comments

Void: Netflix open-sources a model for physics-aware video object removal

https://firethering.com/void-ai-video-object-removal-physics/
1•steveharing1•19m ago•0 comments

Show HN: Dev Personality Test

https://personality.4m1r.dev/
1•4m1rk•21m ago•0 comments

Seat Pricing Is Dead

http://seatpricing.rip/
10•arnon•22m ago•1 comments

Mad Television Tycoon

https://store.steampowered.com/app/3565020/Mad_Television_Tycoon/
1•doener•27m ago•0 comments

Mecha: A flat-file content management system for minimalists

https://github.com/mecha-cms/mecha
2•indigodaddy•27m ago•0 comments

Show HN: Harness CLI – Open-source agent loop for long-running app development

https://github.com/hyspacex/harness-cli
1•huanyux•27m ago•0 comments

Offering 1 free hour on marketing and distribution for early builders

1•zonementale•33m ago•0 comments

Show HN: Weakmap – weak map for Go without use of finalizers

https://codeberg.org/yarmak/weakmap
1•Snawoot•34m ago•0 comments

Cindy Cohn: Privacy's Defender – Fighting Digital Surveillance for over 30 Years [video]

https://www.youtube.com/watch?v=APYidsm5FOs
2•verdverm•35m ago•0 comments

Dropping capitalist-individualism for democratic-socialist spiritualism

https://thenotoriousdmg.substack.com/p/non-alignment-and-its-consequences
4•himanshu7net•36m ago•0 comments

NASA Astronomy Picture of the Day

https://apod.nasa.gov/apod/astropix.html
1•lschueller•36m ago•1 comments

Google Now Lets You Change Your Gmail Address

https://www.wired.com/story/how-to-change-your-gmail-address/
3•mgh2•37m ago•1 comments

Camels, sailboats and poultry trucks: One man's no-fly journey around the world

https://www.cnn.com/2026/04/01/travel/egyptian-traveler-omar-nok-round-the-world-without-flying
2•NaOH•42m ago•0 comments

OpenClaw CVE and Security Advisory Tracker

https://github.com/jgamblin/OpenClawCVEs/
4•_____k•44m ago•0 comments

SEC Rubio Revokes Green Cards of Foreign Nationals W Ties to Iranian Terror

https://www.state.gov/releases/office-of-the-spokesperson/2026/04/secretary-rubio-revokes-green-c...
1•737min•44m ago•0 comments

All the Worst People Seem to Want to Be 'High Agency'

https://www.nytimes.com/2026/04/01/opinion/high-agency-silicon-valley.html
7•mrkaye97•44m ago•1 comments

Should you upload blood test results to AI?

https://www.wsj.com/tech/ai/health-data-perplexity-claude-ai-d792a2df
3•bookofjoe•45m ago•1 comments

OpenRouter Raises $120M at a $1.3B Valuation

https://www.inc.com/ben-sherry/openrouter-helps-companies-pick-the-best-ai-for-the-job-and-could-...
4•ryanatallah•47m ago•2 comments

Local LLM for OpenCode Gemma 4 26B A4B. No GPU required

https://grigio.org/the-best-local-llm-for-opencode-gemma-4-26b-a4b-no-gpu-required/
2•grigio•48m ago•0 comments