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!

Ask HN: Is ageism in tech still a problem in 2026?

1•leonagano•1m ago•0 comments

Machines that think, Part 3: embodied intelligence

https://janbosch.com/machines-that-think-embodied-intelligence/
1•gmays•2m ago•0 comments

AI: Lot of "Hideous" Code but Found Bottlenecks for Faster Linux Compilation

https://www.phoronix.com/news/AI-To-Faster-Linux-Kernel-Comp
1•doener•7m ago•0 comments

27.5KB language-agnostic WebGPU syntax highlighter

https://gpu-lexer.vercel.app/
2•bpierre•8m ago•0 comments

US to ban Canadian dairy, alcohol, motor vehicle imports on September 29

https://www.reuters.com/business/us-ban-canadian-dairy-alcohol-motor-vehicle-imports-september-29...
2•JumpCrisscross•9m ago•0 comments

The spy who betrayed his country for 'Viagra'

https://www.the-independent.com/arts-entertainment/books/ben-macintyre-kgb-spy-redwood-sexual-dys...
1•pseudolus•10m ago•0 comments

China's used EV crisis: Why dealers reject 5-year-old electric cars

https://restofworld.org/2026/china-used-ev-depreciation-five-year-battery-warranty-dealers/
2•rdmuser•11m ago•1 comments

WHO validates Bhutan for eliminating dog-transmitted human rabies

https://www.who.int/news/item/04-09-2026-who-validates-bhutan-for-eliminating-dog-transmitted-hum...
2•thunderbong•20m ago•0 comments

Continual Harness: Online Adaptation for Self-Improving Foundation Agents

https://arxiv.org/abs/2605.09998
2•wslh•22m ago•1 comments

Show HN: Full feature ECS game engine for TypeScript

https://github.com/oasys-works/oecs
1•2khan•22m ago•0 comments

'Star Trek' Endures for the Next Generation, and the Next, and the Next

https://www.nytimes.com/2026/09/08/crosswords/intergenerational-star-trek-fandom.html
2•otoolep•27m ago•0 comments

Explain this to me like im 5 years old

https://laymans.vercel.app
1•wwolfson97•31m ago•0 comments

Client-side developer security tools that run with zero telemetry

https://envforge.aventinelabs.com
2•markbgilbert•32m ago•0 comments

Orionx Shutdown Raises Fresh Questions on Trust, Custody and Crypto Risk

https://predx-article.fika.bar/orionx-shutdown-raises-fresh-questions-about-trust-custody-01M1ZAE...
1•joeymabia1•39m ago•0 comments

Codex silently begs agents to make arbitrary web requests

https://spader.zone/wtf/
3•dboon•41m ago•0 comments

Cerebras's Laser Focus on Latency and Throughput

https://www.whatrunsai.com/research/cerebras
1•hmichaelson24•42m ago•1 comments

Wrangling blockchain RPC nodes, for dummies: Introducing Lasso

https://lasso.sh/
1•jaxernst•42m ago•0 comments

I resigned from Anthropic today

https://twitter.com/hilbertspaess/status/2097476196791709843#m
66•yurivish•42m ago•40 comments

Source code for small iOS app to show real-time charge rate, thermals, etc.

https://github.com/gregsramblings/ios-charging-monitor
1•gw5815•43m ago•1 comments

Bessent Dares Traders to Bet Against Yen: 'I Am the House Now'

https://www.bloomberg.com/news/articles/2026-09-08/bessent-dares-traders-to-bet-against-yen-i-am-...
1•petethomas•46m ago•0 comments

Ask HN: Would you hire a new engineer, or get 300k worth of tokens for the team?

3•websap•47m ago•1 comments

A Harvard PhD Is Designing Schizophrenia Drugs in His Garage with ChatGPT

1•wslh•47m ago•0 comments

Show HN: Browser-based Nginx config generator with live preview

https://tools.techtransit.org/nginx-generator
2•techgpt•1h ago•0 comments

MCP for Official Wildfire Incidents

https://docs.deepfire.co/ai/connect-to-ai
2•louiscb•1h ago•0 comments

The universal language of space is Star Trek? Mais oui

https://arstechnica.com/space/2026/09/astronaut-on-iss-celebrates-60-years-of-star-trek-with-prop...
2•rbanffy•1h ago•0 comments

The Growing Push to Ban Superintelligent AI

https://time.com/article/2026/09/08/ban-superintelligence-ai-uk-us-lawmakers/
3•lf88•1h ago•2 comments

What I learned gathering nootropic ratings

https://web.archive.org/web/20260313002349/https://troof.blog/posts/nootropics/#most-famous-nootr...
1•bilsbie•1h ago•0 comments

Where Understanding Stops Scaling

https://medium.com/@gurvinder372/article-12-where-understanding-stops-scaling-59cf85b17875
1•gps372•1h ago•0 comments

ChatGPT Voice has been brutally nerfed

https://www.reddit.com/r/ChatGPT/s/J2nPKbPeQq
1•wslh•1h ago•0 comments

Bullshit arguments about AI (not) replacing jobs (2023)

https://imadrahmoune.com/bullshit-ai-argument/
2•imadr•1h ago•1 comments