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

2025 Bitcoin Node Performance Tests

https://blog.lopp.net/2025-bitcoin-node-performance-tests/
1•enz•1m ago•0 comments

M-Lab: Measure the Internet, save the data, and make it accessible and useful

https://www.measurementlab.net/
1•tanelpoder•1m ago•0 comments

Foreign tech workers are avoiding travel to the US

https://www.computerworld.com/article/4110681/foreign-tech-workers-are-avoiding-travel-to-the-us....
2•CrankyBear•3m ago•0 comments

David Long's "Adventure 6" (LONG0751) has been found

https://quuxplusone.github.io/blog/2025/12/29/long0751/
2•quuxplusone•4m ago•0 comments

Greenhouse Gas Emission Data: Public, difficult to access and not always correct [video]

https://media.ccc.de/v/39c3-greenhouse-gas-emission-data-public-difficult-to-access-and-not-alway...
1•hannob•5m ago•0 comments

Show HN: AuthForge – open-source auth for AI agents (early preview)

https://auth-forge-web-two.vercel.app/
1•ashish_sharda•6m ago•0 comments

Show HN: Hear Yourself – Free low-latency audio monitor for macOS

https://github.com/gabrycina/hear-yourself
1•gabrycina•7m ago•0 comments

Math slop has hit a new low [video]

https://www.youtube.com/watch?v=LiSA4hFjNUM
1•xqcgrek2•7m ago•0 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
9•birdculture•10m ago•0 comments

I write and ship code ~20–50x faster than I did 5 years ago

1•EGreg•11m ago•0 comments

5 Years, 12 Pivots

https://boundaryml.com/blog/5-years-12-pivots
2•dhorthy•14m ago•0 comments

Remembering the Night Boats

https://www.scenichudson.org/viewfinder/remembering-the-night-boat/
1•eatonphil•14m ago•0 comments

Collaboration Sucks

https://posthog.com/newsletter/collaboration-sucks
2•zX41ZdbW•15m ago•1 comments

Cheap Solar Is Transforming Lives and Economies Across Africa

https://www.nytimes.com/2025/12/30/climate/solar-south-africa-china.html
2•JumpCrisscross•16m ago•0 comments

Escaping Containment: A Security Analysis of FreeBSD Jails [video]

https://media.ccc.de/v/39c3-escaping-containment-a-security-analysis-of-freebsd-jails
5•todsacerdoti•16m ago•0 comments

Internet Archive Wayback Machine is currently 503

https://web.archive.org
4•burnt-resistor•19m ago•0 comments

Docker Sandboxes

https://docs.docker.com/ai/sandboxes
1•ahurmazda•19m ago•0 comments

Iran Protests Enter Third Straight Day as Students Join In

https://www.wsj.com/world/middle-east/iran-protests-enter-third-straight-day-as-students-join-in-...
11•JumpCrisscross•20m ago•0 comments

Illuminating the Insides of Mlx Models

https://github.com/batson/mlux
1•cottonseed•21m ago•0 comments

The Podcast 'Productivity' Trap

https://www.theatlantic.com/ideas/2025/12/podcasts-music-listening-productivity/685448/
2•furrowedbrow•21m ago•0 comments

Engineering Yourself – Characteristics of a software engineer

https://www.youtube.com/watch?v=cJDcPeQG7Bw
1•pmbanugo•21m ago•1 comments

Objects of Desire

https://indiantinker.bearblog.dev/the-object-of-desire-embodiment-manipulation-and-desire/
1•indiantinker•21m ago•0 comments

Zen Buddhism and Meditation in Japan

https://www.japan.travel/en/guide/meditation/
1•wslh•25m ago•0 comments

The birth of the internet, according to Jon Bois [video]

https://www.youtube.com/watch?v=zmyBSrQodnI
1•hemloc_io•26m ago•0 comments

Moving AI from Emotion Detection to True Understanding

1•buttersmoothAI•27m ago•0 comments

Mutatis – Database that mutates its schema based on semantic patterns

https://github.com/ScooterMageee/mutatis-public
2•Mutatis•28m ago•3 comments

Welcome to "necroprinting"–3D printer nozzle made from mosquito's proboscis

https://arstechnica.com/science/2025/12/welcome-to-necroprinting-3d-printer-nozzle-made-from-mosq...
1•PaulHoule•28m ago•0 comments

Apple's AI Bet: Playing the Long Game or Missing the Moment?

https://philippdubach.com/2025/12/30/apples-ai-bet-playing-the-long-game-or-missing-the-moment/
1•7777777phil•30m ago•0 comments

Ask HN: LLMs and Code Style Compliance

1•blinkbat•30m ago•0 comments

40 Principles of Invention

https://en.wikipedia.org/wiki/40_principles_of_invention
1•tosh•30m ago•0 comments