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!

Experimenting with AI to defend critical infrastructure

https://red.anthropic.com/2026/critical-infrastructure-defense/
1•Kristopher1337•50s ago•0 comments

Where is book industry heading to, with all this AI?

2•websku•3m ago•0 comments

Synthetic Text2SQL Data Generation using small models like Haiku

https://www.dataframer.ai/posts/amplifying-claude-haiku-text-to-sql/
2•pjoshi30•4m ago•1 comments

Embassy: Modern embedded framework, using Rust and async

https://github.com/embassy-rs/embassy
1•birdculture•5m ago•0 comments

I built a Gesture Layer for Claude Code–control agents passively while you work

https://twitter.com/adityas129/status/2009369774262993293
2•adityas129•7m ago•0 comments

The right place at the right time

https://bcantrill.dtrace.org/2026/01/08/the-right-place-at-the-right-time/
1•chmaynard•10m ago•0 comments

Claude Code did my taxes

https://klmn.sh/essays/claude-code-for-taxes
1•vklmn•10m ago•0 comments

Chuck E. Cheese's next act: 'I won't stop until we have a movie,' CEO says

https://www.fastcompany.com/91448506/chuck-e-cheese-chucks-arcade-pizza-games-restaurant-entertai...
1•petethomas•11m ago•0 comments

Show HN: Fast media compression terminal app – Inspired by Claude Code

https://github.com/saviomartin/sqsh
1•saviomartin•14m ago•0 comments

Monero Replaced Bitcoin on the Internet's Underground

https://darknetbible.info/news/how-monero-replaced-bitcoin-on-the-darknet/
3•lennychanuk•15m ago•1 comments

Biodata Sonification

https://electricityforprogress.com/
1•quijoteuniv•15m ago•0 comments

How I would grow tailwind to be default alive again

https://twitter.com/heyNaitik/status/2009343494796792034
1•heynaitik•15m ago•0 comments

In California's redwoods, scientists rebuild ecosystems high up in the canopy

https://news.mongabay.com/2025/12/in-californias-redwoods-scientists-rebuild-lost-ecosystems-high...
2•PaulHoule•16m ago•0 comments

Let's Call a Murder a Murder

https://daringfireball.net/2026/01/lets_call_a_murder_a_murder
28•hermitcrab•18m ago•6 comments

Snow HN: ~950 line inference engine, on par with vLLM

https://github.com/naklecha/simple-llm
2•naklecha•21m ago•0 comments

Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
1•kiwigod17•21m ago•0 comments

Tailwind Labs fired engineers while making –$1M from sponsors

1•danver0•23m ago•3 comments

Gritter Tracker – Traffic Scotland

https://www.traffic.gov.scot/gritter-tracker
2•robin_reala•23m ago•0 comments

Aharonov–Bohm interference in even-denominator fractional quantum Hall states

https://www.nature.com/articles/s41586-025-09891-2
1•bookofjoe•25m ago•0 comments

Trump Invoking 'Insurrection Act' Speculation Grows After ICE Shooting

https://www.newsweek.com/trump-insurrection-act-ice-shooting-walz-11328894
3•SilverElfin•26m ago•4 comments

Judges Question Key Copyright Test in Case over Miles Davis Tattoo

https://petapixel.com/2026/01/07/judges-question-key-copyright-test-in-photographers-case-against...
1•bahmboo•27m ago•0 comments

Americans by Name, Punished for Believing It

https://boltsmag.org/prosecuted-for-voting-american-samoans-alaska/
4•jaredwiener•27m ago•0 comments

Cas12a3 CRISPR System Targets tRNA Without Destroying Host Cell

https://www.genengnews.com/topics/genome-editing/cas12a3-crispr-system-targets-trna-without-destr...
2•7777777phil•28m ago•0 comments

AI Created This Game

https://www.pixelfork.ai/publish/35167c97-998d-4ba8-9808-fbe4ce17df77
3•fkhasiyev•30m ago•5 comments

Gov. Hochul seeks restrictions on 3D printers and ghost guns

https://gothamist.com/news/gov-hochul-seeks-restrictions-on-3d-printers-and-ghost-guns
3•kaladin-jasnah•30m ago•1 comments

Smaller than you thought: Putting the US AI boom(let) in perspective

https://www.ft.com/content/918fbc46-56a9-4225-b2cd-77fb4a532218
2•7777777phil•33m ago•0 comments

The Identity of Indiscernibles (1952)

https://www.jstor.org/stable/2252291
1•measurablefunc•33m ago•0 comments

Former Google CEO Eric Schmidt accused of rape, surveillance by ex-mistress

https://www.news.com.au/world/north-america/former-google-ceo-eric-schmidt-accused-of-rape-survei...
3•xqcgrek2•35m ago•2 comments

Virginia Faulkner: Writer, Editor and Ghostwriter?

https://lithub.com/virginia-faulkner-writer-editor-and-ghostwriter/
1•samclemens•36m ago•0 comments

A US-China War Would Be a Catastrophe for Everyone

https://medium.com/@gp2030/a-us-china-war-would-be-a-catastrophe-for-everyone-1bfdc6991b15
2•light_triad•38m ago•1 comments