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!

SaaS Record for 2027

1•collinjones2001•1m ago•0 comments

AI trolley users rack up higher basket values and spend longer in store

https://www.citystgeorges.ac.uk/news-and-events/news/2026/june/smart-supermarket-trolleys-linked-...
1•geox•4m ago•0 comments

In-memory security gate for autonomous AI agent tools

https://bartholomew.info
1•itsub_sa•5m ago•0 comments

One job ad, 1000 applicants: How do you stand out in a world of AI job hunters?

https://www.rnz.co.nz/news/personal-finance/1215988/one-job-ad-1000-applicants-how-do-you-stand-o...
4•billybuckwheat•5m ago•0 comments

Long-term melatonin use linked to 90% higher heart failure risk

https://www.sciencedaily.com/releases/2026/08/260829035228.htm
1•elo2000•6m ago•0 comments

A Simple Guide to Five Normal Forms in Relational Database Theory (1982)

https://www.bkent.net/Doc/simple5.htm
2•dargscisyhp•9m ago•0 comments

Squeak 6.1 Release Party UKSTUG, Sep 2nd 18:00 UTC

https://www.meetup.com/ukstug/events/316112369/
1•LinqLover•11m ago•0 comments

Bugs happen: The easy way to compare solo PQ to ECC+PQ

https://blog.cr.yp.to/20260704-bugs.html
1•zdw•13m ago•0 comments

Racial Views of Winston Churchill

https://en.wikipedia.org/wiki/Racial_views_of_Winston_Churchill
2•vinni2•14m ago•0 comments

The AI That Won't Say Who Made It (Unmasking Ox Alpha) [video]

https://www.youtube.com/watch?v=dLTNVM1mhiU
1•emk_709•15m ago•0 comments

Why CephFS commits writes faster than Ceph RBD on the same cluster

https://zozoo.io/aether-shared-filesystem-faster-than-block-storage/
1•zozotk•16m ago•0 comments

Apple Maps Renames Lake Ontario 'Lake America'

https://www.macrumors.com/2026/09/01/apple-maps-lake-america/
3•spdustin•19m ago•3 comments

SKILL.state: Scalable Long-Horizon Agent Skills

https://arxiv.org/abs/2608.26263
1•Hoefner•20m ago•0 comments

Fun weekend project – brand distribution game

https://keepitlive.lol
1•seif-dx•21m ago•1 comments

Fluorescent lamps (don't) have ears

https://blog.coredump.cx/p/fluorescent-lamps-dont-have-ears
2•zdw•22m ago•0 comments

OpenAI to Restrict Astra Model After Rating It 'Critical' Cyber Risk

https://www.wsj.com/tech/ai/openai-to-restrict-astra-model-after-rating-it-critical-cyber-risk-49...
3•bmau5•23m ago•3 comments

Why your agent is better than mine

https://yakko.dev/blog/best-harness-is-your-own-harness
2•yakkomajuri•24m ago•0 comments

Show HN: Fountain – OSS API to give your app a computer it can talk to

https://managoat.com/oss-launch
1•jhgaylor•24m ago•0 comments

failfs

https://docs.kernel.org/filesystems/failfs.html
3•manbash•25m ago•0 comments

Show HN: Compilr.dev Studio – A project brain AI agents write to and people read

https://studio.compilr.dev/welcome/
1•scozzola•26m ago•1 comments

Small Is Beautiful

https://blog.dshr.org/2026/09/small-is-beautiful.html
2•zdw•27m ago•0 comments

Surfmen of the U.S. Life-Saving Service

https://www.nps.gov/calo/learn/historyculture/surfmen.htm
2•Bluestein•28m ago•0 comments

Meta's $17B Settlement Is a Bad Deal for Teens and All Social Media Users

https://www.eff.org/deeplinks/2026/09/metas-17-billion-settlement-bad-deal-teens-and-all-social-m...
3•panarky•29m ago•1 comments

Modernist Tiles with CSS Grid

https://www.carmenansio.com/articles/modernist-tiles-css-grid/
2•eustoria•31m ago•0 comments

I've Been Reading

https://antonyfb.com/blog/reading-straw-world.html
1•jruohonen•32m ago•0 comments

JavaScript / ECMAScript Internationalization (I18n)

https://www.jsi18n.com/
1•eustoria•34m ago•0 comments

Making my blog feel like other people are here

https://keith.is/post/playhtml-shared-header/
1•eustoria•34m ago•0 comments

Claude Fable 5.1 results on ARC-AGI

https://arcprize.org/results/anthropic-claude-fable-5-1
3•matt1•35m ago•3 comments

Aurem – ships real commits to your website from plain English, no coder needed

https://auremcto.com/
2•tjsandhu•36m ago•0 comments

A docs page is a long and complex search query to find AI agents

https://blog.val.town/aeo
3•stevekrouse•37m ago•0 comments