frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•7mo 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!

Photoshop 1.0 and the Early Macintosh HIG

https://daringfireball.net/linked/2025/12/31/photoshop-1-and-the-early-macintosh-hig
1•tosh•3m ago•0 comments

Navigating AI: Critical Thinking in the Age of LLMs

https://mcuoneclipse.com/2025/12/31/navigating-ai-critical-thinking-in-the-age-of-llms/
1•chrsw•3m ago•0 comments

Astronomers combine JWST and Chandra X-ray Telescope to image colliding galaxies

https://www.scientificamerican.com/article/nasa-telescopes-capture-colliding-spiral-galaxies-in-s...
1•ck2•4m ago•1 comments

New York's incoming mayor bans Raspberry Pi at inauguration

https://www.theregister.com/2025/12/31/zohran_mamdani_raspberry_pi_ban/
6•Tomte•9m ago•0 comments

Are you a deep-tech founder working on an interesting project?

1•udit_50•10m ago•0 comments

Fire19 – A New DNS

https://jaguarint.vercel.app/
1•telui•10m ago•1 comments

Web Browsers have stopped blocking pop-ups

https://www.smokingonabike.com/2025/12/31/web-browsers-have-stopped-blocking-pop-ups/
2•coldpie•12m ago•0 comments

Here we go again: Retiring coal plant forced to stay open by Trump Admin

https://arstechnica.com/science/2025/12/trump-admin-orders-another-coal-plant-to-stay-open/
2•duxup•13m ago•0 comments

Stewart Cheifet, creator of The Computer Chronicles, dead at 87

https://obits.goldsteinsfuneral.com/stewart-cheifet
2•spankibalt•13m ago•1 comments

Poland calls for EU action for AI-generated TikTok videos calling for "Polexit"

https://notesfrompoland.com/2025/12/31/poland-calls-for-eu-action-against-ai-generated-tiktok-vid...
2•consumer451•14m ago•0 comments

2026

1•xalu•14m ago•0 comments

Nelm (Helm alternative)

https://github.com/werf/nelm
1•gtirloni•16m ago•0 comments

Authors Guild Raises Concerns About Kindle's New "Ask This Book" AI Feature

https://authorsguild.org/news/statement-on-amazon-kindle-ask-this-book-ai-feature/
1•ilamont•16m ago•0 comments

Moonshot AI, a Chinese AI startup behind Kimi, closed a $500M Series C

https://twitter.com/poezhao0605/status/2006286951222038562
2•Alifatisk•18m ago•1 comments

Running out of places to move the goalposts to

https://nickdrozd.github.io/2025/12/31/goalposts.html
1•nickdrozd•20m ago•0 comments

Formally speaking, "Transpiler" is a useless word

https://people.csail.mit.edu/rachit/post/transpiler-formal/
1•birdculture•20m ago•0 comments

Agents Done Right: A Framework Vision for 2026

https://blog.bryanl.dev/posts/agent-framework-vision/
1•camedee•23m ago•1 comments

Climate Solutions: Why I'm More Optimistic for 2026

https://www.gravityloss.com/2025/12/climate-solutions-why-im-more-optimistic-for-2026/
1•Gravityloss•23m ago•0 comments

What Do Consumers Want in Smart Glasses?

https://spectrum.ieee.org/two-visions-for-smart-glasses
1•ohjeez•24m ago•0 comments

Head Up, Feet Moving: Complexity isn't a spectator sport

https://medium.com/topology-insight/head-up-feet-moving-b56e60867190
1•asplake•26m ago•0 comments

Tesla Q4 2025 Delivery Consensus

https://ir.tesla.com/press-release/delivery-consensus-fourth-quarter-2025
2•yibg•26m ago•0 comments

Historical Popularity Index

https://pantheon.world/explore/rankings?show=people&years=-3501,2025
1•gygodard•26m ago•0 comments

Second-Hand Bookshops in Britain: 2025 Report

http://wormwoodiana.blogspot.com/2025/12/second-hand-bookshops-in-britain-2025.html
1•fogus•27m ago•0 comments

Looking Back at Python Pescara 2025

https://www.paulox.net/2025/12/31/looking-back-at-python-pescara-2025/
1•pauloxnet•30m ago•0 comments

WORST REGARDS: A collective fuck-you letter from humanity to 2025

https://worstregards.com/
3•tom8opot8o•30m ago•1 comments

Show HN: Overlay – Invisible AI Assistant

https://overlayai.app
1•ckkampy•32m ago•1 comments

Re-attach detached Terminal Tabs

https://askubuntu.com/questions/1242144/re-attach-detached-terminal-tabs
1•sipofwater•32m ago•0 comments

Thoughts on AI

https://vega.rd.no/writing/ai
2•vegardlarsen•36m ago•1 comments

A foundation for building tools on the AT Protocol using Unison

https://notes.kaushikc.org/3m6kc5nudgc2x?auth_completed=true
1•PaulHoule•40m ago•0 comments

The Economics of Duke University

https://dontaylor13.substack.com/p/duke-university
14•paulpauper•42m ago•1 comments