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!

Productivity Effects Across Generations of AI Coding Tools

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6843118
1•fzliu•36s ago•0 comments

Talk to JEV

https://github.com/mkotlikov/jev-grug
1•mkotlikov•1m ago•0 comments

Typing Python, Gradually [video]

https://www.youtube.com/watch?v=eZbLUgy522s
1•matt_d•7m ago•0 comments

PPPlayer – An open-source music player built with Flutter

https://ppplayer.com
1•lucasveneno•7m ago•0 comments

We Need to Rewild the Internet (2024)

https://www.noemamag.com/we-need-to-rewild-the-internet/
1•jcbhmr•8m ago•0 comments

Egglog and Equality Saturation in a Production Tensor Compiler

https://egraphs.org/meeting/2026-09-17-luminal
1•matt_d•9m ago•0 comments

Fix It in Post

https://chuang.oncemarked.com/fix-it-in-post
1•ovspianist•9m ago•0 comments

Tech continues to be political (2025)

https://www.miriamsuzanne.com/2025/02/12/tech-ai-wtf/
1•jcbhmr•9m ago•0 comments

SHOW HN: I built the fastest PHP webserver in the world

1•EGreg•16m ago•0 comments

Show HN: A repo-aware architecture checkup for Rails apps

https://railsbaseline.com/checkup/run/
1•polysaturate•16m ago•0 comments

EA Safety

https://contraptions.venkateshrao.com/p/ea-safety
1•martialg•18m ago•0 comments

Union Alpha is Unbiased's Pareto

https://openrouter.ai/unbiased/pareto
1•algoth1•18m ago•1 comments

Show HN: 500 TB internet index in ClickHouse, with congestion pricing

https://scry.io/
3•Xyra•19m ago•0 comments

Jev was trained on 100% synthetic data

https://twitter.com/CompleteSkeptic/status/2100617775823966680
2•doh•20m ago•0 comments

Reimagining research papers as interactive and reliable AI agents

https://www.nature.com/articles/s41586-026-11044-y
2•bucket2015•20m ago•0 comments

Is-odd-jev – check if a number is odd, with a calibrated probability

https://github.com/alxcrt/is-odd-jev
1•alxcrt•28m ago•0 comments

Zeek 9 – Zeek Network Security Monitor

https://zeek.org/2026/09/introducing-zeek-9/
2•happyopossum•29m ago•0 comments

Alibaba releases Qwen 3.8 Omni Flash

https://qwen.ai/blog?id=qwen3.8-omni-flash
1•jjcm•29m ago•0 comments

What Is Happening with PostgreSQL 19?

https://www.snowflake.com/en/blog/engineering/postgresql-19-release-delay-feature-reverts/
3•plaur782•30m ago•0 comments

Agent Email Is Spam

https://www.coryd.dev/posts/2026/agent-email-is-spam
2•cdrnsf•31m ago•0 comments

ICE-style immigration raids won't be used in Australia, minister says

https://www.abc.net.au/news/2026-09-18/visa-overstayers-enforcement-not-like-ice/107164600
3•jyhrow•32m ago•1 comments

Show HN: Things To Have – free, privacy caring, mighty wishlist app

https://thingstohave.app/
1•brachkow•37m ago•0 comments

AI safety requires more than just slowing our pace – Stuart Russell

https://www.theguardian.com/commentisfree/2026/sep/15/ai-safety-requirements
2•turadg•40m ago•1 comments

The Neon back end is GA

https://neon.com/blog/neon-backend-is-ga
1•bgleb•43m ago•0 comments

Craft: A Collection of Design Engineering Concepts

https://craft.gustavofior.com
2•handfuloflight•44m ago•0 comments

Apple Reportedly Accepts 30% Higher RAM and Storage Prices in 2027

https://www.macrumors.com/2026/09/17/apple-higher-ram-storage-prices-2027-report/
1•mfiguiere•47m ago•0 comments

Show HN: I made a browser tool that creates newspaper and book text match cuts

https://papereffects.site
2•AhmedDionic•47m ago•0 comments

Amazon EC2 T8i Instances

https://aws.amazon.com/about-aws/whats-new/2026/09/ec2-t8i-instances-ga/
1•dabinat•47m ago•0 comments

A Mathematical Theory of Communication [pdf]

https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf
2•tylerdane•47m ago•1 comments

Filename Breaks iOS, and That's Boring Now

https://bryce.co/missing-images/
2•frizlab•48m ago•0 comments