frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•7mo 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 State of DevOps Jobs in H2 2025

https://devopsprojectshq.com/role/devops-market-h2-2025/
1•thomster•1m ago•0 comments

The golden age of Indie software

https://www.markbernstein.org/Dec25/TheGoldenAge.html
1•hermitcrab•4m ago•0 comments

An Imprecision Problem

https://codeforces.com/blog/entry/149528
1•de_sousa•8m ago•0 comments

Giscus: A comments system powered by GitHub Discussions

https://giscus.app/
1•indigodaddy•9m ago•1 comments

Eastern Market Detroit

https://easternmarket.org/
1•marysminefnuf•12m ago•0 comments

Uv: An Fast Python Package Manager

https://www.janestreet.com/tech-talks/uv-an-extremely-fast-python-package-manager/
4•simonebrunozzi•13m ago•0 comments

Humanist Plumbing

https://www.tbray.org/ongoing/When/202x/2025/12/18/Humanist-Plumbing
1•praptak•16m ago•0 comments

Show HN: An AI-generated daily quiz app I built on my bike

https://www.dailyquiz.ai
1•GFuller•18m ago•0 comments

OGhidra: Automating dataflow analysis and vulnerability discovery via local LLMs

https://github.com/llnl/OGhidra
1•rmast•18m ago•1 comments

The Untold Story of the Nintendo Entertainment System [video]

https://www.youtube.com/watch?v=uJvpRGibFhg
1•zdw•20m ago•0 comments

Show HN: Jotter – A Note Keeping App

https://jotter.marstol.com/
1•sethhovestol•23m ago•1 comments

Zodiac Z13 Decryption on Colab – experts claim validation of Baber's decipher

https://colab.research.google.com/drive/19p4n1aMyeYte1jC4P3GKflMgD6xuZAvV
1•Artix187•25m ago•0 comments

China's TFR dev team has disbanded, following the arrest of its head dev by MSS

https://www.reddit.com/r/hoi4modding/s/5MTCy4s7HO
2•DustinEchoes•26m ago•1 comments

Amazon non-consensually forced TikTok onto my family's device

https://mastodon.neilzone.co.uk/@neil/115787607800144474
3•ColinWright•26m ago•0 comments

Attention Is Not What You Need: Grassmann Flows as an Attention-Free Alternative

https://arxiv.org/abs/2512.19428
2•lexandstuff•28m ago•0 comments

Tiny chip could change the future of quantum computing

https://www.sciencedaily.com/releases/2025/12/251226045341.htm
1•tsenturk•32m ago•0 comments

Capsules transforms writing into cinematic, interactive experiences

https://capsules.ink/
1•fcpguru•32m ago•1 comments

Association of healthy sleep patterns with risk of mortality and life expectancy

https://pubmed.ncbi.nlm.nih.gov/37831896/
1•RickJWagner•32m ago•0 comments

Apparatus for facilitating the birth of a child by centrifugal force

https://patents.google.com/patent/US3216423A/en
2•boguscoder•33m ago•1 comments

I Think about Kubernetes

https://garnaudov.com/writings/how-i-think-about-kubernetes/
10•todsacerdoti•35m ago•0 comments

use Claude Code via Nvim and ACP

https://github.com/jonmorehouse/avante.nvim/pull/1
1•MorehouseJ09•39m ago•1 comments

Police Say He Killed in Self-Defense. His Phone Tells Another Story

https://www.wsj.com/us-news/spivey-killing-stand-your-ground-f45a3492
2•JumpCrisscross•47m ago•1 comments

Teaching Tech Together (2019)

https://teachtogether.tech/en/index.html
1•Tomte•47m ago•0 comments

The Impossibility of Virus Detection [pdf]

https://www.cs.virginia.edu/~evans/pubs/virus.pdf
3•friedrich12•47m ago•0 comments

Administration Is the Root Bug of Civilization

https://blog.hermesloom.org/p/administration-is-the-root-bug-of
2•sigalor•48m ago•0 comments

Kubernetes 1.35: In-Place Pod Resize Graduates to Stable – Kubernetes

https://kubernetes.io/blog/2025/12/19/kubernetes-v1-35-in-place-pod-resize-ga/?trk=comments_comme...
2•abdelhousni•50m ago•0 comments

Toys with the highest play-time and lowest clean-up-time

https://joannabregan.substack.com/p/toys-with-the-highest-play-time-and
3•surprisetalk•51m ago•1 comments

T-Ruby is Ruby with syntax for types

https://type-ruby.github.io/
2•thunderbong•52m ago•0 comments

Friday Deploys: Sometimes That Puppy Needs Murdering

https://charitydotwtf.substack.com/p/on-friday-deploys-sometimes-that
1•BerislavLopac•52m ago•0 comments

SaaS Is the New Mall

https://sagivo.com/blog/saas-is-the-new-mall
2•sagivo•52m ago•0 comments