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!

AI Futures Model: Dec 2025 Update

https://blog.ai-futures.org/p/ai-futures-model-dec-2025-update
1•amstam•1m ago•1 comments

PG&E to Lower Electric Prices on Jan. 1, Fourth Decrease in Two Years

https://www.pge.com/en/newsroom/press-release-details.html
1•bryan0•3m ago•0 comments

RyOS

https://github.com/ryokun6/ryos
1•handfuloflight•7m ago•0 comments

Happy Public Domain Day 2026

https://publicdomainreview.org/blog/2026/01/public-domain-day-2026/
1•apetresc•10m ago•0 comments

HP-UX hits end-of-life today, and I'm sad

https://www.osnews.com/story/144094/hp-ux-hits-end-of-life-today-and-im-sad/
2•notpushkin•13m ago•0 comments

Stolze-Smith Shorthand

https://stolze-smith.com/
2•crux•13m ago•0 comments

Humane Guidelines for Computer Usage and Design

https://horeszko.ca/blog/humane-guidelines-for-computer-usage-and-design.html
1•horeszko•15m ago•0 comments

Extensibility: The "100% Lisp" Fallacy

https://kyo.iroiro.party/en/posts/100-percent-lisp/
1•todsacerdoti•16m ago•0 comments

Pelican: Multi-step SVG generation with vLLMs

https://pelican.alexey.work/
1•xl0•18m ago•1 comments

Rust9x update: Rust 1.93.0-beta

https://seri.tools/blog/rust9x-1-93/
2•pornel•19m ago•0 comments

Saks Prepares for Bankruptcy After Missing Debt Payment

https://www.wsj.com/finance/saks-prepares-for-bankruptcy-after-missing-debt-payment-ff3df6d2
1•bookofjoe•19m ago•1 comments

Security breaks during partial failures – design notes from distributed systems

1•sandhyavinjam•19m ago•0 comments

Ask HN: Automated WebRTC Livestream Recording

2•PhilipWee•23m ago•0 comments

Everyone's Watching Stocks. The Real Bubble Is AI Debt

https://www.bloomberg.com/news/newsletters/2025-12-31/everyone-s-watching-stocks-the-real-bubble-...
1•zerosizedweasle•26m ago•1 comments

Norman Foster's steroidal new skyscraper is an affront to the New York skyline

https://www.theguardian.com/artanddesign/2025/dec/03/eco-obscenity-norman-foster-skyscraper-jp-mo...
2•PaulHoule•27m ago•0 comments

Why users cannot create Issues directly (Ghostty)

https://github.com/ghostty-org/ghostty/issues/3558
1•xpe•27m ago•1 comments

Why CoreWeave Is Weighed Down by Its Debt Load

https://finance.yahoo.com/news/heres-why-coreweave-nasdaq-crwv-140015154.html
1•zerosizedweasle•29m ago•0 comments

DeepSeek MHC: Manifold-Constrained Hyper-Connections

https://huggingface.co/papers/2512.24880
1•marc__1•29m ago•0 comments

Bud-Sex: Sexual Flexibility Among Rural White Straight Men Who Have Sex with Men

https://scholarsbank.uoregon.edu/server/api/core/bitstreams/d38a6707-f38a-4b2f-b598-c4bf171b6c7c/...
3•lesk•29m ago•0 comments

From Silicon to Darude Sand-storm: breaking famous synthesizer DSPs [video]

https://media.ccc.de/v/39c3-from-silicon-to-darude-sand-storm-breaking-famous-synthesizer-dsps
2•tzmlab•33m ago•0 comments

Type-Safe User Interfaces and the Manifest Pattern

https://andrewhathaway.net/blog/manifest-pattern/
1•handfuloflight•34m ago•0 comments

California Delete Request and Opt-out Platform (DROP)

https://privacy.ca.gov/DROP/
1•8organicbits•45m ago•0 comments

Show HN: BreachLab – Can you hack our AI?

https://breachlab.xsourcesec.com
2•xsourcesec•45m ago•0 comments

California dessert empire Sprinkles Cupcakes abruptly closes all stores

https://www.sfgate.com/food/article/california-sprinkles-cupcakes-closes-21270149.php
3•apparent•47m ago•2 comments

Journalism, media, and technology trends and predictions 2025

https://reutersinstitute.politics.ox.ac.uk/journalism-media-and-technology-trends-and-predictions...
1•barishnamazov•47m ago•0 comments

LakeFS Acquires DVC

https://lakefs.io/blog/celebration-shared-vision-lakefs-dvc/
2•farhanhubble•51m ago•0 comments

In-house electronics manufacturing from scratch: How hard can it be? [video]

https://media.ccc.de/v/39c3-in-house-electronics-manufacturing-from-scratch-how-hard-can-it-be
1•Fnoord•52m ago•0 comments

File manager for the COSMIC desktop environment

https://github.com/pop-os/cosmic-files
1•doener•56m ago•0 comments

New California Laws Going into Effect in 2026

https://newsroom.courts.ca.gov/news/new-california-laws-going-effect-2026
2•ChadNauseam•58m ago•0 comments

You Are Not an Average

https://thinkhuman.com/you-are-not-an-average/
2•jamesgill•59m ago•0 comments