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!

Original Sony MiniDisc Announcement (1991)

https://www.minidisc.org/sony_announcement.html
1•Tomte•1m ago•0 comments

LLM models are not ready for orchestrating many agents

1•daemon_9009•1m ago•0 comments

"Run the agent program" in 1978

https://www.youtube.com/watch?v=4xPzYmj1QLs
1•Jonovono•8m ago•1 comments

Privacy is becoming more of a privilege

https://blog.avas.space/privacy-privilege/
1•speckx•9m ago•0 comments

OpenAI and Malta partner to bring ChatGPT Plus to all citizens

https://openai.com/index/malta-chatgpt-plus-partnership/
5•bookofjoe•11m ago•0 comments

The Quiet Renovation at Bitwarden

https://blog.ppb1701.com/the-quiet-renovation-at-bitwarden
2•DaSHacka•12m ago•0 comments

What breaks when you ship Next.js on Cloudflare Workers

https://finterm.xyz/blog/nextjs-on-cloudflare-workers
1•qemuguest•15m ago•1 comments

Microsoft Exchange Server Spoofing Vulnerability New

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42897
1•doener•15m ago•0 comments

Pretext-breaker – a configurable block-breaker easter egg for React apps

https://github.com/y-lakhdar/pretext-breaker
1•ylakhdar•16m ago•0 comments

Microsoft Exchange: Zero-day vulnerability is being attacked

https://www.heise.de/en/news/Microsoft-Exchange-Zero-day-vulnerability-is-being-attacked-11295808...
1•doener•16m ago•0 comments

Show HN: I stripped GNSS/BT/NFC from GrapheneOS and built a RAM-only messenger

https://arpokrat.com
1•anthonype•18m ago•0 comments

ClickBook – Offline Android eReader with local LLM inference via llama.rn

https://play.google.com/store/apps/details?id=com.clickbook.reader&hl=en_US
1•elcooo•20m ago•1 comments

A History of Quality in Software Engineering

https://roberthopman.com/history-of-quality-in-software-engineering/
1•speckx•21m ago•0 comments

Create anime-style videos from your ideas in minutes

https://www.gocrazyai.com/
1•gocrazyai•22m ago•0 comments

Breaking the code: Multi-level learning in the Eurovision Song Contest

https://royalsocietypublishing.org/rsos/article/13/4/251727/481541/Breaking-the-code-Multi-level-...
1•Tomte•28m ago•0 comments

Linux devs are fighting the new age-gated internet

https://www.theverge.com/tech/930573/age-verification-bills-linux-open-source
2•speckx•30m ago•1 comments

Show HN: Stoic AgentOS - Open-source operating system for AI agent fleets

https://github.com/benjaminkernbaum-ux/stoic-agentos
1•bk0•33m ago•0 comments

Show HN: Mpvc, minimal music player for controling mpv from the shell

https://gmt4.github.io/mpvc/
1•gmt4•34m ago•0 comments

Swatch Royal Pop: A Grotesque Spectacle of the Absurd

https://www.wespiser.com/posts/2026-05-16-spectacle-absurd.html
1•wespiser_2018•35m ago•0 comments

Kelvin versioning

https://wiki.xxiivv.com/site/kelvin_versioning.html
1•manwithaplan•45m ago•1 comments

A multiplicity of tomorrows: Imagining 299 climate intervention futures

https://www.sciencedirect.com/science/article/pii/S1462901126000626
1•rbanffy•49m ago•0 comments

American Keiretsu: A World of Increasing Interconnectivity (2025)

https://www.lom.com/american-keiretsu-a-world-of-increasing-interconnectivity/
1•walterbell•49m ago•0 comments

A Pragmatic Beginner's Guide to Introducing AI to Your Engineering Workflow

https://jeffammons.com/2026/05/05/a-pragmatic-beginners-guide-to-introducing-ai-to-your-engineeri...
2•jammons•49m ago•0 comments

Interpolatable Archives

https://goodinternet.substack.com/p/on-interpolatable-archives-clean
1•walt74•50m ago•1 comments

Show HN: I built a screen recorder that captures console logs, requests and more

https://userplane.io/
1•wizenheimer•51m ago•0 comments

America is experiencing a productivity miracle

https://www.economist.com/finance-and-economics/2026/05/11/america-is-experiencing-a-productivity...
2•andsoitis•51m ago•1 comments

Collective climate geoengineering futures through technology foresight exercise

https://www.sciencedirect.com/science/article/pii/S2214629625004104
1•rbanffy•52m ago•0 comments

Prometheus and Christ

https://hommepresse.substack.com/p/prometheus-and-christ
1•paulpauper•53m ago•0 comments

Show HN: Aggregating votes from US Congress representatives

https://usvote.fyi/
1•readonkeyless•53m ago•0 comments

If you can't get a job today, it's your fault

https://auren.substack.com/p/if-you-cant-get-a-job-today-its-your
4•paulpauper•53m ago•3 comments