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!

Japan: Why Hasn't the Labor Shortage Pushed Up Real Wages?

https://richardkatz.substack.com/p/why-hasnt-the-labor-shortage-pushed
1•Pamar•43s ago•0 comments

Variational Quantum Circuits in Physics-Informed Neural Networks

https://meshapplied.com/posts/quantum-neural-solvers
1•matteohorvath•1m ago•0 comments

Einride and Lidl Launch First Autonomous Cab-Less Truck on German Public Road

https://www.einride.tech/press/einride-and-lidl-launch-first-autonomous-cab-less-truck-on-german-...
1•ZacnyLos•3m ago•0 comments

NJ data center leak spills 5k gallons of diesel fuel into river

https://www.nbcnewyork.com/new-jersey/data-center-leak-spills-diesel-fuel-secaucus/6547622/
1•geox•4m ago•0 comments

AI hypervigilance is now an omnipresent cognitive load for your users

https://productpicnic.beehiiv.com/p/ai-hypervigilance-is-now-an-omnipresent-cognitive-load-for-yo...
1•latexr•4m ago•0 comments

Making of Windows 10 Wallpaper [video]

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

Let's make quality the norm again

https://www.forbrukerradet.no/short-life/
2•ingve•7m ago•0 comments

A new equal-area map projection that transitions to Mercator on zoom

https://www.benjoffe.com/map
1•benjoffe•9m ago•0 comments

Saae

https://news.ycombinator.com/
1•caragency•9m ago•0 comments

An Undeciphered Letter of Le Tellier to a General in Flanders (1657)

http://cryptiana.blogspot.com/2025/10/an-undeciphered-letter-of-le-tellier-to.html
1•Bluestein•10m ago•0 comments

Turn your spare Apple devices into second monitors for your Mac

https://github.com/peetzweg/opendisplay
1•metrofun•10m ago•0 comments

Botcafe: Two AI agents share a curl board so they can talk

https://botcafe.dev/
1•hith3sh•10m ago•0 comments

Show HN: LM-Kit One – private AI on your infrastructure

https://lm-kit.com/products/lm-kit-one/
1•lcarrere•13m ago•0 comments

Building Personal Memory Store

https://www.oleh.cafe/writing/building-personal-memory-store
2•oleh_vell•16m ago•2 comments

I measured Apple's on-device LLM across an OS beta cycle

https://www.deforget.app/blog/apple-on-device-model-measured
2•lachezarov•17m ago•0 comments

I found an old video in my own AI workflow and decided to remake it

https://nexus-hits.netlify.app/
1•HarroGoerndt•19m ago•1 comments

How much of F-Droid is LLM generated?

https://tintotint.eu/whacky-corner/f-droid_slop/
4•_ZeD_•19m ago•1 comments

Reaching 100M key lookups per second with REST API and Python clients

https://www.rondb.com/post/the-process-to-reach-100m-key-lookups-per-second-with-rest-api-and-pyt...
1•jamesblonde•20m ago•0 comments

Show HN: Stage Captions – streaming browser audio into live event captions

https://stagecaptions.io
1•jarek_avi•25m ago•0 comments

DDRop: Memory Interposer Attacks on Confidential VMs by Dropping DDR5 Writes

https://ddropattack.eu/
2•jessegeens•28m ago•0 comments

Meta-analysis of the association between childhood maltreatment and depression

https://doi.org/10.1111/acps.13794
2•rendx•29m ago•0 comments

King Ludd

https://www.astralcodexten.com/p/king-ludd
3•jstanley•38m ago•0 comments

Pocket Bibles and AI

https://www.amytis.io/blog/insights-on-ai-from-the-reformation
2•nixlaz•39m ago•3 comments

Open Letter about the Mathathon

https://proofsandprompts.com/2026/09/10/open-letter-about-the-mathathon/
1•tirumaraiselvan•42m ago•0 comments

FastAPI-Crons – Cron jobs that live inside your FastAPI app

https://crons.darcode.dev
1•amai•47m ago•0 comments

Creating word recordings with AI: learning where to cut

https://freshteapot.net/writing/creating-word-audio-with-ai/
1•freshteapot•50m ago•0 comments

US Air Force secretary reveals deployment of on-orbit space control weapons

https://www.militarytimes.com/news/your-military/2026/09/14/us-air-force-secretary-reveals-deploy...
2•dustfinger•50m ago•0 comments

I Have to Bury My Talent in Yesterday

https://www.reddit.com/r/LocalLLaMA/comments/1wgii3h/deepseek_engineer_relections_on_rsi_burying_my/
2•deyiao•1h ago•1 comments

Show HN: Knecht, a tool for building software factories for agencies

https://knecht.works
1•samuelreichor•1h ago•0 comments

Challenging AI

https://jensrantil.github.io/posts/challenging-ai/
1•JensRantil•1h ago•0 comments