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!

Writing with Vim Motions: Four Modes of Thinking

https://www.ssp.sh/brain/four-modes-of-writing/
2•zazuke•1m ago•0 comments

All Words, No Mornings

https://www.jonadas.com/writing/essays/all-words-no-mornings
1•JumpCrisscross•3m ago•0 comments

The AI Future Is for Everyone

https://www.wsj.com/opinion/the-ai-future-is-for-everyone-a0c24e20
1•ms7892•4m ago•0 comments

Colleges Must Ensure Grads Earn More or Lose Federal Aid

https://unusualwhales.com/news/colleges-must-ensure-grads-earn-more-or-lose-federal-aid
1•gmays•5m ago•0 comments

Federal Probe into Dodgers Owner's Financial Empire Was Sparked by Whistleblower

https://www.wsj.com/finance/regulation/federal-probe-into-dodgers-owners-financial-empire-was-spa...
1•petethomas•5m ago•0 comments

Show HN: Fastest non lossy JSON parser

https://github.com/skrcode/bestjsonformatter-cli
1•surajkrajan•6m ago•0 comments

ZFS Scrubs with no ECC (what could possibly go wrong?) (2025)

https://forums.truenas.com/t/zfs-scrubs-with-no-ecc-what-could-possibly-go-wrong/30863
1•thunderbong•6m ago•0 comments

Datatype: A variable font that turns text into charts

https://franktisellano.github.io/datatype/
1•CharlesW•7m ago•0 comments

The Wait Equation

https://en.wikipedia.org/wiki/The_Wait_Equation
1•Jimmc414•7m ago•0 comments

More planes get emergency auto-land tech

https://www.washingtonpost.com/transportation/2026/07/26/good-news-nervous-flyers-more-planes-get...
1•bookofjoe•8m ago•1 comments

Ask HN: What will it take you to shift to a new social media platform?

1•sahil423•9m ago•1 comments

Ask HN: Can't we think out of the box to kill the tumor?

1•kinj28•10m ago•1 comments

Show HN: Sessiongrep – Local-First Memory Across Claude Code, Codex, and Cursor

https://github.com/braincompany/sessiongrep
1•npx88•10m ago•0 comments

He Bought a House 'Sight Unseen.' Then He Found Three Dead Bodies

https://www.wsj.com/real-estate/he-bought-a-house-sight-unseen-then-he-found-three-dead-bodies-6c...
3•gmays•12m ago•1 comments

Show HN: HushRave – Silent disco on your guests' own phones, in sync

https://hushrave.com
1•rahulgolwalkar•14m ago•0 comments

Show HN: AeroSheet – 3D wings and airfoils go weee (in a spreadsheet)

https://workspace.google.com/marketplace/app/aerosheet/277780710399
1•hackiku•15m ago•0 comments

EPA says [dedicated] power for data centers can sidestep pollution laws

https://www.reuters.com/legal/litigation/epa-says-power-data-centers-can-sidestep-pollution-laws-...
4•HotGarbage•15m ago•0 comments

Boy George Releases Pro-Israel Song, We Will Dance Again

https://www.theguardian.com/music/2026/jul/27/you-say-genocide-i-say-war-boy-george-releases-pro-...
4•CharlesW•15m ago•1 comments

How I would implement an SSA-based compiler

https://gist.github.com/pizlonator/cf1e72b8600b1437dda8153ea3fdb963
1•achierius•16m ago•0 comments

Labwire, an open protocol for AI agents to control lab instruments

https://github.com/benchwire/labwire
1•RoboSy•18m ago•0 comments

Grok Introducing Build Mode

https://x.ai/news/grok-build-mode
2•BoumTAC•18m ago•0 comments

Bringing MCP 2026-07-28 to Claude

https://claude.com/blog/bringing-mcp-2026-07-28-to-claude
2•mfiguiere•20m ago•0 comments

WebScene. React, TypeScript, JavaScript in native application frameworks

https://old.reddit.com/r/WebScene/comments/1v966gv/webscene_run_packaged_react_typescript_and/
1•wiso•20m ago•0 comments

Navigating the solution space with agents

https://vimota.me/writing/navigating-the-solution-space-with-agents
1•vimota•21m ago•0 comments

Data centers may face temporary power cuts to prevent blackouts

https://techcrunch.com/2026/07/28/data-centers-may-face-temporary-power-cuts-to-prevent-blackouts...
3•speckx•21m ago•0 comments

Wildfires in south-west France flare up as region braces for new 40C heatwave

https://www.bbc.com/news/articles/c5yd8gly1ydo
2•saikatsg•22m ago•1 comments

Performance Has Layers

https://oxide.computer/blog/performance-has-layers
1•tosh•23m ago•0 comments

Show HN: Telemetry accumulates technical debt. We built a tool to clean it up

https://obics.io/blog/obics-observability-cost-saver-launch/
1•michaels9876•24m ago•1 comments

South Korea's KOSPI posts biggest fall since early March as chipmakers slump

https://www.reuters.com/world/asia-pacific/south-koreas-kospi-drops-7-global-chipmaker-selloff-de...
2•saikatsg•25m ago•0 comments

Mousecrack – Bypass captcha mouse detection with deep learning

https://github.com/puffinsoft/mousecrack
3•G3819•25m ago•1 comments