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!

Sqlite.ai Pricing

https://www.sqlite.ai/pricing
1•peter_d_sherman•36s ago•0 comments

Show HN: Claude MIDI Twister – An agent visualizer for a DJ MIDI controller

https://www.dylanfisher.com/claude-midi-twister/
1•dylanfisher•1m ago•0 comments

Ask HN: What do you want in a font for programming?

1•_century•1m ago•0 comments

The Nudge Unit (UK Internal Propaganda Operations)

https://www.pimlicojournal.co.uk/p/inside-the-nudge-unit
1•barry-cotter•2m ago•0 comments

Show HN: A bookshelf you can share as a link

https://digitalshelf.me/cip
1•ciprian0•4m ago•0 comments

Typistify: A cross-platform, offline-first Typst editor

https://github.com/typstify/typstify
1•oogali•7m ago•0 comments

Show HN: GG Translator – Turn in-game flaming into friendly language

https://ggtranslator.com/
1•mcadenhe•8m ago•1 comments

Show HN: Reading Pacer – A "Struggle Detector" for kids learning to read

https://readingpacer.com/
1•ataturkle•9m ago•0 comments

OpenAI serves more than one billion active users

https://openai.com/index/building-abundant-intelligence/
3•hallvard•10m ago•1 comments

Best free Text to Speech at the time

https://neuronai.uz/en/tts/
1•yutabek•10m ago•0 comments

How to Confuse Some SSH Bots

https://nochan.net/b/Internet-Crap/20260108-Confuse-Some-SSH-Bots/
1•Bender•13m ago•0 comments

Ask HN: What's your monthly personal AI budget?

2•thatgloomyguy•13m ago•2 comments

Designing Icons

https://m3.material.io/styles/icons/designing-icons
1•Cider9986•13m ago•0 comments

QM: A multiplayer agent harness for work. In Slack and on the web.

https://qm.ycombinator.com/index.html
1•taubek•14m ago•0 comments

We've moved from income world to wealth world

https://www.ft.com/content/6a35508c-c0bd-4000-81b3-7c7383fb24fd
1•julianpye•14m ago•0 comments

$0.26 DeepSeek V4 Flash 0731 ties $5.01 GPT-5.6 run on Agentic Memory Benchmark

https://atmbench.github.io/leaderboard.html
1•howardme1•16m ago•0 comments

Samsung announces FDA-cleared smart ring for sleep apnea risk

https://www.mobihealthnews.com/news/samsung-announces-fda-cleared-smart-ring-sleep-apnea-risk
2•brandonb•16m ago•0 comments

Lookup Tables Could Cut AI Energy Costs

https://spectrum.ieee.org/ai-energy-weightless-neural-networks
1•rbanffy•17m ago•0 comments

How Donald Trump Silenced the Voice of America

https://www.newyorker.com/news/annals-of-communications/how-donald-trump-silenced-the-voice-of-am...
1•firefax•17m ago•0 comments

Adam and AdamW: adaptive optimisation and weight decay

https://idlemachines.co.uk/essays/adam-adamw
1•smaddrellmander•18m ago•0 comments

F-16 thrust-vectoring nozzle now being used for an AI-piloted VTOL fighter

https://shield.ai/shield-ai-and-ge-aerospace-light-off-x-bat-engine-completing-thrust-vectoring-n...
1•r2sk5t•20m ago•0 comments

Big Tech Holds $2.4T of Spending Commitments for AI Boom

https://www.bloomberg.com/news/articles/2026-07-31/big-tech-holds-2-trillion-of-spending-commitme...
3•mapping365•20m ago•2 comments

I use AI on this blog

https://www.gilesthomas.com/2026/07/ai-use
1•gpjt•21m ago•1 comments

Nano Banana 2 removed from Google Earth

https://www.digitaldigging.org/p/nano-banana-2-removed-from-google
2•taubek•22m ago•0 comments

Metis: Memory Foundation Model

https://arxiv.org/abs/2607.26760
1•mfiguiere•22m ago•0 comments

Industrial Biomanufacturing

https://startupwiki.substack.com/p/analysis-industrial-biomanufacturing
1•skiski•23m ago•0 comments

MCP is going stateless: What the new spec means for AI agents

https://newrelic.com/blog/ai/mcp-is-going-stateless
2•inferhaven•23m ago•2 comments

AI Dominates the Microsoft Conversation, but Not the Company's Business

https://www.nextplatform.com/cloud/2026/07/31/ai-dominates-the-microsoft-conversation-but-not-the...
2•rbanffy•23m ago•0 comments

The story we don't tell about how this country was founded [audio]

https://www.npr.org/2026/07/03/nx-s1-5869798/the-story-we-dont-tell-about-how-this-country-was-fo...
1•nkzednan•23m ago•0 comments

Claude vs. ChatGPT: Which AI Security Incident Was Worse

https://industrycontents.com/claude-vs-chatgpt-ai-security-incident-worse/
2•ticust•23m ago•0 comments