HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
confident-ai
deepteam
Python2025–2025
confident-ai / deepteam

deepteam

DeepTeam is a framework to red team LLMs and AI agents.

2Distinct people
4Mentions
0Explicit recommenders
3.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

DeepTeam is a framework to red team LLMs and AI agents.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day4 dated mentions

Observed mentions: 2025-05-28 15:49:43 UTC to 2025-06-18 05:45:39 UTC.

0122025-05-28 00:00:00 UTC to 2025-05-29 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMay 282025-05-29 00:00:00 UTC to 2025-05-30 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments2025-05-30 00:00:00 UTC to 2025-05-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-31 00:00:00 UTC to 2025-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-01 00:00:00 UTC to 2025-06-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-02 00:00:00 UTC to 2025-06-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-03 00:00:00 UTC to 2025-06-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-04 00:00:00 UTC to 2025-06-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-05 00:00:00 UTC to 2025-06-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-06 00:00:00 UTC to 2025-06-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-07 00:00:00 UTC to 2025-06-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 72025-06-08 00:00:00 UTC to 2025-06-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-09 00:00:00 UTC to 2025-06-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-10 00:00:00 UTC to 2025-06-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-11 00:00:00 UTC to 2025-06-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-12 00:00:00 UTC to 2025-06-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-13 00:00:00 UTC to 2025-06-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-14 00:00:00 UTC to 2025-06-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-15 00:00:00 UTC to 2025-06-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-16 00:00:00 UTC to 2025-06-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-17 00:00:00 UTC to 2025-06-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-18 00:00:00 UTC to 2025-06-19 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 18

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 282025-05-28 00:00:00 UTC2025-05-29 00:00:00 UTC110
May 292025-05-29 00:00:00 UTC2025-05-30 00:00:00 UTC220
May 302025-05-30 00:00:00 UTC2025-05-31 00:00:00 UTC000
May 312025-05-31 00:00:00 UTC2025-06-01 00:00:00 UTC000
Jun 12025-06-01 00:00:00 UTC2025-06-02 00:00:00 UTC000
Jun 22025-06-02 00:00:00 UTC2025-06-03 00:00:00 UTC000
Jun 32025-06-03 00:00:00 UTC2025-06-04 00:00:00 UTC000
Jun 42025-06-04 00:00:00 UTC2025-06-05 00:00:00 UTC000
Jun 52025-06-05 00:00:00 UTC2025-06-06 00:00:00 UTC000
Jun 62025-06-06 00:00:00 UTC2025-06-07 00:00:00 UTC000
Jun 72025-06-07 00:00:00 UTC2025-06-08 00:00:00 UTC000
Jun 82025-06-08 00:00:00 UTC2025-06-09 00:00:00 UTC000
Jun 92025-06-09 00:00:00 UTC2025-06-10 00:00:00 UTC000
Jun 102025-06-10 00:00:00 UTC2025-06-11 00:00:00 UTC000
Jun 112025-06-11 00:00:00 UTC2025-06-12 00:00:00 UTC000
Jun 122025-06-12 00:00:00 UTC2025-06-13 00:00:00 UTC000
Jun 132025-06-13 00:00:00 UTC2025-06-14 00:00:00 UTC000
Jun 142025-06-14 00:00:00 UTC2025-06-15 00:00:00 UTC000
Jun 152025-06-15 00:00:00 UTC2025-06-16 00:00:00 UTC000
Jun 162025-06-16 00:00:00 UTC2025-06-17 00:00:00 UTC000
Jun 172025-06-17 00:00:00 UTC2025-06-18 00:00:00 UTC000
Jun 182025-06-18 00:00:00 UTC2025-06-19 00:00:00 UTC110

What Hacker News says

4 sources

Show HN: DeepTeam – Open-Source Red-Teaming Framework for LLM Security

Hi HN, I’m part of the Confident AI team and we’re excited to share DeepTeam, an open-source framework that makes it trivial to penetration-test your LLM applications for 40+ security and safety risks. It has gained 400 on GitHub over the last month, and we’d love your feedback! Quick Introduction - Detect vulnerabilities such as bias, misinformation, PII leakage, over-reliance on context, harmful content, and more - Simulate adversarial attacks with 10+ methods (jailbreaks, prompt injection, ROT13, automated evasion, data extraction, etc.) - Customize assessments to OWASP Top 10 for LLMs, NIST AI Risk Management, or your own security guidelines - Leverage DeepEval under the hood for robust metric evaluation, so you can run both regular and adversarial tests Getting Started # Install DeepTeam pip install -U deepteam # Clone t
Read the rest
he repo and run the example git clone https://github.com/confident-ai/deepteam.git cd deepteam python3 -m venv venv && source venv/bin/activate python examples/red_teaming_example.py In seconds you’ll see a pass/fail breakdown for each vulnerability along with detailed test-case output. You can convert the results to a pandas DataFrame or save them for downstream analysis. Why DeepTeam? Most LLM safety tooling focuses on known benchmarks—DeepTeam dynamically simulates attacks at runtime, so you catch novel, real-world threats and can track improvements over time via reusable attack suites. We’d love to hear: - Which vulnerabilities you worry about most - How you integrate red-teaming into your CI/CD pipelines - Feature requests, contributions, and your toughest jailbreak stories <https://github.com/confident-ai/deepteam>
4 points · Open discussion
jeffreyip·May 29, 2025Submission

DeepTeam: Penetration Testing for LLMs

Hi HN, we’re Jeffrey and Kritin, and we’re building DeepTeam (https://github.com/confident-ai/deepteam), 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 think
Read the rest
ing, 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-first-llm-vulnerability 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!
2 points · Open discussion
jeffreyip·May 29, 2025Submission

DeepTeam: Open-Source Pennetration Testing for LLMs

Hi HN, we’re Jeffrey and Kritin, and we’re building DeepTeam (https://github.com/confident-ai/deepteam), 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 think
Read the rest
ing, 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-first-llm-vulnerability 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 points · Open discussion
jeffreyip·May 28, 2025Submission

Show HN: DeepTeam – Penetration Testing for LLMs

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 t
Read the rest
his 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!
3 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.