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

Runaway

https://domofutu.substack.com/p/runaway
3•wjb3•3m ago•0 comments

Ali Khamenei Is Dead

https://www.ynetnews.com/article/skie4tef11x
1•surume•3m ago•0 comments

Ask HN: Dora metrics exist for eng. Equivalent for AI in ops, finance, CS?

1•Poolyberat•4m ago•0 comments

Hypeman – Run Containerized Workloads in VMs, Powered by Cloud Hypervisor / QEMU

https://github.com/kernel/hypeman
2•crbelaus•5m ago•0 comments

Show HN: InstallerStudio – Create MSI Installers Without WiX or InstallShield

https://www.ionline.com/
2•pkailas•7m ago•0 comments

Show HN: Sampler Step Explorer – for understanding diffusion sampler updates

https://www.bryanthornbury.com/interactives/sampler-step-explorer/
1•bthornbury•7m ago•0 comments

Show HN: Pure Python web framework using free-threaded Python

https://github.com/grandimam/barq
1•grandimam•8m ago•0 comments

The Next Four Years, an experimental novel

https://thenextfouryears.ai
1•garof•9m ago•1 comments

Show HN: O-O – HTML/bash polyglot files that rewrite themselves (update)

1•jahala•9m ago•0 comments

Ask HN: How would you start a small private math circle for talented kids?

5•andrewstetsenko•11m ago•0 comments

Show HN: OpenGem – Free, self-healing load-balanced proxy for Google Gemini API

https://github.com/arifozgun/OpenGem
1•ariozgun•13m ago•0 comments

Ask HN: My YC company is hiring one engineer/day but there's not enough work

5•ta_jobstartup•14m ago•1 comments

Trump Says Iran's Supreme Leader Ayatollah Ali Khamenei Is Dead

https://www.bbc.com/news/live/cn5ge95q6y7t
5•tlogan•15m ago•0 comments

Intermittent fasting no better than typical weight loss diets

https://www.theguardian.com/science/2026/feb/16/intermittent-fasting-no-better-than-typical-weigh...
2•paulpauper•16m ago•0 comments

A World Where All Is Free? That's Elon Musk's Theory of Abundance

https://www.nytimes.com/2026/02/27/business/a-world-where-all-is-free-thats-elon-musks-theory-of-...
2•paulpauper•17m ago•1 comments

Amiga Alien Breed HD

https://old.reddit.com/r/amiga/comments/1rh7743/alien_breed_hd/
2•doener•17m ago•0 comments

My 24 Rules for Reading

https://www.honest-broker.com/p/my-24-rules-for-reading
2•paulpauper•17m ago•0 comments

Khamenei dead, say US and Israel

https://www.reuters.com/world/iran-crisis-live-explosions-tehran-israel-announces-strike-2026-02-28/
4•andrepd•18m ago•0 comments

What are GPS jammers and how do you combat them?

https://www.geotab.com/blog/combating-gps-jammers/
2•RyanShook•19m ago•0 comments

Show HN: Lovepdf – open-source self hosting alternative to ilovepdf

https://github.com/rtvkiz/lovepdf
2•theoo21•19m ago•0 comments

Show HN: Focusmo – a Mac focus app with a local Claude MCP server

https://focusmo.app
2•elesinn•20m ago•0 comments

There Are No Psychopaths

https://aeon.co/essays/psychopathy-is-a-zombie-idea-why-does-it-cling-on
2•marojejian•20m ago•1 comments

AI, Networks and Mechanical Turks

https://www.ben-evans.com/benedictevans/2025/11/23/ai-networks-and-mechanical-turks
2•simonebrunozzi•21m ago•0 comments

You don't have to if you don't want to

https://www.scottsmitelli.com/articles/you-dont-have-to/
2•yshklarov•21m ago•0 comments

Flixtera: Download and own your movies and TV Shows forever, not rent it

https://flixtera.xyz
3•monyasau•24m ago•1 comments

Show HN: Memory Engine – AI Consciousness Persistence Framework

https://github.com/andresuarus10-byte/memory-engine
2•KaelyrAT•27m ago•0 comments

Show HN: Flare – Full-Stack OpenTelemetry Observability for Apache Spark

https://github.com/Neutrinic/flare
2•ZenithR9•28m ago•0 comments

A terminal-based KeePass password manager

https://github.com/shikaan/keydex
2•shikaan•29m ago•0 comments

India Blocks the Supbase.co

https://techcrunch.com/2026/02/27/india-disrupts-access-to-popular-developer-platform-supabase-wi...
2•pratikshit08•30m ago•0 comments

Reified Generics in PHP

https://github.com/php/php-src/pull/21317
2•mastabadtomm•33m ago•0 comments