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!

The OpenClaw Foundation

https://openclaw.ai/blog/introducing-openclaw-foundation
1•hrudolph•1m ago•0 comments

OpenAI's No. 2 Executive to Step Down in Latest Leadership Shake-Up

https://www.wsj.com/tech/openai-top-executive-fidji-simo-to-step-down-c3daca47
1•impish9208•4m ago•1 comments

28-Hour Day App

https://apps.apple.com/us/app/28-hour-day/id6752815000
2•28HourDev•6m ago•1 comments

Disney is exploring adding a free tier to Disney+ as YouTube draws TV viewers

https://www.businessinsider.com/disney-discusses-free-tier-viewers-youtube-2026-7
2•petethomas•11m ago•1 comments

Robots falling in love, DocSend reimagined, Wonder about net worth

https://www.marginpoints.com/issues/2026-07-08-ai-fundraising-agents-docsend-2026-wonder
1•historian1066•12m ago•0 comments

LA Metro: Ambient music played by live Los Angeles Metro data

https://metromusic.weisswideweb.com/
1•gnat•12m ago•1 comments

Federal Reserve announces leadership of its task forces for monetary policy

https://www.federalreserve.gov/newsevents/pressreleases/monetary20260709a.htm
2•petethomas•13m ago•0 comments

New ChatGPT desktop app combines Chat, Work, and Codex

https://help.openai.com/en/articles/20001276-moving-to-the-new-chatgpt-desktop-app
1•luckman212•13m ago•1 comments

Google pays $250K for Linux vulnerability, allowing guest VM escapes

https://arstechnica.com/security/2026/07/high-severity-guest-vm-escape-is-1-of-2-linux-vulnerabil...
1•redbell•14m ago•0 comments

RootMap – browse your photos by where you took them (free, local)"

https://apps.microsoft.com/detail/9nspfkjjx18s?hl=en-US&gl=US
1•StuMarkSez•17m ago•0 comments

Managed Agents by OpenComputer

https://www.managedagents.sh/
2•handfuloflight•22m ago•0 comments

Ask HN: Did Google give up in the AI Race?

4•franze•28m ago•4 comments

SensorFM: Towards a general intelligence and interface for wearable health data

https://research.google/blog/sensorfm-towards-a-general-intelligence-and-interface-for-wearable-h...
1•simonpure•28m ago•0 comments

GPT 5.6 Sol tops DeepSWE at 76% at 61% less cost than Fable

https://deepswe.datacurve.ai/
1•handfuloflight•31m ago•0 comments

Show HN: Context-aware AI social workspace to learn math

https://www.prooftree.ai
1•lemma1729•32m ago•0 comments

Rise of the Gen-Z Luddite

https://economist.com/united-states/2026/07/09/rise-of-the-gen-z-luddite
2•burntcaramel•33m ago•0 comments

What Is a Buffer? Bits/Bytes, Hex, Encoding, and TypedArray Memory

https://www.thenodebook.com/buffers/what-is-buffer
1•isht_0x37•34m ago•0 comments

The Thermodynamic Cost of Privacy

https://elma.dev/engineering/thermodynamic-cost-of-privacy
2•elmsec•35m ago•0 comments

Ignored Immune Upgrade [video]

https://www.youtube.com/watch?v=VF3RHOFC354
1•Bender•44m ago•0 comments

Cops Say Waymo Snitched on Teens for Allegedly Drinking and Shooting a Toy Gun

https://www.404media.co/waymo-called-police-on-teens-san-mateo/
5•Cider9986•45m ago•1 comments

Delsarte System of Dramatic Expression (1886)

https://publicdomainreview.org/collection/delsarte-system/
2•tylerdane•46m ago•2 comments

Get features faster with Chrome's two-week release cycle

https://developer.chrome.com/blog/chrome-two-week-release
1•Cider9986•46m ago•0 comments

Show HN: BastionRoute – A zero trust network access with zero inbound ports

https://github.com/klauscam/BastionRoute
1•tuta88•47m ago•1 comments

RegTech/Fintech Factory – Help Me

https://homeofficeosllc.com/
1•ervis441•49m ago•0 comments

QuerySelector Immediate Children With:Scope

https://siderite.dev/blog/queryselector-immediate-children-with-scope
1•gslin•50m ago•0 comments

A clean Full Screen Clock Online for any device –PC, laptop, tablet, or mobile

https://citytime.io/fullscreen-clock
3•rajkverma123•54m ago•0 comments

Graduating without a thesis: meet the people getting 'practical' PhDs in China

https://www.nature.com/articles/d41586-026-01242-z
1•sohkamyung•55m ago•0 comments

Fable is SOTA at CIFAR Speedrun: lessons on AI R&D automation

https://fulcrum.inc/2026/07/09/fable-cifar-speedrun.html
3•etherio•57m ago•0 comments

Gates Heir's Shopping App Took Credit for Sales It Didn't Drive

https://www.bloomberg.com/news/articles/2026-07-09/gates-heir-s-shopping-app-took-credit-for-sale...
3•toomuchtodo•58m ago•1 comments

Up the Stack: How AI's Escape from the Commodity Trap Risks Enterprise Lock-In

https://www.normaltech.ai/p/up-the-stack-how-ais-escape-from
1•randomwalker•1h ago•0 comments