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!

Radiation in Paduach

https://magazine.atavist.com/2026/toxic-lies-radiation-paducah
1•ezzaf•2m ago•0 comments

Tips for Landing a YC Internship?

2•cnnadozi•6m ago•0 comments

NASA Lessons Learned System

https://llis.nasa.gov/
1•ahsillyme•9m ago•1 comments

Arm's Cortex A55

https://chipsandcheese.com/p/arms-cortex-a55
2•pella•11m ago•0 comments

Californians' data deletion requests, DROP, become enforceable Aug. 1

https://www.nbcsandiego.com/nbc-7-responds-2/californians-data-deletion-requests-drop-become-enfo...
5•MilnerRoute•11m ago•0 comments

OpenAI’s amazing — but vastly oversold — new model Astra

https://garymarcus.substack.com/p/openais-amazing-but-vastly-oversold
1•champagnepapi•14m ago•0 comments

Show HN: Cl33-opLM, a 236M language model with a reversible operator bottleneck

https://cl33.t3atlas.dev/
1•MirrorEthic•17m ago•0 comments

QM: We read Y Combinator's company-wide agent runtime

https://runtimewire.com/article/inside-qm-we-read-y-combinator-s-company-wide-agent-runtime
2•ryanmerket•19m ago•0 comments

Infrared goggles that show colours

https://arstechnica.com/science/2026/07/see-the-heat-an-infrared-imaging-system-that-outputs-in-c...
1•Gaishan•21m ago•0 comments

Coldcard wallet RNG flaw likely linked to $88M Bitcoin theft

https://www.bleepingcomputer.com/news/security/coldcard-wallet-rng-flaw-likely-linked-to-88-milli...
1•sbulaev•21m ago•0 comments

Show HN: Mu – Tools for Agents

https://github.com/micro/mu
1•asim•21m ago•0 comments

Ask HN: What are you working on? (August 2026)

3•sarreph•23m ago•6 comments

Made an anime guessing game to play with friends

https://otakuguessr.com/
1•sachisroom•24m ago•0 comments

General Motors Streetcar Conspiracy

https://en.wikipedia.org/wiki/General_Motors_streetcar_conspiracy
1•jaredwiener•25m ago•0 comments

Play games with your brain signals using Octopus 16 wireless EEG device

https://www.cnx-software.com/2026/08/02/play-games-with-your-brain-signals-using-octopus-16-wirel...
1•Christiangmer•27m ago•0 comments

Tlbic: Expanded appendix on AI dialogue, plus a note on shared human wisdom

https://drive.google.com/file/d/14IKYzJavvzvbCL8GR0SkjzRmroMAaboN/view?usp=drive_link
1•michikawa59•33m ago•1 comments

What Is the Smallest (AI) Platform That Could Possibly Work?

https://buildtounderstand.org/explorations/what-is-the-smallest-ai-platform-that-could-possibly-w...
1•svenmalvik•34m ago•0 comments

T cells targeting SARS-CoV-2, EBV, and CMV stay in attack mode in Long Covid

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00363-0
1•thenerdhead•35m ago•0 comments

Show HN: Alfa. Killing AI hallucinations with resonance

https://github.com/ConsciousGroupMind/SKYNET-800---Collective-Intelligence-Forecasting-System
1•SKYNET800•37m ago•0 comments

How much AI can a maintainer get away with using without losing their humanity?

https://www.jvt.me/posts/2026/08/02/ai-maintainer/
2•zdw•40m ago•0 comments

My Personal Software Journey: Self-Hosting Agent-Built Apps on a Mac Mini

https://metedata.substack.com/p/016-my-personal-software-journey
1•young_mete•45m ago•0 comments

I ran a 1998 artificial life SIM at 560x speed and caught a rare easter egg [video]

https://www.youtube.com/watch?v=e5GRwnCE2Y0
1•robinduckett•46m ago•0 comments

How AI is expanding what people do at work

https://openai.com/index/how-ai-is-expanding-what-people-do-at-work/
2•gmays•48m ago•0 comments

Show HN: Testimonials.Free ~1 KB embed widget, zero layout shift

https://testimonials.free/
1•nadermx•57m ago•0 comments

Flock – Chilling Effects: Long Island's Emerging Open-Air Prison

https://www.11971.com/
3•mediaeater•58m ago•1 comments

Dan, a compression toolkit for anime line art with honest benchmarks

https://github.com/adnqcr7-code/Data-Adaptive-Network
1•kairos_agent•59m ago•1 comments

NY files $36B lawsuit against Kalshi, alleging illegal gambling operation

https://www.nbcsports.com/nfl/profootballtalk/rumor-mill/news/new-york-files-36-billion-lawsuit-a...
6•randycupertino•59m ago•2 comments

Do not trust the marketing IOPS on Consumer SSD

https://bsid.io/writing/the-ssd-that-cried-etcd
3•humbfool2•1h ago•0 comments

Let kids be kids: When collectibles lose their playfulness

https://quarters.captaintouch.com/blog/posts/2026-08-02-let-kids-be-kids:-when-collectibles-lose-...
1•capitain•1h ago•0 comments

Google Removes New Earth AI Tool a Day After Users Create Fake Disasters

https://deltiasgaming.com/google-removes-new-earth-ai-tool-a-day-after-users-create-fake-disasters/
2•randycupertino•1h ago•2 comments