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!

NASA to keep its 48-year-old Voyager 2 probe running for yet another year

https://www.space.com/space-exploration/voyager/nasa-figured-out-how-to-keep-its-48-year-old-voya...
1•wglb•28s ago•0 comments

Filesystem Is Born to Fail

https://hackaday.com/2026/08/07/this-filesystem-is-born-to-fail/
1•tambourine_man•31s ago•0 comments

Complexity Budget

https://htmx.org/essays/complexity-budget/
2•andai•15m ago•0 comments

Show HN: Salestrics – An open MCP server and CRM for AI-native revenue teams

https://www.salestrics.com/
1•abuhl98•16m ago•0 comments

Waymo should be afraid of Uber

https://taikhooms.substack.com/p/a953443f-0ecb-41c3-88d9-c7bdadcbace0
2•Taikhoom2010•25m ago•0 comments

An ultramassive white dwarf half Earth's size may hold a rare oxygen-neon core

https://phys.org/news/2026-08-ultramassive-white-dwarf-earth-size.html
1•wglb•27m ago•1 comments

Mushroom behind 'tiny people' hallucinations identified

https://phys.org/news/2026-08-qa-mushroom-tiny-people-hallucinations.html
1•wglb•29m ago•1 comments

Now Am29000 emulator in JavaScript with machine code windowed OS from 1996

https://nanochess.org/am29000_emulator.html
2•nanochess•29m ago•0 comments

An AppSec checklist for when finding vulnerabilities is the cheap part

https://konvu.com/checklists/ai-application-security
1•paulbleicher•35m ago•1 comments

The Nixpkgs core team has disbanded

https://discourse.nixos.org/t/the-nixpkgs-core-team-has-disbanded/79413
10•Meleagris•36m ago•1 comments

Mitsubishi joins the humanoid robot race, at a 1k unit per month pace

https://electrek.co/2026/08/07/mitsubishi-joins-the-humanoid-robot-race-at-a-1000-unit-per-month-...
1•Bender•40m ago•0 comments

Stanford CS Student Veers Off Beaten Path to Pursue Stanford Degree

https://www.instagram.com/reel/DbtCfCGxwPd/
3•liamnorm•43m ago•0 comments

SpaceX 10GW in 2027 – Why It's Real, Will Drive $300B ARR for SpaceX

https://newsletter.semianalysis.com/p/spacex-10gw-in-2027-why-its-real
3•rajivjain•46m ago•0 comments

New Study Points to Two Origins of Life on Earth

https://www.smithsonianmag.com/science-nature/a-new-study-points-to-two-origins-of-life-on-earth-...
3•derbOac•49m ago•0 comments

Mirai 98: Boot the NEC PC-9801 environment from a USB flash drive

https://github.com/awemorris/linux-pc98
1•nogajun•49m ago•0 comments

A tour inside my software restaurant

https://thenickhuber.com/vibe-coding-my-favorite-defunct-game/
2•nhuber•52m ago•0 comments

Robust AI Security and Alignment: A Sisyphean Endeavor?

https://arxiv.org/abs/2512.10100
1•joshcsimmons•54m ago•0 comments

Go core team: a more robust proposal process

https://github.com/golang/go/discussions/80580
3•bigwhite•1h ago•0 comments

Building Glimt

https://glimt.online/
2•Glimtonline•1h ago•0 comments

Math. Premium

https://calc.company
4•souvlakee•1h ago•1 comments

Show HN: Free ad-headline generator that labels the persuasion technique used

https://adcreator-ai.com/free/headline-generator
2•scholarnet-AI•1h ago•0 comments

Show HN: Modern C++ Build Tools for Module Feature

https://github.com/mcpp-community/mcpp
3•sunrisepeak•1h ago•0 comments

Show HN: Free 2-minute OSHA HazCom self-audit, no signup

https://sdsentry.0xpi.com/hazcom-self-audit.html
2•scholarnet-AI•1h ago•0 comments

Message your other Claude Code sessions

https://code.claude.com/docs/en/cross-session-messaging
4•adamfeldman•1h ago•0 comments

Hacked Amazon Echo Dot 2 and can run LLMs locally

https://www.reddit.com/r/homeassistant/s/X13006g0tS
1•albertoZurini•1h ago•0 comments

Black Hat USA 2026: The OpenAI–Hugging Face Incident [video]

https://www.youtube.com/watch?v=87DyyMV0kCY
2•mellosouls•1h ago•0 comments

Ginear – A Linear-like UI using GitHub Issues and Projects as the back end

https://github.com/leonschwanitz/ginear
2•leonschwanitz•1h ago•1 comments

A 15-minute backup audit for self-hosted homelabs

https://scholar.0xpi.com/blog/homelab-backup-audit-checklist
1•scholarnet-AI•1h ago•0 comments

I Built an MCP Server for JMeter Docs

https://qainsights.com/i-built-an-mcp-server-for-jmeter-docs-heres-how-to-connect-your-ai-agent-t...
1•qainsights•1h ago•1 comments

Cloudflare launches Kitesurf, a browser built for AI agents

https://techcrunch.com/2026/08/07/cloudflare-launches-kitesurf-a-browser-built-for-ai-agents/
2•justworks•1h ago•0 comments