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!

Taking multi-master MariaDB for a spin, reproducing a Jepsen report

https://theconsensus.dev/p/2026/03/29/taking-galera-for-a-spin.html
1•eatonphil•58s ago•0 comments

Expi – Edit/Convert. That's It

https://getexpi.app
1•philematic•1m ago•1 comments

How to decorate a simple but effective child's birthday cake

https://blog.rtwilson.com/how-to-decorate-a-simple-but-effective-childs-birthday-cake/
1•surprisetalk•2m ago•0 comments

A Student AI Trap

https://escapethealgorithm.substack.com/p/the-student-ai-trap
1•surprisetalk•2m ago•0 comments

Culture Shift

https://www.asimov.press/p/culture-shift
1•surprisetalk•2m ago•0 comments

The underrated benefits of always having oatmeal at lunch

https://hazn.com/oatmeal
1•surprisetalk•2m ago•0 comments

Qwen3.6-Plus: Towards Real World Agents

https://qwen.ai/blog?id=qwen3.6
2•pretext•2m ago•0 comments

Linux Kernel Technical Deep-Dive Patterns

https://github.com/masoncl/review-prompts/blob/main/kernel/technical-patterns.md
1•prakashqwerty•3m ago•0 comments

Linux smashes past 5% on the Steam Survey for the first time

https://www.gamingonlinux.com/2026/04/linux-smashes-past-5-percent-on-the-steam-survey-for-the-fi...
1•speckx•4m ago•0 comments

Notes from from Butterick's Practical Typography

https://adamadam.blog/2026/04/01/my-notes-from-buttericks-practical-typography/
1•chilipepperhott•5m ago•0 comments

Codentify – Tobacco Tactics

https://www.tobaccotactics.org/article/codentify/
1•Antibabelic•6m ago•0 comments

Show HN: Argus – Self-hosted AI that monitors infra and explains what's wrong

https://github.com/precious112/Argus
1•PreciousH•6m ago•0 comments

MAI-Transcribe-1, MAI-Voice-1 and MAI-Image-2 are available in Foundry

https://microsoft.ai/news/today-were-announcing-3-new-world-class-mai-models-available-in-foundry/
1•aratahikaru5•6m ago•0 comments

Learn distributed systems by building real infrastructure on your laptop

1•hamidlabs•7m ago•0 comments

Wikigacha

https://wikigacha.com/?lang=EN
1•amarcheschi•7m ago•0 comments

The IT Department: Where AI Goes to Die (By Ethan Mollick)

https://www.economist.com/by-invitation/2026/04/01/the-it-department-where-ai-goes-to-die
1•edward•9m ago•0 comments

The political use of operating systems

https://thelibre.news/the-political-use-of-operating-systems/
3•speckx•9m ago•0 comments

Artemis Mission Reeks of Musk

https://unherd.com/2026/04/artemis-mission-reeks-of-musk/
1•voxleone•9m ago•0 comments

Flow-Like – Local-first workflow automation with WASM nodes (Rust)

https://github.com/TM9657/flow-like
1•flow-like•10m ago•0 comments

The Equilibrium Has Shifted

https://ghost.codenamejimmy.com/the-equilibrium-has-shifted/
1•woodylondon•11m ago•0 comments

Humans have been gambling since the Ice Age

https://www.scientificamerican.com/article/humans-have-been-gambling-since-the-ice-age/
1•Brajeshwar•11m ago•0 comments

On-Protocol Organizing

https://blog.muni.town/on-protocol-organizing/
1•erlend_sh•12m ago•0 comments

Meraki Teleworker Gateways: Office-Grade Security for Remote Workers

https://meraki.deal/blogs/news/securing-remote-workforce-meraki-teleworker-gateways
1•novbox•12m ago•0 comments

One-time pad encryption with DNA (Paris to Tokyo)

https://arxiv.org/abs/2603.17149
1•mavdol04•13m ago•0 comments

Show HN: Local-first agent memory loop 48hrs before the Claude Code leak

https://github.com/Bitterbot-AI/bitterbot-desktop
1•Doug_Bitterbot•13m ago•0 comments

Cleora – fast CPU-only graph embeddings

https://cleora.ai/
1•ZacnyLos•14m ago•0 comments

French consumer group sues Ubisoft over shutdown of online game 'The Crew'

https://www.reuters.com/technology/french-consumer-group-sues-ubisoft-over-shutdown-online-game-t...
2•guerby•14m ago•0 comments

The Lunacy of Artemis (2024)

https://idlewords.com/2024/05/the_lunacy_of_artemis.htm
1•rappatic•15m ago•0 comments

Missile defenses aren't failing–they're running out

https://gonzojournalism.substack.com/p/missile-shortages-and-attrition-warfare
1•KariDonovan•15m ago•0 comments

Show HN: I Talked to 500GB of Retail Data with Zero Domain Knowledge

https://medium.com/generative-ai/i-talked-to-500gb-of-retail-data-with-zero-domain-knowledge-ai-d...
1•agent_anuj•15m ago•1 comments