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!

HN: SpotWarp – Local auto-failover daemon for Spot GPUs

https://github.com/enplabs/spotwarp
1•choi5844•1m ago•0 comments

Zcash: Cash Never Died

https://twitter.com/andresochoa/status/2089214322819936487
1•seudrim•6m ago•0 comments

Built a PyTorch optimizer based on Continuous Thermodynamics

https://github.com/3moorebbb-sketch/MEP-Unified-Architecture
1•3moorebbb•9m ago•0 comments

Heroes actress Hayden Panettiere dies at 36

https://www.bbc.com/news/articles/cq5665zgg1po
1•gpi•11m ago•0 comments

Waymo shipped 3200 CN-built EVs to LA for its fleet despite 127.5% tariffs

https://finance.yahoo.com/technology/articles/waymo-shipped-3-200-chinese-163000266.html
2•Markoff•21m ago•1 comments

Concurrent Servers: Part 7 – Rust

https://eli.thegreenplace.net/2026/concurrent-servers-part-7-rust/
2•mfrw•23m ago•0 comments

So You Want to Build an A.I. Star?

https://www.nytimes.com/2026/08/13/arts/ai-podcasts-fashion-pop-avatars.html
2•thm•32m ago•0 comments

I made Claude port omawrite to windows

https://github.com/WhiskeyTuesday/omawrite-win
1•whiskeytuesday•36m ago•1 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
1•KiaanKothari•38m ago•0 comments

A Walkable ASCII Cyberpunk City in One HTML File

https://www.youtube.com/watch?v=3YtygAx_C6A
3•keithcarolus•38m ago•0 comments

The Orwellian Company Behind ICE's New Electric Shock Gloves

https://www.motherjones.com/politics/2026/08/ice-shock-gloves-torture-compliant-technologies-jeff...
5•cwillu•40m ago•2 comments

Understanding the HEIC Format

https://sites.google.com/view/heictools-io/home
3•suolex•42m ago•2 comments

Why Ethereum Walked Away from Poseidon

https://twitter.com/ProjectZKM/status/2088320035970330676
2•_alphageek•43m ago•1 comments

Serverless Agents

https://serverlessagent.dev
3•iacguy•54m ago•0 comments

Satellite operators emphasize launch deals in a constrained market

https://spacenews.com/satellite-operators-emphasize-launch-deals-in-a-constrained-market/
3•alainrk•54m ago•0 comments

Trillion-Parameter Sequential Transducers for Generative Recommendations (2024)

https://arxiv.org/abs/2402.17152
1•peter_d_sherman•1h ago•0 comments

Show HN: Earn 41% Commission: German Language Learning

https://languagemaster.org/affiliate/
1•not_wowinter13•1h ago•0 comments

Hayden Panetierre Dies at 36

https://abcnews.com/US/hayden-panettiere-dies-36/story?id=135698473
6•fagnerbrack•1h ago•5 comments

Idea for Expository AI

1•E-Reverance•1h ago•0 comments

Claude Code "Feature Request: Support Agents.md": Closed as Completed

https://github.com/anthropics/claude-code/issues/6235
2•deaux•1h ago•1 comments

draw.city – Daily geography game where you circle the target population [US]

https://draw.city/
2•NameError•1h ago•1 comments

how the internet makes us bad at watching stuff [video]

https://www.youtube.com/watch?v=Gqjb1DvjAnI
1•striking•1h ago•0 comments

A Structural Explanation of the Undecidability of the Halting Problem in TM

https://bfzhao.substack.com/p/a-structural-explanation-of-the-undecidability
3•bingfeng•1h ago•0 comments

Cursor earns AIUC-1 certification for agent security and reliability

https://cursor.com/blog/aiuc-1
1•dhruv3006•1h ago•0 comments

PawPause: Mac app that pauses the keyboard when your cat walks on it

https://miladsafarzadeh1.github.io/PawPause-mac/
1•LouisLazaris•1h ago•0 comments

Anthropic revenue jumps 14x to more than $11.5B in second quarter

https://www.bloomberg.com/news/articles/2026-08-14/anthropic-revenue-ahead-of-ipo-surges-over-14-...
3•ukuina•1h ago•0 comments

Ask HN: Claude Desktop Weird Behavior

1•ikeee•1h ago•0 comments

US Air Force jet engine manufacturing plagued by 'significant challenges'

https://www.militarytimes.com/industry/techwatch/2026/08/03/us-air-force-jet-engine-manufacturing...
5•toomuchtodo•1h ago•1 comments

AI Is Helping Patients Solve Medical Mysteries

https://www.wsj.com/health/ai-is-helping-patients-solve-medical-mysteries-3c2d7c25
3•toomuchtodo•1h ago•1 comments

Database-less link shortener and compressor

https://github.com/p2r3/ha.mr
2•rfarley04•1h ago•0 comments