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!

Arcee-AI Trinity-Large-Thinking

https://huggingface.co/arcee-ai/Trinity-Large-Thinking
1•kristianp•28s ago•0 comments

April Fools' Day on the Web 2026

https://aprilfoolsdayontheweb.com/2026.html
1•jshprentz•5m ago•0 comments

Solar Balconies Take Europe by Storm

https://hackaday.com/2026/03/31/solar-balconies-take-europe-by-storm/
2•lxm•8m ago•0 comments

OpenRouter Introduces Arcee Trinity Large Thinking [video]

https://www.youtube.com/watch?v=Gc82AXLa0Rg
1•kristianp•9m ago•0 comments

Trinity Large Thinking

https://openrouter.ai/arcee-ai/trinity-large-thinking
2•kristianp•10m ago•1 comments

A Cat-and-Mouse Game of Russian Internet Restrictions and Evasion

https://www.nytimes.com/2026/03/31/world/europe/russia-internet-restrictions.html
1•lxm•10m ago•0 comments

Perplexity Says MCP Sucks

https://suthakamal.substack.com/p/perplexity-says-mcp-sucks
5•suthakamal•24m ago•1 comments

Why Swedish Schools Are Bringing Back Books

https://undark.org/2026/04/01/sweden-schools-books/
3•ohjeez•29m ago•0 comments

SpaceX Confidentially Files for US IPO with SEC

https://catenaa.com/markets/equities/spacex-confidentially-files-for-us-ipo-with-sec/
1•Murugaverl•29m ago•0 comments

The Startup That Used AI and OpenClaw to Automate Its Own Developers

https://www.wsj.com/tech/ai/meet-the-startup-that-used-ai-and-openclaw-to-automate-its-own-develo...
1•petethomas•30m ago•0 comments

A history of how high humanity has reached

https://www.abc.net.au/news/2026-04-02/the-artemis-ii-mission-to-the-moon/106300532
1•phocks•31m ago•0 comments

NASA's Artemis II Live Mission Coverage (Official Broadcast) [video]

https://www.youtube.com/watch?v=m3kR2KK8TEs
1•elsewhen•33m ago•1 comments

The Document Foundation's comment about the Collabora blog post

https://blog.documentfoundation.org/blog/2026/04/01/comment-about-collabora-blog-post/
1•lawrencejgd•34m ago•0 comments

Weather.com/Retro

https://weather.com/retro/
5•typeofhuman•37m ago•0 comments

MCP Server turned my NAS into a self-hosted AI assistant

https://www.xda-developers.com/this-mcp-server-turned-my-nas-into-a-self-hosted-ai-assistant/
1•saligne•38m ago•0 comments

Parasitic sleeping sickness creates 'invisibility cloak' to hide for years

https://www.popsci.com/health/sleeping-sickness-invisibility-cloak/
2•gmays•38m ago•0 comments

Field Amoeba – virtual creature simulation [video]

https://www.youtube.com/watch?v=I3Y9OdjFqRs
1•graphai•40m ago•1 comments

Organizations Using AI Are Confusing Temporary Friction with Permanent Safety

https://www.sentinelone.com/blog/the-implementation-blind-spot-why-organizations-are-confusing-te...
1•walterbell•47m ago•0 comments

Claude Code No Flicker Mode

https://twitter.com/bcherny/status/2039421575422980329
1•tzury•48m ago•0 comments

From Viral Sensation to Feature Film: Kane Parsons' 'The Backrooms'

https://nofilmschool.com/backrooms-trailer
1•firasd•54m ago•0 comments

The Genuine Sieve of Eratosthenes (2009) [pdf]

https://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf
1•susam•54m ago•0 comments

M 7.4 – 126 km WNW of Ternate, Indonesia

https://earthquake.usgs.gov/earthquakes/eventpage/us6000slss/executive
1•gnabgib•54m ago•1 comments

Mercor AI Breached via LiteLLM

https://xcancel.com/AlvieriD/status/2038779690295378004#m
1•measurablefunc•57m ago•0 comments

Slack deleted a large amount of workspaces

https://old.reddit.com/r/Slack/comments/1s9we70/workspace_deleted/
4•tifan•57m ago•1 comments

This Month in Ladybird – March 2026

https://ladybird.org/newsletter/2026-03-31/
3•exploraz•57m ago•0 comments

We asked seven AI models to do a simple task. Instead, they defied instructions

https://twitter.com/dawnsongtweets/status/2039451083005977009
4•tristanj•1h ago•1 comments

Es-toolkit: A lodash replacement that's 97% smaller and 2x faster

https://toss.tech/article/es-toolkit
2•bboydart•1h ago•0 comments

The Grammar at the Threshold of Its Own Execution

https://jimiwen.substack.com/p/si-wu-zi-acb
2•jimiwen•1h ago•0 comments

Notably absent from X during Artemis launch: Elon

2•boringg•1h ago•0 comments

Node.js 25.9.0 (Current) is out

https://nodejs.org/en/blog/release/v25.9.0
1•maneprajakta•1h ago•0 comments