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

Pulsar – Lightweight cross-platform GUI for FFmpeg and yt-dlp, built with Tauri

https://github.com/FuzjaJadrowa/Pulsar
1•FuzjaJadrowa•1m ago•1 comments

VC Money and Israel Outrage Derailed a Hot Hollywood Startup

https://www.wsj.com/business/media/how-vc-money-and-israel-outrage-derailed-a-hot-hollywood-start...
1•RestlessMind•3m ago•0 comments

Moooooonitoring the Cow.txt Herd

https://moooo.farm/
1•pabs3•4m ago•0 comments

Is Numble the first AI-proof game?

https://medium.com/@shauntrennery/is-numble-the-first-ai-proof-game-b0de302d2ed0
1•shauntrennery•4m ago•0 comments

I collected startup ideas. It changed how I think about ideas completely

1•vibecoder21•5m ago•0 comments

A Secret Grand Jury Is Seeking the Identity of a Reddit User Who Criticized ICE

https://www.jezebel.com/grand-jury-reddit-user-identity-ice-criticism-freedom-of-speech-first-ame...
1•HotGarbage•6m ago•0 comments

A3: Kubernetes for autonomous AI agent fleets

https://www.leonidasr.com/posts/a3-kubernetes-for-autonomous-ai-agent-fleets/
3•leonidas1712•13m ago•0 comments

Ramp Up AI Skills

https://soundcloud.com/robenfarzad/deepali-vyas-the-elite
1•nytesky•13m ago•1 comments

Trump administration releases new renderings of 'Arc de Trump' [pdf]

https://www.cfa.gov/system/files/meeting-materials/1-CFA-16APR26-1-EOP_DOI_Arch-pres%20%5BApr9%5D...
1•fittingopposite•14m ago•0 comments

How I made the most intrusive Firefox extension

https://www.arnevogel.com/firefox-permissions/
1•ArneVogel•18m ago•0 comments

Neural Computer

https://metauto.ai/neuralcomputer/
1•georgestrakhov•19m ago•0 comments

Show HN: RelayFreeLLM — Free AI Gateway with Auto-Failover (Updates)

https://github.com/msmarkgu/RelayFreeLLM
2•markfront•21m ago•0 comments

Code Democracy the Big Lie

https://medium.com/@aatel.license/ai-has-democratized-coding-just-not-for-everyone-555d2767fce8
3•aatel-license•22m ago•0 comments

Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs

1•spaccy05•22m ago•0 comments

Crawl Code – because prompting was a text adventure

https://github.com/machinarii/crawl-code/
3•datalater•25m ago•0 comments

Even Hungary's skewed elections might not save Viktor Orban

https://economist.com/graphic-detail/2026/04/09/even-hungarys-skewed-elections-might-not-save-vik...
1•andsoitis•26m ago•0 comments

Tesla's supervised self-driving software gets Dutch okay, first in Europe

https://www.reuters.com/business/teslas-self-driving-software-gets-dutch-go-ahead-boost-eu-ambiti...
10•nsoonhui•33m ago•4 comments

Show HN: Pardonned.com – A searchable database of US Pardons

1•vidluther•35m ago•0 comments

Hindsight – A design spec for self-improving LLM agents

https://github.com/anitiue/Hindsight
2•anitial•44m ago•0 comments

The Relationship Between Two People Is Not Located in Either Person

https://substack.com/home/post/p-193689282
3•problemist•47m ago•0 comments

Show HN: Dux, a TUI Agent Multiplexer

https://github.com/patrickdappollonio/dux
2•pdappollonio•50m ago•0 comments

Google "6-7"

https://www.google.com/search?hl=en&q=6%207
2•afshinmeh•53m ago•1 comments

go-libghostty: Go bindings for libghostty-vt

https://github.com/mitchellh/go-libghostty
1•doppp•1h ago•0 comments

Phaser 4

https://www.youtube.com/watch?v=XLhi9IW0rxg
1•doppp•1h ago•0 comments

The Language After Its Collapse

https://medium.com/luminasticity/the-language-after-its-collapse-119eb8a7b7fc
2•bryanrasmussen•1h ago•0 comments

Selecting a Date Range in CSS

https://css-tricks.com/selecting-a-date-range-in-css/
2•ms7892•1h ago•0 comments

Government seeks X Community Notes oversight with IT Rules tweaks

https://www.hindustantimes.com/india-news/government-seeks-x-community-notes-oversight-with-it-ru...
3•c420•1h ago•1 comments

Brief: Bitcoin Core Governance Analysis

https://github.com/bitcoin/bitcoin/issues/35055
2•vinniefalco•1h ago•0 comments

20 Years on AWS and Never Not My Job

https://www.daemonology.net/blog/2026-04-11-20-years-on-AWS-and-never-not-my-job.html
75•cperciva•1h ago•6 comments

Vinyl (nee Varnish) Cache – 20 years old and it is time to get serious(er)

https://vinyl-cache.org/organization/20-years.html
1•gurjeet•1h ago•0 comments