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•12mo 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 Cleese on Creativity in Management [video]

https://www.youtube.com/watch?v=Pb5oIIPO62g
1•kristiandupont•3m ago•0 comments

Why and How to Run Local Models in Zed

https://zed.dev/blog/local-ai-in-zed
1•ciconia•6m ago•0 comments

Ask HN: Is Codex serving worse models or is it just the harness getting worse?

1•thillel•6m ago•0 comments

If you don't know you must know it

https://pdfearn.blogspot.com/2026/05/free-pdf-earn-3-per-day-by.html
1•iLzKii•7m ago•0 comments

Gelatine Sculpt Benefits for Weight Loss – Expert Guide 2026

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
1•rafyzaro•8m ago•0 comments

The CRPG Renaissance, Part 1: Fallout

https://www.filfre.net/2025/01/the-crpg-renaissance-part-1-fallout/
1•frogulis•12m ago•0 comments

Will MySpace ever lose its monopoly? (2007)

https://www.theguardian.com/technology/2007/feb/08/business.comment
3•downbad_•13m ago•1 comments

America's schools face backlash on digital devices as screens saturate classroom

https://www.boston25news.com/news/technology/americas-schools/XFNZQ73AT4Y3RCPO5A4AV3A6SU/
2•1vuio0pswjnm7•21m ago•0 comments

A New Typst Template for Pandoc

https://imaginarytext.ca/posts/2025/typst-templates-for-pandoc/
1•ankitg12•21m ago•0 comments

Show HN: Desktop GUI sandbox for AI agents and MCP servers

https://github.com/rednakta/nilbox
1•rednakta•22m ago•0 comments

Show HN: Versionparser – Java library for working with versioning schemes

https://github.com/cthing/versionparser
1•baron1405•24m ago•0 comments

You don't need all the LLM benchmarks

https://alex.smola.org/posts/34-benchmark-selection/
1•matt_d•30m ago•0 comments

How to Make xt850 Match xt 850

https://manticoresearch.com/blog/how-to-make-searches-like-xt850-match-xt-850/
1•snikolaev•30m ago•0 comments

Tech CEOs summoned to Congress for another hearing on social media's risks

https://apnews.com/article/tech-ceos-senate-hearing-zuckerberg-8c2c46758fd669e688170f96fa12a882
1•1vuio0pswjnm7•32m ago•0 comments

Noioaapps – our tools keep you informed (a dream)

https://medium.com/luminasticity/noioaapps-our-tools-keep-you-informed-43db36175f5d
1•bryanrasmussen•37m ago•0 comments

GPT Image 2 left me amazed but exhausted – so I built a little tool

https://imagesv2.ai
2•taoji•41m ago•0 comments

The terrifying rise of schoolboys making AI girlfriends

https://www.telegraph.co.uk/news/2026/05/25/schoolboys-ai-girlfriends/
2•Markoff•43m ago•1 comments

Self-Driving bus in Sweden crashes with tram on first day of passenger service

https://www.firstpost.com/auto/self-driving-bus-in-sweden-crashes-with-tram-on-first-day-of-passe...
3•Markoff•44m ago•0 comments

Notes on Pope Leo XIV's Encyclical on AI

https://simonwillison.net/2026/May/25/encyclical-on-ai/
8•pretext•45m ago•0 comments

The Little Go Book

https://github.com/karlseguin/the-little-go-book
2•saikatsg•45m ago•0 comments

Enhance or Eliminate? How AI Will Likely Change These Jobs

https://www.library.hbs.edu/working-knowledge/enhance-or-eliminate-how-ai-will-likely-change-thes...
1•_____k•49m ago•0 comments

NanoClaw creator turns down $20M buyout offer, raises $12M seed instead

https://techcrunch.com/2026/05/20/nanoclaw-creator-turns-down-20m-buyout-offer-raises-12m-seed-in...
3•doppp•49m ago•0 comments

The User Is Visibly Frustrated

https://pscanf.com/s/354/
6•croes•51m ago•0 comments

Real wages start to shrink in developed countries

https://www.ft.com/content/e126f744-3db9-4305-8871-31f83ebc4ed7
3•mikhael•52m ago•0 comments

The working definition of an Agent Endpoint

https://ianpilon.github.io/agent-endpoint/
1•ianpilon•54m ago•0 comments

New Google sheet favicon – but why?

2•jinen83•55m ago•2 comments

Ask HN: When and why did you start believing in God?

3•dvrp•55m ago•16 comments

Ask HN: Pregunta para los devs hispanohablantes

5•alonsovm44•1h ago•1 comments

AgentBrew – Portable toolbelt for your AI agents

https://github.com/patchen0518/AgentBrew
1•patchen0518•1h ago•0 comments

Ollama v0.30.0-rc23: "directly support llama.cpp" & "compatibility with GGUF"

https://github.com/ollama/ollama/releases/tag/v0.30.0-rc23
2•theanonymousone•1h ago•0 comments