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!

Ask HN: How realistic is an LLM-powered worm that spreads from PC to PC?

1•anon115•6s ago•0 comments

Classified U.S. Intelligence System Is Down for Now, U.S. Officials Say

https://www.wsj.com/politics/national-security/classified-u-s-intelligence-system-is-down-for-now...
1•uxhacker•43s ago•0 comments

Self-Improvement Memory Enables Continual Recursive Self-Improvement

https://arxiv.org/abs/2611.18856
2•omarsar•3m ago•0 comments

Decision model for all inputs "videos, voices, txt "

https://www.rightnowai.co/rightnow
2•OsamaJaber•3m ago•0 comments

Meet Your Neighbors

https://meetyourneighbors.ai/
1•ot•3m ago•0 comments

CVE-2026-114938 – Java4Shell

https://www.cve.org/CVERecord?id=CVE-2026-114938
3•dark_days•4m ago•0 comments

Possible theory of why things are breaking

3•freecodeio•5m ago•0 comments

Linux sandboxes from S3. 93-99% cheaper than always on for AI Agents.

https://github.com/dualeai/exec-sandbox
1•clemlesne•7m ago•0 comments

Tesla needs wireless charging fast, or its $30,000 Cybercab can’t charge at home

https://electrek.co/2026/11/17/tesla-cybercab-home-charging-wireless-problem/
2•cisc•7m ago•0 comments

RNZ's election results analysis reveals a complicated, moody electorate

https://www.rnz.co.nz/news/politics_election-2026/2646498/rnz-s-election-results-analysis-reveals...
1•colinprince•9m ago•0 comments

Human.md

https://www.human-md.ai/
2•ray__•10m ago•0 comments

How many agents can you supervise and be productive?

https://www.ascendaflow.com/benchmark
1•marisolchallen•10m ago•1 comments

A physical archive of your digital life

https://commonlogue.com/
1•dchi04•11m ago•0 comments

The AI Alignment Meeting

https://folderal.substack.com/p/the-ai-alignment-meeting
1•jeffLowery•12m ago•0 comments

Gemini 4 Carbon cracked an unread 1466 Sforza cipher

https://www.fofr.ai/bianco-1466-cipher
2•underdeserver•12m ago•0 comments

Stripe Press

https://stripe.press/
1•Luc•13m ago•0 comments

As Voyager 1 reaches one light-day from Earth, scientists reflect on its past

https://www.livescience.com/space/space-exploration/out-there-moving-into-the-unknown-as-voyager-...
2•speckx•13m ago•0 comments

Lighting That Feels Just Right

https://blog.maximeheckel.com/posts/lighting-that-feels-just-right/
1•squidhunter•13m ago•0 comments

Isomorphic Labs $5B Series C

https://www.cnbc.com/2026/11/17/isomorphic-labs-series-c-ai-drug-discovery-.html
3•kaycebasques•15m ago•0 comments

The Rise and Fall of Syquest

https://dfarq.homeip.net/the-rise-and-fall-of-syquest/
1•nickt•16m ago•0 comments

We read 5,692 CVE exploit repos. Six in ten were real. 66 were bait

https://flawharbor.com/blog/harbor-check-poc-repos.html
1•symbi•16m ago•0 comments

prtop – htop for your merge requests to wake Claude Code

https://tomycesaille.github.io/prtop/
1•jorislacance•18m ago•0 comments

Computer Graphics from Scratch

https://www.gabrielgambetta.com/computer-graphics-from-scratch/index.html
3•ibobev•19m ago•1 comments

Don't Buy a Tesla for "Full Self-Driving"

https://onefoottsunami.com/2026/11/17/dont-buy-a-tesla-for-full-self-driving/
1•speckx•20m ago•0 comments

Preliminary Post Incident Report for Microsoft 365

https://dreamstation.systems/miscStuff/20261115PreliminaryPostIncidentReportForMicrosoft365.docx
1•robinpie•20m ago•0 comments

Show HN: I've asked AI to generate portraits per country

https://arnov.github.io/faces/index.html
1•arno_v•22m ago•0 comments

The short age of dragon riders

https://atilloy.com/2026/11/16/the-short-age-of-dragon-riders/
1•mathgenius•23m ago•0 comments

Why software compatibility fixes sometimes fail: the diagnosis was wrong

https://nhapplied.co.uk/doctor
2•NHApplied•24m ago•0 comments

SHA-256 collision at 39 steps for ~98 bit found

https://twitter.com/privacymage/status/2120852111089127833/photo/1
4•binyu•25m ago•0 comments

Show HN: I wrote a ProtectServer FM in Zig and skipped the vendor compiler

https://808bits.com/articles/thales-protectserver-fm-zig/
2•NiklasKoehler•25m ago•0 comments