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!

Puppeteer vs. Selenium for Web Scraping, Tested on the Same Chrome

https://scrapfly.io/blog/posts/puppeteer-vs-selenium
1•noorsimar•51s ago•0 comments

I Tried Factory Droid So You Don't Have To

https://www.nlsmdn.com/posts/2026/i-tried-factory-droid-so-you-dont-have-to/
1•pushingbits•4m ago•0 comments

.NET11 Async Perf Regression

https://github.com/dotnet/runtime/issues/135738
1•mmd45•5m ago•1 comments

Relate – the agent-native graph database

https://relatedb.ai/
1•jonbaer•5m ago•0 comments

The anti-marketing aspect of the Gemini network

https://ploum.net/2026-11-12-anti-marketing-gemini.html
1•dverlaeckt80•6m ago•0 comments

The Evolving Story of How Chemistry Became Biology

https://www.quantamagazine.org/the-evolving-story-of-how-chemistry-became-biology-20261112/
1•dverlaeckt80•7m ago•0 comments

DockTail watches Docker containers, looks for labels, and exposes as TS services

https://github.com/marvinvr/docktail
1•opengrass•9m ago•0 comments

Show HN: Casa – A tiling macOS browser with terminal panes, Hyprland-style

https://github.com/alentodorov/casa-browser
1•alentodorov•9m ago•0 comments

Show HN: Context Machines – walks your web app like a new user to find bugs

https://github.com/hughhellings/contextmachines
1•hughhellings•10m ago•0 comments

The Leshan Giant Buddha

https://en.wikipedia.org/wiki/Leshan_Giant_Buddha
1•sans_souse•11m ago•0 comments

Stay-in-sight – everything you need for email outbound – open-source

https://stayinsight.sleeksite.ai/
1•y1426i•12m ago•0 comments

Show HN: A Slack-like GitHub client for managing PRs

1•othmanosx•12m ago•1 comments

Show HN: Easy Dashcam – open-source Android app for a Wi-Fi dashcam

1•juanmespina•12m ago•0 comments

Show HN: MarkovChat, chat with people who share your intellectual interests

https://markovchat.com/
1•hackboyfly•12m ago•0 comments

When Probability Becomes a Verdict

https://medium.com/@smoking2man/when-probability-becomes-a-verdict-90a6f72cd506
2•Aldus551•12m ago•0 comments

Show HN: Incremendle, a new number-go-up game every day

https://incremendle.com/
2•nickdirienzo•13m ago•0 comments

ArxCloud – Turnkey Cloud SASE, AI/Web DLP, and Zero-Port LAN Relay

https://demo.arxcloud.io/
1•justmedric•13m ago•0 comments

Show HN: Pond Snap – Like Flappy Bird, but for people who want to relax

https://pondsnap.fun/
1•Tryvrsakjo10•15m ago•0 comments

The big gap between AI capabilities and replacing jobs

https://greyenlightenment.com/2026/11/11/the-gap-between-ai-capabilities-and-replacing-jobs/
2•paulpauper•15m ago•0 comments

Show HN: DRS-VPT. Localize a photo in a 3D point cloud without an initial pose

https://github.com/ori-drs/drs-vpt
2•seasponge•16m ago•0 comments

Fable and Mythos 5.2: The System Card

https://thezvi.substack.com/p/fable-and-mythos-52-the-system-card
1•paulpauper•16m ago•0 comments

Escaping the "Outside Criticism" Trap

https://www.astralcodexten.com/p/escaping-the-outside-criticism-trap
1•paulpauper•17m ago•0 comments

UI SDK: A library for agents to build the next generation of UIs

https://ui-sdk.dev/
2•bpierre•17m ago•0 comments

Voyager 1 is about to reach one Light-Day from Earth

https://www.smithsonianmag.com/smart-news/voyager-1-is-the-farthest-human-made-object-in-the-univ...
3•cybermango•18m ago•1 comments

Nvidia Shareholders Won't Miss Jensen Huang for Long

https://www.wsj.com/finance/stocks/nvidia-shareholders-wont-miss-jensen-huang-for-long-13429e31
2•JumpCrisscross•19m ago•1 comments

Coffeezilla: Investigating the President [video]

https://www.youtube.com/watch?v=W4PIkmjwGsQ
2•iamben•20m ago•0 comments

Vibes Don't Maintain

https://roll.bybacon.com/2026/10/14/vibes-dont-maintain.html
2•dxs•20m ago•0 comments

Distributed Ray Tracer

https://ray.hatchet.run
2•juliusgeo•20m ago•0 comments

The Triumph of Labour

https://publicdomainreview.org/collection/walter-crane-cartoons-for-the-cause/
1•jruohonen•20m ago•0 comments

Dwarf planet candidate appears which takes roughly 280 years to orbit our sun

https://www.smithsonianmag.com/smart-news/astronomers-found-a-mysterious-object-orbiting-far-beyo...
8•cybermango•21m ago•1 comments