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!

RL Policy Churn

https://twitter.com/id_aa_carmack/status/2090514515129520516
1•tosh•3m ago•0 comments

Young Americans increasingly fear AI will take their jobs

https://www.pewresearch.org/short-reads/2026/08/18/young-adults-in-the-us-are-increasingly-wary-o...
2•01-_-•6m ago•0 comments

Mathematically Perfect solar array in Factorio [video]

https://www.youtube.com/watch?v=CDzJ1_p3uVg
1•operatorius•7m ago•0 comments

Pretraining a Mini Kimi K3

https://books.vizuara.ai/book/pretraining-a-mini-k3
1•ngaut•12m ago•0 comments

Trump Threatens 'Tremendous Consequences' for Countries Doing Business with Iran

https://canews24.online/?p=66
2•Edymilson•14m ago•1 comments

Are PDFs Getting Bigger? Analyzing PDF File Sizes from 2006–2025

https://pdf4wcag.com/blog-news/analysis-pdf-file-size
1•smartdev01•16m ago•5 comments

Social Listening for Agents

https://sociallisteningapi.com/
1•shash7•26m ago•1 comments

Teen drops lawsuit against Meta, Google, and Snap ahead of trial

https://www.msn.com/en-us/news/world/us-teen-drops-lawsuit-against-meta-google-and-snap-ahead-of-...
1•anigbrowl•28m ago•0 comments

Show HN: Argentic – An L402 Lightning toll booth for AI scraping agents

https://Argentic.network
2•Ag0146•32m ago•0 comments

AI CMS with WebMCP tools for agents in admin panel

https://aliothpress.com/cms-for-ai-agents-webmcp-built-in
1•nikariguel•36m ago•0 comments

The /Wayfinder Skill: Navigating the "Fog of War" of Planning

https://www.latent.space/p/wayfinder-skill
1•swyx•36m ago•0 comments

First giant tuna caught off Yorkshire since 1960s

https://www.bbc.com/news/articles/c9w04005veqo
2•teleforce•39m ago•0 comments

Robot Comment Classifier

https://entropicthoughts.com/ai-comment-classifier
2•kqr•39m ago•0 comments

Repository Is Your Swarm

https://nicktrevino.com/your-repository-is-your-swarm.html
2•Hyperlisk•46m ago•0 comments

Open Sourcing the YC Application

https://metorial.com/blog/open-sourcing-the-yc-application
2•LYFMail•48m ago•0 comments

Hilbert Curve

https://en.wikipedia.org/wiki/Hilbert_curve
4•pykello•49m ago•0 comments

Why Do We Feed Wildlife?

https://thetyee.ca/News/2026/08/20/Why-Do-We-Feed-Wildlife/
3•wertyk•52m ago•0 comments

Schooling Has a Meaning Crisis. Paradoxically, AI Can Help

https://blog.comini.in/p/schooling-has-a-meaning-crisis-paradoxically
1•vismit2000•52m ago•0 comments

GitHub Actions vs. GitLab Pipeline

https://medium.com/playground-tech/github-actions-vs-gitlab-pipeline-2368e9a27f68
1•caulagi•59m ago•0 comments

AWS Bedrock AgentCore enforces user context to prevent hijacked AI agents

https://techupdate24.com/aws-bedrock-agentcore-hijacked-ai-security/
2•sysadmin_diarie•59m ago•0 comments

Elven Rope, Ultra-High Molecular Weight Polyethylene, and LLMs (2025)

https://vgel.me/posts/elven-rope-and-llms/
2•networked•1h ago•0 comments

Testing CUDA kernel execution with GPU correctness harness

https://github.com/IshwaryaRavichandran/gpu-correctness-harness
2•laxmena•1h ago•0 comments

Show HN: Open source math games and puzzles

https://theorem.games/
3•Zebfross•1h ago•1 comments

Thousands of years of indoor air pollution

https://www.slowboring.com/p/thousands-of-years-of-indoor-air
4•neehao•1h ago•0 comments

A Man Who Proved the Blue Zones Are Fake – Saul Newman [video]

https://www.youtube.com/watch?v=1ZE5ml7a6rE
2•neehao•1h ago•1 comments

OpenAI Is Backing Away from Reddit as Reddit Tries to Become OpenAI?

https://gizmodo.com/openai-is-backing-away-from-reddit-as-reddit-tries-to-become-openai-2000800060
5•helsinkiandrew•1h ago•1 comments

Pitfalls of Benchmarking on Modern Systems

https://stefan-marr.de/2026/08/pitfalls-of-benchmarking-on-modern-systems/
2•matt_d•1h ago•0 comments

Escaping the Quicksand: A Call to Arms

https://arxiv.org/abs/2608.19674
1•ahsillyme•1h ago•0 comments

The Religious Experience of Philip K. Dick by R. Crumb (1986)

https://philipdick.com/resources/miscellaneous/the-religious-experience-of-philip-k-dick-by-r-cru...
13•wise_blood•1h ago•3 comments

Cognition and consciousness arise from analog computations, says new theory

https://picower.mit.edu/news/cognition-and-consciousness-arise-analog-computations-says-new-theory
6•XzetaU8•1h ago•1 comments