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!

1•chatcomparison•31s ago

The Great Reset: Navigating a Turbulent Post-AI World

https://breadcrumb.vc/the-great-reset-navigating-a-turbulent-post-ai-world-4b5b4d434c5b
1•sameer_singh17•3m ago•0 comments

Fried Quotations

https://docs.factorcode.org/content/article-fry.html
1•tosh•4m ago•0 comments

Keeping your GitHub Actions and workflows secure: Preventing pwn requests (2021)

https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/
1•thinkingemote•4m ago•0 comments

Show HN: Aptui-TUI package manager for APT-based Linux distributions

https://github.com/mexirica/aptui
1•mexirica•4m ago•0 comments

Show HN: Alacritree, terminal with built-in worktree management

https://github.com/mathix420/alacritree
1•mathix•7m ago•0 comments

Is the modern premium EDC knife markup justified?

http://Link:paragon-knives.com
1•bgzlsxaz•7m ago•0 comments

Rob Pike: Tech industry losing its soul

https://hachyderm.io/@robpike/116557975987213548
1•anygivnthursday•8m ago•0 comments

Fortress Co-Founder Allegedly Extorted by Sexual Partner

https://www.wsj.com/us-news/law/fortress-co-founder-allegedly-extorted-by-sexual-partner-ee9d6666
2•Michelangelo11•10m ago•0 comments

Arene Base

https://github.com/woven-by-toyota/arene-base
1•intern4tional•10m ago•2 comments

Made a New Side Project - Free to use

https://old.reddit.com/r/sideprojects/comments/1tabelm/finished_making_this_url_shortener_complet...
1•godlymod•11m ago•0 comments

Build, edit, and analyze forms directly in Claude

https://www.jotform.com/claude/
1•aytekin•12m ago•0 comments

Linux bitten by second vulnerability in as many weeks

https://arstechnica.com/security/2026/05/linux-bitten-by-second-severe-vulnerability-in-as-many-w...
3•isaacfrond•14m ago•0 comments

Show HN: An implementation of Common Lisp in development, reached version 1.6

https://savannah.nongnu.org/news/?id=10889
1•andreamonaco•14m ago•0 comments

Relieving power grids: Parked electric cars charge electric ferries

https://www.heise.de/en/news/Relieving-power-grids-Parked-electric-cars-charge-electric-ferries-1...
1•doener•14m ago•0 comments

Improving Technical Documentation with Mermaid Diagrams

https://mdview.io/s/mermaid-diagrams-for-software-developers
2•Igor_Wiwi•19m ago•0 comments

LLM Hallucinations in the Wild

https://arxiv.org/abs/2605.07723
1•anygivnthursday•20m ago•1 comments

Peter Wang: The Life of Py My First 20 Years of Python [video]

https://www.youtube.com/watch?v=dtS0SEdhbbg
1•tosh•21m ago•0 comments

CSS Rhythmic Sizing Module Level 1

https://www.w3.org/TR/css-rhythm-1/
1•gudzpoz•23m ago•0 comments

Strange crystals found inside wreckage from the first nuclear bomb test

https://www.scientificamerican.com/article/strange-crystals-found-inside-wreckage-from-the-first-...
2•beardyw•24m ago•0 comments

Can a Language Model Paint?

https://www.etive-mor.com/blog/can-a-language-model-paint/
3•liamlaverty•25m ago•2 comments

The Scrum decline: It's three years later, and I was right

https://www.leadinginproduct.com/p/scrum-decline
1•benkan•26m ago•0 comments

Anthropic's Mythos was greatest marketing stunt ever, says cURL creator

https://www.theregister.com/security/2026/05/11/anthropics-bug-hunting-mythos-was-greatest-market...
1•isaacfrond•26m ago•0 comments

Microsoft researchers find AI models and agents can't handle long-running tasks

https://www.theregister.com/ai-ml/2026/05/11/microsoft-researchers-find-ai-models-and-agents-cant...
2•beardyw•29m ago•0 comments

Show HN: I built a fair-price checker App for home repairs using BLS wage data

https://apps.apple.com/us/app/quotebuster/id6765996986
3•manojtrek•32m ago•0 comments

I Think I Figured Out What an AI IDE Looks Like

https://taoofmac.com/space/blog/2026/05/12/0720
1•rcarmo•33m ago•0 comments

Universal Approach to Self-Referential Paradoxes (2003)

https://arxiv.org/abs/math/0305282
1•measurablefunc•33m ago•0 comments

The Human Body's Hidden Pathways

https://www.nytimes.com/interactive/2026/05/11/magazine/interstitium-anatomy-acupuncture-medicine...
2•wanderingmind•35m ago•0 comments

People Don't Buy Products, They Buy Better Versions of Themselves (2014)

https://buffer.com/resources/people-dont-buy-products-they-buy-better-versions-of-themselves/
3•downbad_•36m ago•0 comments

Toxicity on Social Media – The Noisy Room

https://thenoisyroom.com
1•skm•38m ago•0 comments