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!

Ukraine, Russia Hit by Hacks Sending Fake Nuclear Attack Alerts

https://www.kyivpost.com/post/88855
2•entryleveljobsc•1m ago•0 comments

I used Claude to build and ship Oriel – a free, native-feeling macOS notch app

https://orielformac.pages.dev
2•tiagotaveira•1m ago•0 comments

Second cyberattack heats EU supermarket freezers to 50°C, destroying food

https://www.tomshardware.com/tech-industry/cyber-security/supermarket-freezers-across-europe-stru...
1•entryleveljobsc•2m ago•0 comments

One possible future for websites is gated communities

https://utcc.utoronto.ca/~cks/space/blog/web/OneWebFutureGatedCommunities
2•ingve•2m ago•0 comments

Toward the Self-Driving Computer

https://twitter.com/curtis_yarvin/status/2116326516296671441
2•MrBuddyCasino•2m ago•0 comments

A Powerful Mosquito-Hunting Laser Uses A.I. To Zap Winged Pests

https://www.nytimes.com/2026/10/30/business/mosquito-laser-ai.html
2•bushwart•3m ago•1 comments

Show HN: Disable ACR on Sony Bravia TV's Without Rooting

https://github.com/joelio/bravia-guard
1•_joel•13m ago•0 comments

How hard is it to check for whitespace?

https://serce.me/posts/2026-10-30-how-hard-is-it-to-check-for-whitespace
2•SerCe•18m ago•0 comments

Binance Clone App Development Cost for Mobile Exchange Platforms

https://cryptiecraft.com/binance-clone-development-cost/
1•monroealex17•19m ago•1 comments

Hatamoto is Apache 2.0 thanks to Ubuntu Shipit Programme

https://hatamoto.dev/post/hatamoto-is-apache-2-0-thanks-to-ubuntu-shipit-programme
3•zenincognito•20m ago•0 comments

Feynman's Messenger Lectures

https://www.feynmanlectures.caltech.edu/messenger.html
1•plurby•21m ago•0 comments

KITP Program: Intermediate-Scale AI for Physics

https://online.kitp.ucsb.edu/online/physicsai-m26/welcome/rm/jwvideo.html
1•nill0•23m ago•0 comments

How Wikipedia Rewrote Zionism

https://quillette.substack.com/p/how-wikipedia-rewrote-zionism
2•mpweiher•24m ago•0 comments

Show HN: HackerTube for Apple TV. Videos HN Recommends, on Your TV

3•jnaina•25m ago•1 comments

UK Business Births and Deaths

https://www.365finance.co.uk/business-births-and-deaths/
1•robtherobber•29m ago•0 comments

RFC 1149: Standard for the transmission of IP datagrams on avian carriers

https://www.rfc-editor.org/info/rfc1149/
1•JumpCrisscross•31m ago•0 comments

Show HN: Sortaballs – alternative modes for classic sort ball puzzle

https://sortaballs.vercel.app
1•self_refactor•33m ago•0 comments

The future in old computer magazines (1984–2004)

https://tomorrowasusual.substack.com/p/blast-from-the-past-the-future-in
5•tudell•33m ago•2 comments

Show HN: Mistake Trainer – Spaced repetition from your own Lichess games

https://mistake-trainer.pages.dev/
1•pandigital•34m ago•0 comments

Security doesn't (always) have to be so fucking annoying

https://joshua.hu/security-useless-changes-theatre
3•subset•35m ago•0 comments

Hackers raised freezer temperature at Estonian supermarket chain to +50°C

https://news.err.ee/1610183296/hackers-raised-freezer-temperature-at-estonian-supermarket-chain-t...
4•vintagedave•38m ago•1 comments

Aletheia, a Fake News Detector

https://hellenicdev.substack.com/p/hellenicdev-newsletter-009
5•hsoc•38m ago•1 comments

Querying HackerTube, HackerBooks and Wikihack Directly with DuckDB/Hugging Face

https://www.ssp.sh/brain/querying-hackernews-with-duckdb-directly/
1•zazuke•40m ago•0 comments

Are you sure it was North Korea?

https://nk-ultra.com
2•splintersio•40m ago•1 comments

Minimax-Converter Toolbox

https://minimax-converter.com/
1•justvlaaaad•44m ago•1 comments

Redlib discussion: Reddit has decided to force everyone to log in

https://github.com/redlib-org/redlib/issues/609
4•probably_wrong•45m ago•0 comments

Prompt Engineering Is Dead. What Separates a Toy from a Product

https://towardsdev.com/prompt-engineering-is-dead-system-prompt-architecture-is-what-separates-a-...
1•cheikhdev•46m ago•0 comments

Show HN: Knock – stop Claude Code burning tokens exploring big codebases

https://github.com/HasanGilani/knock
1•HasanGilani•47m ago•0 comments

Cyberattack on Fridges in Ireland

https://www.irishtimes.com/technology/data-security/2026/11/02/supervalu-removes-frozen-and-chill...
3•johnflan•47m ago•1 comments

Context Anxiety: How AI Agents Panic About Their Perceived Context Windows

https://inkeep.com/blog/context-anxiety
1•ankitg12•48m ago•0 comments