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•6mo 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!

How the 'Lethal Trifecta' sets the conditions for stealing data on command

https://www.scworld.com/perspective/how-the-lethal-trifecta-sets-the-conditions-for-stealing-data...
1•forks•32s ago•0 comments

Low-latency streaming via CDN: LL-HLS and LL-DASH for sub-3-second latency

https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=172056
1•breve•2m ago•0 comments

DankMaterialShell v1 Release

https://danklinux.com/blog/v1-release
1•ashenke•3m ago•0 comments

Devolver's focus on "small, creative, unique, risk-taking titles" paid off

https://www.gamesindustry.biz/how-devolvers-focus-on-small-creative-unique-risk-taking-titles-pai...
1•cyanbane•3m ago•0 comments

A collection of utilities powered by WebAssembly and client JavaScript

https://www.webutils.app
1•akmittal•4m ago•0 comments

Segment Anything Audio

https://aidemos.meta.com/segment-anything/
1•E-Reverance•4m ago•0 comments

Computer Graphics from Scratch

https://gabrielgambetta.com/computer-graphics-from-scratch/
1•Frotag•4m ago•0 comments

Make It Blink with This Number System

https://number-garden-alive.netlify.app/
1•cpuXguy•6m ago•0 comments

Commodore 64 Ultimate [video]

https://www.youtube.com/watch?v=_8bntwxnKX0
1•amichail•6m ago•0 comments

Show HN: HN Wrapped 2025

https://hn-wrapped.kadoa.com?year=2025
1•hubraumhugo•9m ago•0 comments

Drug Discovery in the U.S. vs. China

https://www.statnews.com/2025/12/16/china-drug-discovery-us-leadership-falling/
2•bikenaga•10m ago•0 comments

From bigger models to better intelligence:what NeurIPS25 tells us about progress

https://lambda.ai/blog/neurips-2025-from-bigger-models-to-better-intelligence
2•lambda-research•11m ago•0 comments

Rad Power Bikes files for bankruptcy protection

https://www.bicycleretailer.com/industry-news/2025/12/16/rad-power-bikes-files-bankruptcy-protection
1•jerlam•14m ago•0 comments

Show HN: Hero – Notion for Formal Docs

https://www.myhero.so
2•kevintouati•17m ago•0 comments

Offline Is Always Better

https://josebriones.substack.com/p/offline-is-always-better
3•toomuchtodo•19m ago•0 comments

Attempting Cross Translation Unit Taint Analysis for Firefox

https://attackanddefense.dev/2025/12/16/attempting-cross-translation-unit-static-analysis.html
1•jonchang•19m ago•0 comments

Top Startup Ideas Guaranteed to Get $1M Seed Funding

1•suhaspatil101•21m ago•0 comments

EU moves to ease 2035 ban on internal combustion cars

https://apnews.com/article/eu-ban-combustion-engines-emissions-environment-d1432af14eaa73d6536f60...
1•Svip•23m ago•0 comments

Show HN: AI-powered SEO automation tool distilled from production agency systems

https://www.quicklyseo.com/
1•ralphqkly•27m ago•0 comments

Show HN: I built the fastest RSS reader in Zig

https://github.com/superstarryeyes/hys
3•superstarryeyes•28m ago•0 comments

Why mistletoe is thriving, even as its traditional orchards are lost

https://theconversation.com/why-mistletoe-is-thriving-even-as-its-traditional-orchards-are-lost-2...
1•zeristor•29m ago•1 comments

YouTube Creators Find a New Consumer for AI Slop: Babies

https://www.bloomberg.com/news/articles/2025-12-03/ai-slop-youtube-videos-for-kids-pretend-to-be-...
2•paulpauper•29m ago•3 comments

What Does a Database for SSDs Look Like?

https://brooker.co.za/blog/2025/12/15/database-for-ssd.html
1•KraftyOne•30m ago•0 comments

Run Codex CLI in a firewalled Docker sandbox

https://github.com/paulux84/codex-lockbox
1•p2dev•31m ago•0 comments

The Worst Thing About the RAM Shortage That Nobody's Talking About

https://gizmodo.com/the-worst-thing-about-the-ram-shortage-that-nobodys-talking-about-2000700185
2•_____k•33m ago•0 comments

Netflix Is Buying Nostalgia

https://12gramsofcarbon.com/p/tech-things-netflix-is-buying-nostalgia
3•theahura•34m ago•0 comments

Ask HN: What's up with the "model overloaded" on Gemini API?

3•worldsavior•35m ago•1 comments

SK Hynix Internal Analysis

https://twitter.com/BullsLab/status/1998691507956756547
1•_____k•36m ago•0 comments

Hacking group says it's extorting Pornhub after stealing users' viewing data

https://techcrunch.com/2025/12/16/hacking-group-says-its-extorting-pornhub-after-stealing-users-v...
2•SilverElfin•40m ago•1 comments

Codex Is Down

https://status.openai.com/incidents/01KCM7PAMQMCM8KAB6ZCWPKNK1
3•bartkappenburg•41m ago•0 comments