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!

Orbital AI compute is a chip-temperature problem: radiator mass per megawatt

https://theorbiteconomy.com/research/orbital-ai-heat
1•theorbiteconomy•52s ago•0 comments

Guys, You Have to Use A.I. Detectors Like Pangram

https://slate.com/technology/2026/12/ai-detector-pangram-racism.html
1•ryzvonusef•2m ago•0 comments

Rockstar Submit GTA 6 and Archives to France's National Library

https://www.afp.com/en/hugo-camus-gta-french-national-library-expands-collection
1•DeepLogin•2m ago•0 comments

NASA astronaut gears up to run a marathon on the space station

https://abcnews.com/Technology/wireStory/nasa-astronaut-gears-run-marathon-space-station-138671116
1•geox•4m ago•0 comments

Claude refuse to share any info on Dario Amodei's wife

https://www.reddit.com/r/artificial/comments/1wsrppt/why_does_claude_refuse_to_share_any_info_on_...
1•mgh2•5m ago•0 comments

Wikipedia's Least viewed articles of 2026

https://escapethealgorithm.substack.com/p/wikipedias-least-viewed-articles
1•mankins•7m ago•0 comments

Why Do These Sea Urchins Wear Hats? – BBC [video]

https://www.youtube.com/watch?v=2Zue0fbg4i0
1•xbmcuser•8m ago•0 comments

Show HN: Nearleaf – one note on phone, Mac and web, encrypted before it syncs

https://app.nearleaf.page
2•staticvardev•8m ago•0 comments

GTA VI PC port efforts are hitting a wall: Claude token costs

https://www.techspot.com/news/114815-gta-vi-pc-port-efforts-hitting-wall-claude.html
2•carlos-menezes•8m ago•0 comments

Are Your Hardware Keys Still Safe? Steelmanning the NSA Panic

https://vpetersson.com/2026/12/05/are-your-hardware-keys-still-safe/
1•mvip•9m ago•0 comments

Jensen Huang said 'I do not recall' 138 times when questioned by the House

https://www.npr.org/2026/12/04/nx-s1-6066030/jensen-huang-nvidia-house-testimony
3•blinding-streak•13m ago•1 comments

Binary Lifting

https://emi-h.com/articles/binary-lifting.html
2•emih•18m ago•1 comments

The Legend of Captain Crunch

https://vintagemagazine.substack.com/p/the-legend-of-captain-crunch
3•myth_drannon•19m ago•0 comments

Website where an animated cat generates your password

https://www.catpassword.com
7•thunderbong•19m ago•0 comments

Show HN: PhotoBlur–blur faces and backgrounds in photos, in the browser

https://photoblur.app/
1•preethiraopn•19m ago•0 comments

How the Biggest Financial Crisis Bond Villain Masterminded the AI Bubble

https://prospect.org/2026/12/04/how-biggest-financial-crisis-bond-villain-masterminded-ai-bubble/
1•cdrnsf•21m ago•1 comments

A growing number of heists target cargoes of kit for data centres

https://www.economist.com/united-states/2026/12/03/the-other-tech-smuggling-scheme
2•edward•23m ago•0 comments

What if Bitcoin got cracked and nothing replaced it? It just went away.

3•AbstractH24•24m ago•1 comments

Chinese AI firms halt IPO plans after Shanghai party chief's downfall

https://www.reuters.com/world/china/chinese-ai-firms-halt-ipo-plans-after-shanghai-party-chiefs-d...
1•sanderhovden•25m ago•0 comments

InstaXIV – doomscroll arxiv papers

https://instaxiv.com
2•kedmi•28m ago•0 comments

From paper to screen: HarfBuzz and the shaping of digital text [pdf]

https://behdad.org/doc/from-paper-to-screen.pdf
2•birdculture•30m ago•0 comments

Michael Caine: 15 Essential Movies

https://www.rollingstone.com/tv-movies/tv-movie-lists/michael-caine-best-movies-1333122/
1•Bluestein•30m ago•0 comments

Just know stuff. (Or, how to achieve success in a machine learning PhD)

https://kidger.site/thoughts/just-know-stuff/
2•learner_yearner•32m ago•1 comments

XZ Utils 5.8.5: LZMA2 encoder bug can corrupt compressed data

https://github.com/tukaani-project/xz/releases/tag/v5.8.5
1•acossta•33m ago•0 comments

Using IcePanel? Meet Viaduct – a strong alternative

https://c4.quietgridlabs.com/s/k96j_vr8Bo5BGT2HiuCaJb5Yc4Uxr_C2FEV1ynIyLJM
1•igrglvk•34m ago•0 comments

I'm building an everything app for Windows

https://github.com/askpext/nook
1•askadityapandey•35m ago•0 comments

I spent a year reverse engineering Rumble Racing's 3D worlds (PS2)

https://mattbruv.github.io/rumble-racing-re/
2•mattbruv•37m ago•0 comments

Meta Considers Phone-Like Device in Hardware 'Constellation' Built Around Muse

https://www.bloomberg.com/news/articles/2026-12-03/meta-considers-phone-like-device-in-hardware-c...
2•bookofjoe•39m ago•1 comments

Winc is a desktop editor built with Rust and its own rendering engine

https://github.com/DEEIX-AI/Winc
1•amichail•39m ago•0 comments

Marcus Aurelius: "What is this thing in itself"

https://dev.niceasthis.com/tablehub/meditations/8.11
2•firasd•40m ago•1 comments