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!

Where do residential proxies come from Reddit AMA

https://www.reddit.com/r/WebScrapingInsider/comments/1xf9hdj/where_do_residential_proxies_really_...
1•joinmassive•44s ago•0 comments

How a Children’s Book Got Me Reading Again

https://minhaj.pagecord.com/the-graveyard-book
1•minhajkhan1•2m ago•0 comments

Consciousness Is Not Physical

https://lukesmith.xyz/articles/consciousness/
1•enemyz0r•2m ago•0 comments

Cohere Qwen incident URL samples

https://huggingface.co/spaces/Vil-Lakera/curl-trace-explorer
1•patresh•3m ago•0 comments

Antigenic operating system for my AI agents Claude Code, open claw, codex etc.

https://github.com/Dodaios/Dodaios
1•Dodaios•3m ago•0 comments

Show HN: LeanCIL – Prove properties of compiled .NET code in Lean 4

https://github.com/NethermindEth/LeanCIL
1•rescendent•5m ago•0 comments

Show HN: Prolog-WAF – A reverse WAF logic perimeter powered by Prolog

https://prologwaf.site/
1•lokinpendawa•6m ago•0 comments

Digital radio-based train control system

https://en.wikipedia.org/wiki/European_Train_Control_System
1•avp210•8m ago•1 comments

Invasion of the Sexy A.I. Joke Thieves

https://www.nytimes.com/2026/10/29/arts/ai-bots-jokes-theft-comedians.html
2•jakubmazanec•9m ago•2 comments

Anthropic hacked to deliver remote access trojan

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-access-trojan-to-claude-developer-lap...
4•bashtoni•11m ago•0 comments

Laissez Faire, Laissez Mourir – Visualizing Plutocracy

https://david.alvarezrosa.com/posts/laissez-faire-laissez-mourir/
3•dalvrosa•13m ago•0 comments

Show HN: Anime Text Datasets for LLMs Training

https://github.com/muqeet-1138/anime-text-dataset
4•anitroves•15m ago•1 comments

Amazon, Alphabet, SpaceX and Meta are all to blame for the new tech stock rout

https://finance.yahoo.com/markets/stocks/article/amazon-alphabet-spacex-and-meta-are-all-to-blame...
1•__natty__•16m ago•0 comments

TornadoVM 8.0: Meet TC, TornadoVM's Own Compiler

https://www.tornadovm.org/blogs/tornadovm-8-0-0-tc-tornadovm-compiler
1•joshcsimmons•17m ago•0 comments

Unreleased Claude model turned a Linux kernel bug into a remote root exploit

https://twitter.com/intcyberdigest/status/2116081923902611934
1•rbanffy•17m ago•0 comments

Show HN: Stackapella, an open source web app for learning vocal harmony

https://stackapella.com/
1•hillelcoren•17m ago•0 comments

Show HN: Reduce: A Daily Puzzle

https://reduce.games
1•moonshot5•18m ago•0 comments

FB-cpp 1.0.0: A feature-complete modern C++ wrapper for Firebird

https://asfernandes.github.io/2026/09/04/fb-cpp-1-0-0
1•mariuz•19m ago•0 comments

Ask HN: Are you using a custom harness?

1•japhyr•22m ago•0 comments

Dockframe – modular USB hub compatible with Framework Expansion Cards

https://www.crowdsupply.com/hw-media-lab/dockframe
1•matthiaswh•24m ago•0 comments

A Self-Described 'Junkie' Rode Synthetic Drugs to Oblivion – and Fame

https://www.nytimes.com/2026/10/29/world/europe/synthetic-opioids-estonia.html
1•JumpCrisscross•25m ago•0 comments

Azure's Weakest Link – Five Full Cross-Tenant Compromises

https://www.binarysecurity.no/posts/2026/10/one-root-case
2•swq115•28m ago•0 comments

Simon Tatham: I often find typos cognitively fascinating

https://hachyderm.io/@simontatham/117529047077355923
4•ColinWright•33m ago•0 comments

Books: Discovering the Art of Mathematics

https://www.artofmathematics.org/books
1•agnishom•34m ago•0 comments

A local-first, private search engine for your Markdown knowledge base

https://benjaminetienne.com/blog/a-personal-markdown-search-engine/
1•betienne•35m ago•1 comments

Project Sunroof

https://sunroof.withgoogle.com/
1•thunderbong•36m ago•0 comments

'Yes in God's Backyard': Churches Are Turning Their Land into Affordable Housing

https://www.wsj.com/us-news/yes-in-gods-backyard-churches-are-turning-their-land-into-affordable-...
2•JumpCrisscross•37m ago•0 comments

PHP Composer 2.11 ships dependency cooldowns

https://blog.packagist.com/composer-2-11-release/
1•moebrowne•40m ago•0 comments

Nielsen Animation Day 2026 Reports

https://www.animationmagazine.net/2026/10/nielsen-animation-day-2026-reports-highlights-key-toon-...
1•vishnukvmd•42m ago•0 comments

The Price of Propaganda: What Governments Spend to Shape Foreign Opinion

https://www.thepricer.org/the-price-of-propaganda-what-governments-spend-to-shape-foreign-opinion/
1•marksmark•42m ago•0 comments