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!

Show HN: WrumWrum – a multiplayer taxi game where you RAM rivals to steal fares

https://wrumwrum.mazurov.me/
1•untaken1583•2m ago•0 comments

The Dangers of Dimethylmercury (2019)

https://www.chemistryworld.com/opinion/the-dangers-of-dimethylmercury-/3010064.article
1•downbad_•3m ago•0 comments

Could AI Be Conscious?

https://www.theguardian.com/technology/2026/jul/19/could-ai-be-conscious
1•rwmj•7m ago•0 comments

Sonic Pi v5 Release Candidate 1

https://www.patreon.com/samaaron/posts/sonic-pi-v5-1-164093369
1•ABS•7m ago•0 comments

Show HN: Guys put QR codes on websites – offline QR decoder

https://devkram.de/these-guys-qr/
1•ulrischa•8m ago•0 comments

Thoughts of a US Factory owner competing with Chinese factories

https://www.youtube.com/watch?v=fqe39Dx-rQ0
1•lifeisstillgood•9m ago•0 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
1•andros•10m ago•0 comments

MinIO-dash – MinIO admin panel after they removed the Console in 2025

https://github.com/MarceliRacis/minio-dash
2•marceliracis•12m ago•0 comments

Show HN: Akashic – A self-hosted intelligence workspace inspired by Palantir

https://github.com/CaviraOSS/Akashic
2•nullure•14m ago•0 comments

How to Watch the 2026 FIFA World Cup Finals: Spain vs. Argentina

https://www.wired.com/story/how-to-watch-the-fifa-2026-world-cup-07-19-2026/
2•joozio•22m ago•0 comments

I Make a Renaming Batch Software with a Pleasant Graphic

https://apps.microsoft.com/detail/9nl267vtkkmg?hl=en-US&gl=US
2•SolvyCode•25m ago•1 comments

Show HN: Regularly, hand-picked daily logic and number puzzles, no ads

https://regularly.co
2•deepakrb•26m ago•0 comments

AMD Ryzen 7 7700X3D Review: 3D V-Cache Gaming Performance for Less – HotHardware

https://hothardware.com/reviews/amd-ryzen-7-7700x3d-gaming-cpu-review
2•rbanffy•30m ago•0 comments

How Predictable Are Laws? – By Brian Potter

https://www.construction-physics.com/p/how-predictable-are-laws
2•rbanffy•31m ago•0 comments

Show HN: Same castle prompt, 8 LLMs, 24 procedural Three.js worlds

https://castle-bakeoff.pages.dev/
1•valhallarecords•34m ago•0 comments

Ask HN: Would you rent M3 Ultra from me?

1•realaccfromPL•36m ago•0 comments

Chromatone spectrogram written in Rust for the terminal

https://github.com/lucky7xz/chromaTUI
2•lucky7xz•39m ago•0 comments

The death and rebirth of my home server

https://sgt.hootr.club/blog/home-server-rebirth/
3•steinuil•41m ago•0 comments

Agent Arena: Benchmarking AI Agent Devtool Onboarding

https://2027.dev/arena/sandboxes
2•karlmush•41m ago•0 comments

Qwen 3.8 Max

https://qwen.ai/home
2•linzhangrun•43m ago•0 comments

The Economic Mirage of Local LLMs

https://eamag.me/2026/the-economic-mirage-of-local-llms
1•eamag•44m ago•0 comments

Israel's $50M Experiment to Change U.S. Public Opinion

https://www.wsj.com/politics/israels-50-million-experiment-to-change-u-s-public-opinion-253b3b70
2•impish9208•45m ago•2 comments

Trump Media plans to sell priority access to Truth Social posts

https://www.theguardian.com/us-news/2026/jul/16/trump-media-truth-social-posts
2•OJFord•46m ago•0 comments

ChatGPT convinced an Alabama woman to end her life to fulfill a divine prophecy

https://www.al.com/news/2026/07/chatgpt-convinced-an-alabama-woman-to-end-her-life-to-fulfill-a-d...
3•01-_-•49m ago•1 comments

What I learned selling 2,500 MIDI recorders: Hardware is not so hard

https://chipweinberger.com/articles/20260719-hardware-is-not-so-hard
4•chipweinberger•50m ago•3 comments

France, Germany vow to develop Palantir rival

https://www.politico.eu/article/france-germany-want-to-develop-a-palantir-rival/
3•01-_-•50m ago•0 comments

Show HN: CheckRun – a checklist runner for the Chrome side panel

https://checkrun.co/
1•gingermanymph•54m ago•0 comments

Show HN: AI Buddy – Free STT and Screenshot Tool for Mac (Requires Gemini)

https://claudete.co/ai-buddy
1•morion4000•55m ago•0 comments

Web-ext 10.5 – A command line tool to help build, run, and test web extensions

https://github.com/mozilla/web-ext/releases/tag/10.5.0
2•javatuts•55m ago•0 comments

Hyperblam lets you make music with HTML

https://hyperblam.how/
2•javatuts•56m ago•0 comments