frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•11mo 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!

The only schema language AI speaks is JSON Schema

https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/
1•BerislavLopac•5m ago•0 comments

Why Andromeda Is Both 2.5M Years Away and Just Around the Corner

https://joshpearlson.com/articles/posts/closest-galaxy-time-dilation/closest-galaxy-time-dilation...
1•jcpearlson•6m ago•0 comments

Mini PC for local LLMs in 2026

https://terminalbytes.com/best-mini-pc-for-local-llm-2026/
1•charlieirish•7m ago•0 comments

World AI Agents–35 AI Models (Claude, GPT, Llama)via One OpenAIcompatible API

https://world-ai-agents.com
2•fazyyy•12m ago•1 comments

Microsoft brings a Linux-style window trick to Windows 11 via PowerToys

https://www.windowslatest.com/2026/05/01/i-tested-powertoys-new-linux-style-window-controls-on-wi...
2•thunderbong•12m ago•0 comments

Touch Typing Number Keys

https://susam.net/touch-typing-number-keys.html
1•susam•12m ago•0 comments

See what 4D shapes look like (interactive grapher)

https://github.com/kpwdv0/4d-grapher
1•kpwd•17m ago•0 comments

Tripwire: An experiment in zip bombing bad actors

https://func.lol/x/tripwire
2•zdw•17m ago•0 comments

Self-declared 'King of Switzerland' builds empire of 117,000 square metres

https://www.dailymail.com/news/article-15778351/Self-declared-King-Switzerland-builds-empire-117-...
2•tosh•28m ago•0 comments

How to detect paying Cloudflare customers

https://bloomberry.com/blog/how-to-detect-paid-cloudflare-customers-vs-free/
1•AznHisoka•29m ago•0 comments

A Private (PQ Safe) E-Mail Provider You Can Verify End to End

https://bmail.ag/verify
2•rasengan•30m ago•0 comments

Show HN: Threej games – open-source gaming portal

https://threej.in
3•threejin•32m ago•0 comments

Sora's downfall signals broader problems with AI's creative utility

https://theconversation.com/soras-downfall-signals-broader-problems-with-ais-creative-utility-280013
1•doener•32m ago•0 comments

Oil tanker hijacked off Yemen, steers toward Somalia

https://www.yahoo.com/news/articles/yemen-says-oil-tanker-hijacked-121710980.html
3•delichon•33m ago•0 comments

Microsoft Researchers Predicting 2026's Tech, in 2015

https://news.microsoft.com/features/from-ai-and-data-science-to-cryptography-microsoft-researcher...
1•subdomain•34m ago•0 comments

Ask HN: Which is better–macOS/Windows/Linux?

1•wasimsk•35m ago•0 comments

OpenAI Builds an Advertising Infrastructure Around ChatGPT

https://tux.re/forum/viewtopic.php?t=216
2•tux033•35m ago•0 comments

Outlive 25 Remaster is launched

https://store.steampowered.com/app/2948680/Outlive_25/
1•renatovico•36m ago•1 comments

The Things We're Building

https://www.theverge.com/tech/922505/vibe-code-projects-claude-installer
2•Brajeshwar•37m ago•0 comments

Docker 29 has changed its default image store for new installs

https://docs.docker.com/engine/storage/containerd
2•neitsab•40m ago•2 comments

Show HN: A Local-only URL shortener

https://9ev.in/
1•shabda•42m ago•1 comments

Discover: A curated list of RSS feeds worth following

https://discover.brine.dev/
3•brine•45m ago•1 comments

OrangePi 4 Pro Review

https://boilingsteam.com/orange-pi-4-pro-review/
2•ekianjo•46m ago•0 comments

How did it come to this? The state of the Royal Navy

https://vulpesetleo.substack.com/p/how-did-it-come-to-this
2•foxandlion•49m ago•0 comments

Show HN: AgInTiFlow, a local web and CLI agent workspace using DeepSeek

https://www.npmjs.com/package/@lazyingart/agintiflow
3•lachlanchen•50m ago•0 comments

Everyone Should Write

https://collabfund.com/blog/why-everyone-should-write/
3•eigenBasis•52m ago•0 comments

How to orchestrate large coding tasks without context bloat

https://raine.dev/blog/phased-implement-workflow/
3•rane•53m ago•1 comments

William Byrd on Logic and Relational Programming, miniKanren (2014)

https://www.infoq.com/interviews/byrd-relational-programming-minikanren/
2•tosh•53m ago•0 comments

Have Your Iceberg Cubed, Not Sorted: Meet Qbeast, the OTree Spatial Index

https://jack-vanlightly.com/blog/2025/11/19/have-your-iceberg-cubed-not-sorted-meet-qbeast-the-ot...
4•birdculture•54m ago•0 comments

Trystero – Browser P2P Library

https://github.com/dmotz/trystero
1•rickcarlino•55m ago•0 comments