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!

John Archibald Wheeler: It from Bit

https://en.wikipedia.org/wiki/John_Archibald_Wheeler
1•lioeters•1m ago•0 comments

Fix CSS Problems

https://www.fix-css.com/
1•ilreb•2m ago•0 comments

vLLM prefill paired with TileRT decode

https://vllm.ai/blog/2026-07-14-vllm-tilert-pd
1•ilreb•4m ago•0 comments

3k-year-old Egyptian tomb with vivid afterlife paintings uncovered near Luxor

https://www.euronews.com/culture/2026/07/14/3000-year-old-egyptian-tomb-with-vivid-afterlife-pain...
3•devonnull•6m ago•0 comments

White House launches AI cybersecurity clearinghouse

https://www.cnn.com/2026/07/14/tech/ai-cybersecurity-clearing-house-white-house
1•1659447091•6m ago•0 comments

Cicada- an agentic Python IDE Free to use ( comes with built in small model)

https://github.com/godsonj64/Cicada/releases/tag/v0.4.0
1•godsonj64•7m ago•1 comments

Show HN: PullCard – Pull your AI coding style as a holographic trading card

https://pullcard.sakimyto.com
1•sakimyto•8m ago•0 comments

Show HN: I built an AI agent memory engine because Obsidian wasn't cutting it

https://perseus.observer/blog/built-perseus-vault-obsidian-wasnt-cutting-it/
1•perseusai•13m ago•0 comments

TPU and GPU Clusters: The Anatomy of Collective Communication

https://www.aleksagordic.com/blog/collective-operations
1•npalli•15m ago•0 comments

When China's open-source AI is a trap

https://www.economist.com/international/2026/07/14/when-chinas-open-source-ai-is-a-trap
1•andsoitis•16m ago•1 comments

Data for Agents

https://huggingface.co/blog/nvidia/open-data-for-agents
1•gmays•18m ago•0 comments

Midnight social media curfew proposed for older UK teens

https://www.bbc.com/news/articles/c982857nlrlo
2•dabinat•20m ago•0 comments

High-Bandwidth Flash offers efficient storage for model weights

https://spectrum.ieee.org/high-bandwidth-flash
1•Gaishan•20m ago•0 comments

Cisco licenses iOS name to Apple, screenshot shows iWork on iPhone (2010)

https://appleinsider.com/articles/10/06/08/cisco_licenses_ios_name_to_apple_screenshot_shows_iwor...
1•thunderbong•20m ago•0 comments

A Magazine with One Subscriber

https://matthodges.com/posts/2026-07-12-personal-magazine-claude-codex/
1•jv22222•22m ago•1 comments

When AI gets a pass: the rise of 'AI Exceptionalism'

https://www.magiclasso.co/insights/ai-exceptionalism/
2•bentocorp•22m ago•0 comments

Show HN: Gomoku AI Edu – A Native macOS Gomoku Game with AI Opponent

https://gomoku.w3cub.com/
1•terryXyz•24m ago•0 comments

UEFI shims undermining Secure Boot

https://www.welivesecurity.com/en/eset-research/forgotten-uefi-shims-undermining-secure-boot/
3•gnabgib•31m ago•0 comments

6 months of OpenClaw

https://notesbylex.com/6-months-of-openclaw
1•lexandstuff•33m ago•0 comments

Show HN: A web based VistaPro clone

https://toby.github.io/vista/
1•tobypadilla•34m ago•0 comments

Microsoft's Secure Boot has been broken for a decade and no one noticed

https://arstechnica.com/security/2026/07/microsoft-secure-boot-has-been-broken-for-most-of-its-ex...
3•Gaishan•37m ago•1 comments

Global Warming at 3 °C by 2050? What's Behind the New German Climate Warning

https://worldcrunch.com/focus/green-or-gone/global-warming-at-3c-by-2050-what-s-behind-the-new-ge...
7•tejohnso•40m ago•1 comments

Making it easier to party is becoming serious public policy

https://www.economist.com/united-states/2026/07/14/cities-are-rethinking-what-happens-after-dark
1•petethomas•41m ago•0 comments

The Web Won Because It Got Easier

https://www.gordonmclean.co.uk/2026/06/18/on-the-indiefediactivitymastoweb/
1•zetamax•44m ago•0 comments

Teleparallel Gravity: From Theory to Cosmology(2021)

https://arxiv.org/abs/2106.13793
1•rolph•48m ago•0 comments

Piuma – A minimal, feather-weight, site builder in Go

https://github.com/sprawz/piuma
1•H501•53m ago•0 comments

Learning games for the proof assistant Lean

https://adam.math.hhu.de/
1•marvinborner•54m ago•0 comments

Dally – a privacy first – routine app

https://apps.apple.com/us/app/dally-365/id6772557608
1•totaldude87•55m ago•0 comments

Lo and Co's Duet Collection: Mixing metals in hardware design

https://design-milk.com/lo-co-duet-mixed-metals-hardware/
1•whiteblossom•56m ago•0 comments

Brazil's Pix payments system in Trump's crosshairs

https://www.ft.com/content/efbec9a7-a3d9-45e6-8ade-c0660f31ecc7
1•petethomas•57m ago•0 comments