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!

Show HN: Task Manager for AI Agents (MCP, Opensource)

https://github.com/agentrq/agentrq
2•mrtnx•3m ago•0 comments

KeyStruck – Confirm what shortcut you just pressed without watching the menu bar

https://bendansby.com/apps/keystruck.html
2•webwielder2•5m ago•0 comments

Why Does Music in Science Fiction Sound Like That?

https://daily.jstor.org/why-does-music-in-science-fiction-sound-like-that/
1•tintinnabula•7m ago•0 comments

Weight-Loss Drugs May Reduce Buildup of Alzheimer's Proteins

https://www.sciencealert.com/weight-loss-drugs-may-reduce-buildup-of-alzheimers-proteins-major-re...
2•warbaker•13m ago•0 comments

Electrical current might be the key to a better cup of coffee

https://arstechnica.com/science/2026/04/electrical-current-might-be-the-key-to-a-better-cup-of-co...
2•signa11•14m ago•0 comments

Taiwan activates backup communications for island after undersea cable breaks

https://www.taipeitimes.com/News/taiwan/archives/2026/04/30/2003856520
4•keepamovin•18m ago•0 comments

Therac-25

https://en.wikipedia.org/wiki/Therac-25
2•0xcg•21m ago•0 comments

Green Software Foundation

https://github.com/Green-Software-Foundation
1•saikatsg•22m ago•0 comments

SpaceX just disclosed Musk's new compensation package

https://xcancel.com/gnoble79/status/2049597193670234341
2•doener•28m ago•0 comments

Queen Camilla Unites Winnie-the-Pooh with a Long-Lost Friend

https://www.nytimes.com/2026/04/29/books/queen-camilla-winnie-the-pooh.html
2•ChrisArchitect•32m ago•0 comments

Collective Speed Is Not the Summation of Individual Speed

https://blog.jim-nielsen.com/2026/collective-speed-isnt-the-sum-of-individual-speed/
2•zdw•34m ago•0 comments

Free Solar Radiation, Heat Flux,Temperature,Humidity Data from Dtdss Algorithm

https://cloud.fiaos.org/data/
1•iopoer•34m ago•0 comments

Copy Fail: 732 Bytes to Root on Every Major Linux Distribution

https://xint.io/blog/copy-fail-linux-distributions
10•eyalitki•39m ago•2 comments

What it takes to transpose a matrix

https://gudok.xyz/transpose/
1•signa11•40m ago•0 comments

Meta's multi-billion-dollar Graviton deal

https://www.tomshardware.com/tech-industry/artificial-intelligence/metas-multi-billion-dollar-gra...
1•y1n0•41m ago•0 comments

Tell HN: VS Code v1.117.0 automatically adds GitHub Copilot as your co author

4•adithyassekhar•41m ago•1 comments

Incompressible Knowledge Probes: Measuring what frontier models know

https://01.me/research/ikp/
3•wmf•42m ago•0 comments

Humanoid Robots Will Work as Baggage Handlers at Tokyo Airport

https://www.engadget.com/2160602/humanoid-robots-will-work-as-baggage-handlers-at-tokyo-airport/
2•y1n0•42m ago•1 comments

Iran Proposes Bitcoin Oil Toll

https://decrypt.co/363641/iran-bitcoin-payments-oil-ships-seeking-hormuz-passage
1•janandonly•42m ago•0 comments

Tesla Semi: first truck rolls off high-volume production line

https://electrek.co/2026/04/29/tesla-semi-first-truck-high-volume-production-line/
2•y1n0•43m ago•0 comments

House approves reauthorization of warrantless spy powers

https://thehill.com/homenews/house/5856102-warrantless-spy-powers-fisa-702/
1•divbzero•44m ago•0 comments

Why Model Collapse in LLMs Is Inevitable with Self-Learning

https://hackaday.com/2026/04/29/why-model-collapse-in-llms-is-inevitable-with-self-learning/
1•omer_k•45m ago•0 comments

Europe has a fuel problem: It doesn't know how much it has

https://www.politico.eu/article/europe-fuel-supply-problem/
3•leonidasrup•46m ago•0 comments

Half of 'long shot' Polymarket bets on military action are successful

https://www.ft.com/content/989d335e-275b-4cdc-b51d-4b29fd8895b0
2•petethomas•49m ago•0 comments

Ask HN: Is anyone still using the ChatGPT browser, Atlas?

3•widenrun•53m ago•0 comments

AI optimism surges in Asia, unlike in the U.S.

https://restofworld.org/2026/ai-optimism-asia/
2•TheWeiHu•1h ago•3 comments

The Shadow Glass

https://morrigan-tech.com/blog/the-shadow-glass/
1•milkglass•1h ago•0 comments

OpenObserve Raises $10M Series A

https://openobserve.ai/blog/series-a-announcement/
3•safeie•1h ago•0 comments

Monad Tutorials Timeline

https://wiki.haskell.org/Monad_tutorials_timeline
4•brudgers•1h ago•1 comments

Lessons from Building an OTel Normalizer for GenAI

https://www.groundcover.com/blog/otel-normalizer-genai-part-1
3•thebitofmyheart•1h ago•0 comments