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!

#793 – GPT 5.6 Sol solves it's third Erdos Problem – Two primitives gone

https://twitter.com/i/status/2076778478326653431
1•guywithabowtie•1m ago•1 comments

SCOTUS slip opinion: Cisco granted immunity in building China's "Golden Shield"

https://www.courtlistener.com/opinion/10878537/cisco-systems-inc-v-doe/
1•Jimmc414•3m ago•1 comments

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

https://raymyers.org/post/zig-creator-calls-spade-a-spade/
1•plinkplonk•5m ago•0 comments

China's Robotics Dream Began in 1972

https://www.chinatalk.media/p/chinas-father-of-robotics
1•gwintrob•5m ago•0 comments

Poorly Aged 80s Commercials [video]

https://www.youtube.com/watch?v=3rxiEaJbxnI
1•Bender•6m ago•0 comments

What will be left for us to work on?

https://www.normaltech.ai/p/what-will-be-left-for-us-to-work
1•randomwalker•7m ago•0 comments

Show HN: Melodusk – AI Music Generator and music tools in the browser

https://melodusk.ai
1•akseli_ukkonen•9m ago•0 comments

Lessons of Darkness

https://en.wikipedia.org/wiki/Lessons_of_Darkness
1•throwoutway•9m ago•0 comments

Building Food Metadata with LLM Juries

https://careersatdoordash.com/blog/building-food-metadata-with-llm-juries-context-optimization-mu...
1•tie-in•10m ago•0 comments

Boom? If AI Sales in the US Go South, Let's Not Bail Out Big Money Bettors

https://www.nationalmemo.com/ai-bubble-2677214150
1•baranul•10m ago•0 comments

Be a Star or a Janitor

https://99d.substack.com/p/be-a-star-or-a-janitor
1•iacguy•13m ago•0 comments

Token overhead in coding agents: the task used 0.67% but overhead used the rest

https://praveenvijayan.substack.com/p/your-agent-spends-99-of-its-tokens
1•praveenvijayan•15m ago•0 comments

Is x86 ready to ACE it?

https://chipsandcheese.com/p/is-x86-ready-to-ace-it
1•mfiguiere•15m ago•0 comments

The Economics of Recursive Self-Improvement [pdf]

https://elasticity.institute/rsi-paper.pdf
1•apsec112•16m ago•0 comments

A better rsync based on fountain codes

https://twitter.com/doodlestein/status/2075711880426062074
1•MrBuddyCasino•19m ago•0 comments

Automated Moderation Is Here to Stay–Accountability Must Keep Pace

https://www.eff.org/deeplinks/2026/07/part-2-automated-moderation-here-stay-accountability-must-k...
1•Jimmc414•19m ago•0 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1/lobste_rs_is_now_running_on_sqlite
2•y1n0•24m ago•0 comments

The first commercial human-like robot is here. Are replicants next?

https://www.fastcompany.com/91570086/ubtech-first-commercial-human-like-robot
2•baranul•31m ago•0 comments

Show HN: Free and open source browser extension for web automation

https://waffy.io
2•aravind-manoj•32m ago•0 comments

MorphoHDL: A minimalistic language for growing circuits

https://paradigms-of-intelligence.github.io/morpho/
10•jacktang•34m ago•0 comments

Fred: A text editor that uses C for everything – Handmade Network Expo 2026 [video]

https://www.youtube.com/watch?v=xz5aPCRxsv4
3•linkdd•35m ago•0 comments

SCOTUS slip opinion: Grabbing Google geofence Location History is a 4th A search

https://www.courtlistener.com/opinion/10881683/chatrie-v-united-states/
8•Jimmc414•37m ago•1 comments

A Trip to 90s Kansai: Exploring the XD FirstClass Network BBS

https://cdrom.ca/games/2026/05/30/xd.html
2•zetamax•43m ago•0 comments

Palantir CEO Karp: "If my family hadn't left Germany, I would be a lampshade."

https://twitter.com/infolibnews/status/2076738939080102155
3•logcode•47m ago•2 comments

Show HN: MemStitch – Zero-copy context bridging for vLLM (25x TTFT speedup)

https://github.com/DaqulaLin/MemStitch
2•daqulalin•47m ago•0 comments

FCC Approves Reflect Orbital's Space Mirror Satellite

https://au.pcmag.com/networking/118695/fcc-approves-reflect-orbitals-giant-mirror-satellite-that-...
4•bushwart•48m ago•0 comments

Distributed Development

https://reticulum.network/manual/distributed.html
2•sporkl•51m ago•0 comments

ESBMC-Arduino: Closing the Deployment Gap for Formal Verification

https://arxiv.org/abs/2607.08550
4•Jimmc414•53m ago•0 comments

The Git history command deserves more attention

https://lalitm.com/post/git-history/
27•turbocon•54m ago•3 comments

Why Smucker's $5B Bet on the Twinkie Flopped

https://www.wsj.com/business/retail/smucker-hostess-twinkies-365614e5
5•doctaj•1h ago•1 comments