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: TimerVana a Local-first scheduler for real world routines

https://timervana.net/browse
1•granto•4m ago•0 comments

This Month in Ladybird – August 2026

https://ladybird.org/newsletter/2026-08-31/
2•exploraz•4m ago•0 comments

Ask HN: Why isn't there a cursor for video games development

1•JimsonYang•6m ago•1 comments

NextDNS: fully configurable DNS, accepts money from customers as business model

https://nextdns.io/
1•Arubis•10m ago•1 comments

Can guitar frets perform multiplication?

https://www.charlespetzold.com/blog/2026/09/Can-Guitar-Frets-Perform-Multiplication.html
2•wibbily•11m ago•0 comments

Christmas Village shoppers no longer will be allowed to enter booths

https://www.phillyvoice.com/christmas-village-booths-ada-compliance/
2•josephcsible•12m ago•1 comments

What Tech Titans Don't Understand About Sci-Fi

https://www.theatlantic.com/newsletters/2026/09/the-books-briefing-tech-titans-sci-fi-asimov-lepo...
4•cisc•17m ago•0 comments

Rust's Type Checker Implementation Is Unsound: An Empirical Study

https://arxiv.org/abs/2608.28713
2•pykello•18m ago•0 comments

Abliteration.ai is making a business out of removing AI guardrails

https://techcrunch.com/2026/09/03/abliteration-ai-is-making-a-business-out-of-removing-ai-guardra...
2•ndesaulniers•19m ago•0 comments

The Search Evaluation Ladder

https://www.searchplex.net/blog/search-evaluation-ladder
2•splxai•22m ago•0 comments

Los Angeles District Bans Most A.I. For Students

https://www.nytimes.com/2026/09/03/us/lausd-schools-ban-ai-artificial-intelligence.html
3•bookofjoe•36m ago•4 comments

Basic News – a Telegram bot with customizable news digests

https://basicnews.world/
1•xenohunter•37m ago•0 comments

A pre-registered test: can a business's rules be recovered from its data?

https://justinsmith.build/writing/everything-a-business-knows/
1•s14jsmith•41m ago•0 comments

What runs when you open a repository

https://veltron.cc/research/what-runs-when-you-open-a-repository
1•nulvec•41m ago•0 comments

Show HN: Time Wizard

https://huggingface.co/jadidbourbaki/time-wizard
1•jadidbourbaki•41m ago•0 comments

Show HN: Mongotar – Files to Prompt, and Back

https://github.com/sebastiancarlos/mongotar
1•httbs•41m ago•0 comments

Ask HN: Wolfram Cloud Is Out

1•smithmayowa•44m ago•0 comments

Almost half of ICANN-accredited registrars under the control of a single busines

https://domainincite.com/31912-dropcatch-acquires-300-more-registrars
7•dendark•45m ago•0 comments

SwiftTUI

https://swifttui.sh/
1•frizlab•46m ago•0 comments

Cloud Engineer

1•endowed7•47m ago•0 comments

Exhibit of 2026 AI Agents

https://agent-museum-2026.halstonsellentin.chatgpt.site
1•hsellentin•47m ago•0 comments

Understanding RabbitMQ in Simple Terms

https://sushantdhiman.dev/blog/understanding-rabbitmq/
1•birdculture•48m ago•0 comments

Record-High 89% in U.S. Say Government Corruption Widespread

https://news.gallup.com/poll/713933/record-high-say-government-corruption-widespread.aspx
22•karakoram•48m ago•4 comments

DaemonCore Launches a Slew of Free Pentesting Tools

https://www.daemoncore.app/
1•DaemonCoreApp•49m ago•1 comments

Big Crocs vs. Little Crocs

https://marcrandolph.substack.com/p/big-crocs-vs-little-crocs
1•fagnerbrack•51m ago•0 comments

Send interactive life coaching worksheets [video]

https://www.youtube.com/watch?v=gNW7sSXSoW4
1•shammadahmed•52m ago•0 comments

Make money from your menu bar

https://sponsorbar.io/
1•partsch•52m ago•0 comments

Gemini vs. Claude: Which AI Model created a better perfume?

https://www.youtube.com/watch?v=YfFk050AjPw
1•yipinwong•54m ago•1 comments

A Hundred Steps Back

https://www.inventbuild.studio/blog/a-hundred-steps-back-3d12f33c95138084bb9efc107cc54d13
1•virgil_disgr4ce•54m ago•0 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
47•negura•59m ago•8 comments