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

GPU Benchmarks Hierarchy 2026

https://www.tomshardware.com/reviews/gpu-hierarchy,4388.html
1•jonbaer•40s ago•0 comments

Whenwords: An Open Source Library Without Code

https://github.com/dbreunig/whenwords
1•lis•7m ago•0 comments

How to Favicon in 2026: Three files that fit most needs

https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
1•moebrowne•8m ago•0 comments

A tech company's secretive plan to destroy books

https://www.msn.com/en-us/news/technology/ar-AA1V4aZv
1•SkyMarshal•10m ago•0 comments

Microsoft routing example.com traffic to a Japanese website

https://arstechnica.com/information-technology/2026/01/odd-anomaly-caused-microsofts-network-to-m...
1•rldjbpin•12m ago•0 comments

Pressure grows on ministers to end secrecy over UK medicines deal with Trump

https://www.theguardian.com/society/2026/jan/27/pressure-grows-on-ministers-to-end-secrecy-around...
3•chrisjj•14m ago•0 comments

Trinity-Large: a frontier-scale model

https://twitter.com/latkins/status/2016279374287536613
1•tosh•19m ago•0 comments

Gamer Games for Non-Gamers

https://www.hillelwayne.com/post/vidja-games/
2•bschne•20m ago•0 comments

No Copyrights for AI Works, US Government Tells Supreme Court

https://www.law.com/nationallawjournal/2026/01/27/no-copyrights-for-ai-works-us-government-tells-...
3•qingcharles•20m ago•0 comments

Building Reliable LLM Batch Processing Systems

https://theneuralmaze.substack.com/p/building-reliable-llm-batch-processing
1•andreeamiclaus•21m ago•0 comments

En Kort Refleksion over ADHD

1•Aksel-Louis•22m ago•1 comments

Branch Forge Story OS – A filesystem-based, non-linear story builder

https://chatgpt.com/g/g-69649acdf95881918590d9e7a6fe5607-branch-forge-story-os
1•PEACEBINFLOW•23m ago•1 comments

Could You Survive the Black Death, the Sack of Rome and Other Catastrophes?

https://www.smithsonianmag.com/history/could-you-survive-the-black-death-the-sack-of-rome-and-oth...
1•NewCzech•23m ago•0 comments

Devuan – Debian Without Systemd

https://www.devuan.org/
3•smartmic•24m ago•1 comments

German Police Union using AI generated image of officer hurt by hooligans

https://www.gdp.de/sachsen/de/stories/2026/01/gewalt-im-fussballspiel-magdeburg-gegen-dresden
3•jh54•32m ago•0 comments

Amazon's latest pivot: Bye-bye, automated grocery stores

https://www.businessinsider.com/amazon-fresh-stores-closing-focusing-on-whole-foods-delivery-2026-1
2•doener•33m ago•0 comments

Ask HN: Do you use a visual debugging AI tool?

2•tornikeo•34m ago•1 comments

Field Manual: Minimal Federated Trust-Bound Social Infrastructure

https://collectivesafetynet.blogspot.com/2026/01/field-manual-minimal-federated-trust.html
1•trustmarket•35m ago•1 comments

Moltbot but for Commerce

1•domsteil•37m ago•0 comments

Did a 1919 Comic Predict Cell Phones?

https://www.snopes.com/fact-check/the-pocket-telephone/
2•ZeljkoS•39m ago•0 comments

Ubiquiti: The U.S. Tech Enabling Russia's Drone War

https://hntrbrk.com/ubiquiti/
3•krzyk•42m ago•0 comments

Succession: Linux kernel community gets continuity plan for post-Linus era

https://www.theregister.com/2026/01/27/linux_continuity_plan/
2•pjmlp•48m ago•0 comments

I Stopped Following the News

https://mertbulan.com/2026/01/28/why-i-stopped-following-the-news/
27•mertbio•49m ago•10 comments

PromptForest: Fast Ensemble Detection of Malicious Prompts for LLMs

https://github.com/appleroll-research/promptforest
1•appleroll•49m ago•1 comments

Virtual Boy on TV with Intelligent Systems Video Boy

https://hcs64.com/video-boy-vue/
1•hcs•50m ago•0 comments

Online Hearing Test

https://realtimesoundmeter.org/online-hearing-test/
1•bitvvip•50m ago•0 comments

I felt a duty to watch. Now blood-soaked streets fill my dreams

https://www.smh.com.au/world/middle-east/a-force-for-truth-and-hope-has-turned-into-my-doomscroll...
2•femto•53m ago•0 comments

Exploring Different Keyboard Sensing Technologies

https://www.lttlabs.com/articles/2026/01/27/exploring-different-keyboard-sensing-technologies
3•viraptor•1h ago•0 comments

Building Products as a Designer

https://twitter.com/borakaizen/status/2016254999890681866
2•kaizenb•1h ago•0 comments

Goodbye Java, Hello Go

https://wso2.com/library/blogs/goodbye-java-hello-go
5•thunderbong•1h ago•0 comments