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!

Beyond Horizon analysis: Planet Labs – persistent friction

https://beyondhorizonforesight.substack.com/p/beyond-horizon-analysis-planet-labs
1•beyondhorizonfs•39s ago•0 comments

Testing Claude Sonnet 5's agentic claims

https://developer.puter.com/blog/claude-sonnet-5-puter-js/
1•reynaldi•3m ago•0 comments

How to Survive 3 Years in North Korea as a Foreigner

https://mydiplomaticlife.com/how-to-survive-3-years-in-north-korea-as-a-foreigner/
1•chipndale•5m ago•1 comments

A First Course in Causal Inference

https://arxiv.org/abs/2305.18793
1•Anon84•8m ago•0 comments

Why Major Tech Companies Are Investing in Video Streaming Architecture

https://www.forbes.com/councils/forbestechcouncil/2026/07/02/the-real-reason-major-tech-companies...
1•mondainx•10m ago•0 comments

Costco Is the Anti-Amazon

https://phenomenalworld.org/analysis/the-anti-amazon/
1•bookofjoe•11m ago•1 comments

The Inside Story Of Leverage Research 1.0

https://lydialaurenson.substack.com/p/the-inside-story-of-leverage-research
1•bluepeter•11m ago•0 comments

Factories Are Just Rooms

https://interconnected.org/home/2026/07/03/factories
1•arbesman•12m ago•0 comments

Agentic Symphony: Multi-Agent Collaboration for Emergent Musical Composition

https://www.youtube.com/watch?v=QMUXoImgTIA
1•dennisjoseph•12m ago•0 comments

PrivAiTe: Self-hosted proxy that redacts PII from LLM calls, incl. tool-calls

https://github.com/crp4222/PrivAiTe
1•crp4222•13m ago•0 comments

Another Side Project

https://myprolink.info/
1•mr_betamax•15m ago•0 comments

What we learned building a multi-agent PDF table extractor

https://unstract.com/blog/multi-agent-pdf-table-extraction/
1•naren87•15m ago•0 comments

America, 1926: What a Forgotten 100-Year-Old Report Says About Who We Are

https://www.derekthompson.org/p/america-1926-an-absurdly-deep-dive
1•momentmaker•17m ago•0 comments

Why are we still uploading PDFs just to compress them?

https://lumli.io/blog/pdf-compression-cloud-subscription-2026
1•lumli•18m ago•0 comments

Best Simple System for Now

https://dannorth.net/blog/best-simple-system-for-now/
2•daan-k•19m ago•0 comments

Show HN: AI latent space with overlapping manifolds

https://github.com/PJHkorea/Egregore/blob/main/integrated_egregore_core_test_v6_4.py
1•PJHkorea•20m ago•3 comments

The Honest SendGrid Inbound Parse Alternative – MailKite

https://mailkite.dev/blog/sendgrid-inbound-parse-alternative/
1•bucabay•21m ago•0 comments

Jamesob's guide to running SOTA LLMs locally

https://github.com/jamesob/local-llm
2•livestyle•22m ago•0 comments

It Still Can't Do My Job: Four Years of Moving Goalposts (2022–2026)

https://publicznyprofil.github.io/ai_cant_do_your_work/
11•mydreamof•23m ago•5 comments

The and Justice for All" Book Club

https://markmbello.substack.com/p/please-join-us-tomorrow
1•lawsuitllc•24m ago•0 comments

Battery startups see 'crazy' demand to smooth power surges in data centers

https://www.ft.com/content/55c10ef1-1589-47b2-9fa8-a2a04f5cf316
2•alephnerd•26m ago•0 comments

Dropway: Share LLM artifacts with your team

https://www.hugedomains.com/domain_profile.cfm?d=dropway.com
1•d_pang•27m ago•0 comments

Show HN: SigRank – Competitive Stat Screen and Operator Performance Evals O7

https://github.com/SunrisesIllNeverSee/sigrank-app
1•Burnmydays•28m ago•0 comments

Golden Paths Weren't Built for Agents

https://www.massdriver.cloud/blogs/golden-paths-werent-built-for-agents-part-1
1•mooreds•29m ago•0 comments

AI coding is addictive. Engineers are paying the price

https://leaddev.com/ai/ai-coding-is-addictive-engineers-are-paying-the-price
3•sefrost•31m ago•1 comments

Mistral vs. Claude on our onboarding: 4× faster, 30% cheaper

https://squidler.io/blog/eu-models-1-discovery-mistral
1•tidbeck•34m ago•0 comments

How Fighter Jets Lock on (and How the Targets Know) (2014)

https://gizmodo.com/how-fighter-jets-lock-on-and-how-the-targets-know-1644871272
3•downbad_•34m ago•2 comments

Give Smart People the Tools to Do Smart Things

https://superuserdone.com/posts/2026-07-03-give-smart-people-the-tools/
2•SuperUserDone•36m ago•0 comments

Well, the Steam Machine was pretty cool for the 20 minutes that it worked

https://old.reddit.com/r/steammachine/comments/1ulzo6a/well_the_steam_machine_was_pretty_cool_for...
1•HelloUsername•36m ago•0 comments

Pilot Shell: Spec-driven plans; enforced quality gates; persistent knowledge

https://github.com/maxritter/pilot-shell
1•sea-gold•36m ago•0 comments