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!

Do AI coding agents care about SemVer or is it something for humans only?

https://developer.microsoft.com/blog/do-ai-coding-agents-care-about-semver/
1•waldekm•30s ago•0 comments

TOKENME.txt – Decoupling declarative codebase state from AGENTS.md

https://github.com/endean-eng/tokenme
1•endean-eng•55s ago•0 comments

Two Dimensional Version Control

https://www.redblobgames.com/blog/2026-09-27-jujutsu-experience/
2•ibobev•1m ago•0 comments

Castration extends life span, but in a surprising way, mouse study suggests

https://www.science.org/content/article/castration-extends-life-span-surprising-way-mouse-study-s...
1•amelius•1m ago•0 comments

Reverse engineering a vintage diode-transistor logic chip

https://www.righto.com/2026/11/signetics-st680a-dtl-nand.html
1•ibobev•2m ago•0 comments

Payments Canada announces launch of Canada's Real-Time Rail (RTR) payment system

https://globalnews.ca/news/12142666/real-time-rail-payments-canada/
2•ocd•2m ago•0 comments

Do programmers dream of electric poems? (2021)

https://olano.dev/blog/do-programmers-dream-of-electronic-poems/
1•facundo_olano•4m ago•0 comments

SoundCraft: An open-source, clean-room digital audio workstation in pure Rust

https://github.com/storytold/soundcraft
1•nedrylandJP•4m ago•0 comments

XDG Base Directory Specification

https://specifications.freedesktop.org/basedir/latest/#index
1•thisisauserid•8m ago•0 comments

Eighteen months building an agentic brain

https://ybentov.substack.com/p/eighteen-months-building-an-agentic
1•yogevbentov•8m ago•1 comments

Apply YC's editing restrictions are client-side

https://twitter.com/sebmandal/status/2119746389383221391
4•sebmandal•10m ago•3 comments

Host a Valheim Dedicated Server

https://railyard.run/blog/self-host-valheim-server/
1•RailyardRun•11m ago•0 comments

Orsted's Revolution Wind Commissioned [New England Wind Farm]

https://www.renews.biz/offshore-wind/orsteds-revolution-fully-commissioned/
1•toomuchtodo•12m ago•1 comments

Development Update – Q4 2026 – Darling Development Blog

https://blog.darlinghq.org/2026/11/08/development-update-q4-2026/
1•rbanffy•12m ago•1 comments

IBM, AMD, and Oak Ridge Unveil Quantum Error Correction Platform

https://www.nextplatform.com/compute/2026/11/06/ibm-amd-and-oak-ridge-unveil-quantum-error-correc...
1•rbanffy•15m ago•0 comments

uBlock Origin Can't Block Facebook Ads

2•anidsiam•16m ago•1 comments

Scientists May Have Discovered a Starless Galaxy

https://www.wired.com/story/scientists-discover-massive-starless-galaxy/
1•Brajeshwar•16m ago•0 comments

Weight-space programming: editing Qwen3.5 into a top Pac-Man decision model

https://opper.ai/blog/jevlar-weight-space-programming
2•felix089•17m ago•0 comments

Streaq: Fast, async, fully-typed distributed Python task queue via Redis streams

https://github.com/tastyware/streaq
1•stefanvdw1•17m ago•0 comments

Show HN: 3D to 2D, point clouds flattening (geometry images)

https://github.com/Neighborhood-Grid/flatpoints
1•adec314•18m ago•0 comments

What 1.5T tokens a month will cost you

https://www.peterp.me/articles/what-1-5-trillion-tokens-a-month-actually-costs/
2•thegreatpeter•18m ago•0 comments

Man arrested in Tokyo for deploying fake base station to conduct phishing scams

https://www.tokyoreporter.com/japan-news/chinese-national-arrested-for-deploying-fake-base-statio...
1•iamnothere•20m ago•0 comments

AI-Assisted Coding: Working Well with Coding Agents

https://nokku.payanai.com/learn/courses/ai-assisted-coding-working-well-with-coding-agents
2•payanai•21m ago•0 comments

Pushing the Limits with Getaddrinfo

https://acid.vegas/blog/pushing-the-limits-with-getaddrinfo/
1•lladnar•21m ago•0 comments

Show HN: Lampjack - live 3D visuals that follow your music

https://lampjack.app/
1•jamiemcdonnell•21m ago•1 comments

The Forgotten Woman Who Revolutionized Microbiology with a Simple Kitchen Staple

https://www.smithsonianmag.com/history/meet-the-forgotten-woman-who-revolutionized-microbiology-w...
1•thunderbong•21m ago•0 comments

I wrote the BEAM book (2025)

https://happihacking.com/blog/posts/2025/why_I_wrote_theBEAMBook/
1•zenincognito•22m ago•0 comments

Rust Harness for Abliterated Models

https://github.com/GregoryBolshakov/viy
1•gubidonius•24m ago•0 comments

Show HN: FloodRoute – Scrub through the tide and watch which streets flood

https://floodroute.com
3•hoag•24m ago•0 comments

The same H100 costs $2.69 or $12.29 an hour depending where you rent it

https://github.com/datareceipts/data-receipts/tree/main/109-gpu-pricing
2•datareceipts•24m ago•0 comments