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!

IntelTechniques Search Tools

https://inteltechniques.com/tools/index.html
1•eustoria•4s ago•0 comments

Proton CEO Andy Yen Explains the Withdrawal from Switzerland with the VÜPF

https://www.nzz.ch/technologie/proton-ceo-andy-yen-wer-gesetzgebung-der-polizei-ueberlaesst-sollt...
1•eustoria•1m ago•0 comments

hk - an operating system kernel written in Rust

https://github.com/jgarzik/hk
1•simonpure•2m ago•0 comments

Alternate Timelines Maps from the Internet

https://alternate-timelines.com/thread/276/maps-internet-thread
1•B1FF_PSUVM•3m ago•0 comments

Europe's new carbon tax on imported goods will change global trade

https://theconversation.com/how-europes-new-carbon-tax-on-imported-goods-will-change-global-trade...
2•ksec•5m ago•0 comments

Invisible infrared surveillance technology and those caught in its digital cage

https://apnews.com/photo-essay/chinese-surveillance-silicon-valley-tech-photo-essay-2da6d9ae5c29d...
1•nabla9•5m ago•0 comments

The invisible hand screws up your regression

https://www.economicforces.xyz/p/the-invisible-hand-screws-up-your
1•ksec•5m ago•0 comments

Show HN: Waves – A terminal music player with library browsing and radio mode

https://github.com/llehouerou/waves
2•llehouerou•8m ago•0 comments

Vazen :: Production-grade monorepo starter for full-stack apps on Cloudflare

https://github.com/Hashversion/vazen
1•Hashversion•10m ago•0 comments

OSS/OpenWrt Firmware for Linkplay A31 WiFi Audio Streaming Module

https://github.com/hn/linkplay-a31
1•hn___•14m ago•0 comments

Public Domain Day 2026

https://web.law.duke.edu/cspd/publicdomainday/2026/
2•throw0101c•16m ago•0 comments

Nvidia Is the Only AI Model Maker That Can Afford to Give It Away

https://www.nextplatform.com/2025/12/17/nvidia-is-the-only-ai-model-maker-that-can-afford-to-give...
2•nabla9•16m ago•0 comments

Show HN: An open-source Chinese ePub reader iOS app with pop-up dictionary

https://apps.apple.com/ca/app/wen-reader/id6755988730
1•olivezh•17m ago•0 comments

Space Math Academy

https://space-math.academy
1•dynamicwebpaige•17m ago•1 comments

Council agrees position on the digital euro and strengthening the role of cash

https://www.consilium.europa.eu/en/press/press-releases/2025/12/19/single-currency-council-agrees...
1•HelloUsername•21m ago•0 comments

What they don't tell you about demand paging in school

https://offlinemark.com/demand-paging/
1•fanf2•22m ago•1 comments

Programming Languages Used for Music

https://timthompson.com/plum/cgi/showlist.cgi?sort=name&concise=yes
2•ofalkaed•24m ago•0 comments

Photo of a damaged Starlink satellite taken by another satellite

https://twitter.com/michaelnicollsx/status/2002419447521562638
1•wmf•24m ago•0 comments

Rage bait: the psychology behind social media's angriest posts

https://theconversation.com/rage-bait-the-psychology-behind-social-medias-angriest-posts-271041
2•wjSgoWPm5bWAhXB•25m ago•0 comments

Thunderbird 2025 Review: Building Stronger for the Future

https://blog.thunderbird.net/2025/12/thunderbird-2025-review-building-stronger-for-the-future/
1•donatzsky•28m ago•0 comments

Publisher Pathfinder is a tool to help find publishing partners and investors

https://www.gamesindustry.biz/publisher-pathfinder-is-a-new-tool-to-help-developers-find-publishi...
1•ohjeez•29m ago•0 comments

Worst Technology Flops of 2025 - MIT Technology Review

https://www.technologyreview.com/2025/12/18/1130106/the-8-worst-technology-flops-of-2025/
3•Fiveplus•31m ago•0 comments

I spent a WEEK without IPv4

https://www.apalrd.net/posts/2023/network_ipv6/
18•mahirsaid•33m ago•7 comments

Backing Up Spotify

https://annas-archive.li/blog/backing-up-spotify.html
3•vitplister•36m ago•0 comments

'GhostPairing' attack enables complete WhatsApp account control

https://www.telegraphindia.com/india/ghostpairing-attack-enables-complete-whatsapp-account-contro...
3•Fiveplus•37m ago•0 comments

Automated Equality Checks in C++ with Reflection (C++26)

https://lemire.me/blog/2025/11/09/automated-equality-checks-in-c-with-reflection-c26/
2•jandeboevrie•37m ago•0 comments

Windows MIDI Services

https://microsoft.github.io/MIDI/
1•unleaded•39m ago•0 comments

Innate structure for fast ANNs [pdf]

https://www.nature.com/articles/s41467-019-11786-6.pdf
1•pbtank•41m ago•0 comments

Six (or seven) predictions for AI 2026 from a Generative AI realist

https://garymarcus.substack.com/p/six-or-seven-predictions-for-ai-2026
2•ArmageddonIt•41m ago•0 comments

Time Travel Is Possible: Math Proves Paradox-Free Time Travel

https://www.popularmechanics.com/science/math/a69651575/student-says-paradox-free-time-travel-is-...
2•bilsbie•42m ago•0 comments