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!

It's Well Past Time for a Four-Day Workweek

https://jacobin.com/2026/06/schor-four-day-workweek-labor
1•robtherobber•1m ago•0 comments

GloriousEggroll's Proton has been rebased on Proton 11

https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton11-1
1•d3Xt3r•1m ago•0 comments

Seedance 2.5

https://www.seedance2ai.app/tools/seedance-2-5
1•linzhangrun•4m ago•0 comments

Anyone else feels many LLMs are heavily biased towards consumerism these days?

1•pyeri•6m ago•0 comments

We found a bug in the hyper HTTP library

https://blog.cloudflare.com/hyper-bug/
1•vsgherzi•9m ago•0 comments

Today's Office – The Location Independent Lifestyle (A 2018 Retrospective)

https://www.ssp.sh/blog/the-location-independent-lifestyle/
1•zazuke•9m ago•0 comments

Best Chrome Bookmark extension, Visually organized grid and ultra fast search

https://chromewebstore.google.com/detail/bookmarkr-—-visual-bookma/lianafemkbankodapdaokiefoffi...
1•mnomansd•14m ago•0 comments

The State of Startups 2026 – Survey results

https://supabase.com/state-of-startups
1•fmerian•15m ago•0 comments

What makes a good VM for a programming language?

https://github.com/dominexmacedon-docs/lopo-docs
1•dominex•16m ago•1 comments

Show HN: Hikaru Labs – A browser-based image toolbox

https://hikarulabs.xyz
1•CFBL•20m ago•0 comments

In Retrospect: Science – The Endless Frontier

https://www.nature.com/articles/466922a
3•teleforce•22m ago•0 comments

Jfsendit – A dead-simple way to send files straight from one browser to another

https://jfsendit.com/
1•coinfused•23m ago•0 comments

Google's YouTube settles social media addiction case with teen

https://www.bbc.co.uk/news/articles/cly81g7x73po
2•vinni2•24m ago•0 comments

New WingTask with TaskWarrior 3 sync support

https://wingtask.com/announcing-new-wingtask
1•Cort3z•27m ago•0 comments

Show HN: SQL MCP Server – 61.37% on DataAgentBench with GLM-5.2

https://github.com/gagarwal304/databridge
1•gagarwal123•28m ago•0 comments

Workdir: Open-source sandboxes for AI agents

https://workdir.dev/
1•handfuloflight•28m ago•0 comments

Digital Dugnad

https://digitaldugnad.eu/en/
1•bronlund•29m ago•0 comments

Israel continues to commit genocide by targeting children in Gaza, UN finds

https://www.theguardian.com/world/2026/jun/23/israel-deliberately-targeting-gaza-children-to-comm...
26•hebelehubele•30m ago•1 comments

"Be Yourself" Only Works for People Who Aren't Annoying

https://www.cartoonshateher.com/p/be-yourself-only-works-for-people
2•Michelangelo11•30m ago•0 comments

SHO HN: RainBreak App Mac – The AI doesn't need a break. But you do

https://rainbreak.franzai.com/
1•franze•30m ago•0 comments

What Happens When Claude Tests Your Web Application?

https://searchzee.com/blog/ai-agent-tests-web-application
1•rajkverma123•31m ago•0 comments

Crypto 2026 Accepted Papers

https://crypto.iacr.org/2026/acceptedpapers.php
1•altro•37m ago•0 comments

Show HN: dk

https://github.com/hq6/dk
1•hq6•40m ago•0 comments

The Importance of Establishing Boundaries with Your DOM: Stealing 1Password Keys

https://guyfischman.com/posts/1password-delegation/
3•guyfischman•45m ago•0 comments

Unreliable Agentic Systems in Production

1•shasyn•46m ago•0 comments

Oxford's top maths professor: 'The devil could use AI to destroy the world'

https://www.telegraph.co.uk/books/non-fiction/interview-oxford-professor-john-lennox/
1•01-_-•47m ago•0 comments

Anthropic Mythos exposed flaws in classified US systems

https://www.channelnewsasia.com/business/anthropics-mythos-model-found-vulnerabilities-in-classif...
2•01-_-•48m ago•0 comments

The Robotics Experiment Loop

https://rerun.io/learn
3•Tycho87•49m ago•0 comments

The $80 Pie Only a Former McKinsey Consultant Could Dream Up

https://www.grubstreet.com/article/jamagansett-pie-hamptons-baked-goods.html
1•Michelangelo11•49m ago•0 comments

Eight vaccines linked to a lower risk of dementia

https://www.gavi.org/vaccineswork/eight-vaccines-linked-lower-risk-dementia
3•u1hcw9nx•51m ago•0 comments