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!

Understanding the Linux Kernel: The Scheduler

https://internals-for-interns.com/posts/linux-kernel-scheduler/
1•valyala•5m ago•0 comments

Dolby Launches First UPC AV1 Lawsuit Against TPV Subsidiaries

https://michael7924.substack.com/p/dolby-launches-first-upc-av1-lawsuit
1•ledoge•11m ago•0 comments

How hot is too hot for the human body? (2023)

https://www.bbc.com/news/health-66249805
2•tosh•13m ago•0 comments

Today programme suffers 'body blow' as BBC prioritises social/digital content

https://www.theguardian.com/media/2026/jun/27/today-programme-bbc-social-digital-content-radio-4
1•mellosouls•13m ago•1 comments

Apple Internals: Swift in the Kernel

https://blog.calif.io/p/apple-internals-swift-in-the-kernel
2•akyuu•16m ago•0 comments

Everyone Will Have an AI Coding Agent

https://github.com/HoratiuCode/Clawie
1•horatiucode•17m ago•0 comments

How a New York race became the first front in the AI industry's midterm war

https://www.washingtonpost.com/politics/2026/06/25/how-new-york-race-became-first-front-ai-indust...
1•1vuio0pswjnm7•17m ago•0 comments

Europe's extreme heat is shutting down power plants

https://www.technologyreview.com/2026/06/24/1139676/europe-heat-power-plants/
1•joozio•18m ago•1 comments

Chernobyl's Forgotten Internet [video]

https://www.youtube.com/watch?v=iZKw2H6d1SU
1•arbayi•23m ago•1 comments

Former executive sues Meta over attempts to 'silence' her memoir Careless People

https://www.latimes.com/business/story/2026-06-26/former-executive-sues-meta-over-attempts-to-sil...
1•1vuio0pswjnm7•24m ago•0 comments

Modern Web Guidance

https://master.dev/blog/modern-web-guidance/
2•ibobev•26m ago•0 comments

Factorio 2.1 Experimental Release

https://factorio.com/blog/post/fff-444
5•ibobev•29m ago•0 comments

Former executive sues Meta over attempts to 'silence' memoir Careless People

https://apnews.com/article/meta-wynnwilliams-lawsuit-silence-book-careless-people-652de34608da69b...
2•1vuio0pswjnm7•29m ago•0 comments

Meta-analysis of DNA methylation aging signatures in 17 human tissues

https://www.nature.com/articles/s43587-026-01164-5
1•bookofjoe•30m ago•0 comments

ICC judges sue convicted criminal Trump after US attempt to intimidate the court

https://www.yacnews.com/icc-judges-sue-convicted-criminal-donald-trump-after-us-attempt-to-intimi...
6•ortr•31m ago•0 comments

My First Atari ST

https://www.goto10retro.com/p/my-first-atari-st
1•ibobev•32m ago•0 comments

Ornith-1.0: A family of open-source LLMs specialized for agentic coding

https://twitter.com/ornith_/status/2070148887067963854
3•jalopy•36m ago•0 comments

U.S. government restricts access to OpenAI's new AI model

https://www.zeit.de/digital/2026-06/openai-gpt-5-6-ki-modell-sol-usa
1•chelm•37m ago•0 comments

Show HN: PreFlight – A local AST background daemon to catch AI code drift

https://preflight-vibe.vercel.app/
1•Avenassh•38m ago•0 comments

Apple's Raising Prices. Here's What That Means for the Rest of Tech

https://www.inc.com/connor-jewiss/apples-finally-raising-prices-heres-what-that-means-for-the-res...
1•connorjewiss•40m ago•0 comments

Students are doing worse than you think

https://economist.com/international/2026/06/25/students-are-doing-worse-than-you-think
4•pseudolus•42m ago•1 comments

Show HN: Codex can track external events with respect to internal data

https://app.getsupers.com/admin/growth
1•GPUboy•43m ago•0 comments

Designing a Personal Pebble Watchface

https://www.jonashietala.se/blog/2026/06/26/designing_a_personal_pebble_watchface/
1•dzogchen•47m ago•0 comments

UN Charter – United Nations

https://www.un.org/en/about-us/un-charter
1•jeeee•51m ago•0 comments

Fintech Engineering Handbook

https://w.pitula.me/fintech-engineering-handbook/
42•signa11•52m ago•6 comments

Show HN: Mcpify – Turn any REST API into an MCP server in one command

https://github.com/Amanbig/mcpify
1•harpreetsingh80•53m ago•0 comments

Properties of AI

https://claude.com/resources/tutorials/the-4-properties-of-ai
2•vinhnx•53m ago•0 comments

I'd Build a 864K Motivation Page a $225K/Year App [video]

https://www.youtube.com/watch?v=Y2AWF9xFuKE
1•Harro123•53m ago•0 comments

AI data centers are supercharging a new battery market

https://wpintelligence.washingtonpost.com/topics/energy-climate/2026/06/24/ai-data-centers-are-su...
2•bookofjoe•59m ago•1 comments

Rewriting the World in Rust

https://bitfieldconsulting.com/posts/rewrite-in-rust
2•vinhnx•59m ago•1 comments