frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y 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!

Socratic Spiral Learning with LLMs

https://abhichavali.com/posts/socratic-spiral-learning-with-llms/
1•chabi•4m ago•0 comments

Show HN: Spin up MCU simulations like VMs

https://simulator86.com/blog/simulator86-sdk/
1•grog_6•14m ago•0 comments

Trump admin blocks foreign access to Anthropic's most powerful AI models

https://www.axios.com/2026/06/12/anthropic-trump-mythos-fable-national-security
8•some-guy•31m ago•1 comments

Show HN: Full browser interaction from CLI for AI

https://www.webcli.sh/?hn
1•keepamovin•31m ago•0 comments

Humans in the Way [video]

https://www.youtube.com/watch?v=ruzZ5UDm-MM&list=PLyfdekfVUs1zBkdxO99rhEJ695mMzGso6
1•satisfice•36m ago•1 comments

Quantum Field Screensaver

https://rogmash.neocities.org/quantumfield
2•rogmash•38m ago•0 comments

Ask HN: What will be the next big memory management system for AI Agents?

1•AlanAAG•39m ago•0 comments

Mexico's president meeting with Ben Horowitz, from a16z

https://twitter.com/Claudiashein/status/2065497274893905938
2•aylmao•40m ago•1 comments

UnpredictaBench: A Benchmark for Evaluating Distributional Randomness in LLMs

https://arxiv.org/abs/2606.06622
1•matt_d•42m ago•0 comments

Show HN: Pilang – A scripting language and VM written in C

https://github.com/rolandbrake/pilang
1•rolandbrake•42m ago•0 comments

The Mysterious Woman Behind the Nord Stream Explosion

https://www.wsj.com/world/europe/nord-stream-explosion-pipeline-9a109da9
2•nradov•49m ago•0 comments

Glacial Valley

https://github.com/deedy/glacial-valley
1•tanelpoder•49m ago•0 comments

Linear Algebra Kernels for the Age of Research

https://www.gpumode.com/news/linear-algebra-kernels-age-of-research
1•matt_d•53m ago•0 comments

Russia builds up infrastructure near Europe's border to deploy over 100k troops

https://www.pravda.com.ua/eng/news/2026/06/10/8038671/
2•Bender•55m ago•0 comments

From a Single File to an MCP Server: Six Rewrites of My Own Harness

https://pub.towardsai.net/from-a-single-file-to-an-mcp-server-six-rewrites-of-my-own-harness-74b4...
3•tacoda•57m ago•0 comments

Agentifying Agent Assessment for Openness, Standardization, and Reproducibility

https://arxiv.org/abs/2606.13608
1•tcp_handshaker•1h ago•0 comments

Pink Cosmo Blueberries

https://www.baldorfood.com/product/blueberries/be3p-pink-cosmo-blueberries
1•mooreds•1h ago•0 comments

Why Tomatoes Are the Most Expensive They've Been in Four Decades [audio] [video]

https://www.youtube.com/watch?v=pUrIlUAo0kM
1•mooreds•1h ago•0 comments

What Do Engineers Mean When We Say "Taste"?

https://davegriffith.substack.com/p/what-do-engineers-mean-when-we-say
1•mikez302•1h ago•0 comments

Latent learning: episodic memory complements parametric learning

https://openreview.net/forum?id=RuWGeX5ZiB
2•matt_d•1h ago•0 comments

Erdős Problems and Speculations about the Power of AI Models

https://www.youtube.com/watch?v=KbNctTQnVHI
1•maayank•1h ago•0 comments

Show HN: Agent Joe – a Rust only coding agent with no shell access

https://github.com/Kapperchino/agent-joe
1•kapperchino•1h ago•0 comments

I Think They [Anthropic] Are Lying to You [video]

https://www.youtube.com/watch?v=zfYsSFY4l18
23•salutis•1h ago•9 comments

Digg

https://digg.com/tech
2•ahmedfromtunis•1h ago•1 comments

I created a facet search over music composition (no AI)

https://monictheory.com
1•midi_finder•1h ago•1 comments

Ring Holders Club – NBA draft-and-SIM playoff run, plus a daily tactics puzzle

https://www.ringholders.club/
3•pipnonsense•1h ago•0 comments

Stackit – European Hyperscaler and Cloud Provider

https://stackit.com/en
1•tomrod•1h ago•0 comments

For People with Misophonia, Everyday Noises Can Be Agony

https://www.newyorker.com/magazine/2026/06/15/for-people-with-misophonia-everyday-noises-can-be-a...
1•fortran77•1h ago•0 comments

'Crisis averted' as experts confirm universe's expansion is accelerating

https://ras.ac.uk/news-and-press/research-highlights/crisis-averted-experts-confirm-universes-exp...
2•hhs•1h ago•0 comments

Espressif Modules

https://esp32.atomic14.com/modules/
1•iamflimflam1•1h ago•0 comments