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

Smart Earbuds with built-in camera and AI

https://heyordo.com
2•im_ishika•6m ago•2 comments

HD189733B: A hot Jupiter that rains molten glass

https://en.wikipedia.org/wiki/HD_189733_b
2•us-merul•12m ago•0 comments

Ccstory – CLI tool to track time spent on Claude Code

https://github.com/atomchung/ccstory
1•atomtw•13m ago•0 comments

Containers Are a Security Boundary (some assembly required)

https://ram.tianon.xyz/post/2026/05/20/container-security.html
1•ImJasonH•17m ago•0 comments

TBN Protocol – Runtime governance infrastructure for AI agents

https://tbn.hardinai.co.uk/demo
1•Hardinai•20m ago•0 comments

Show HN: CipherStash Stack – Data Level Access Control in TS/JS

https://cipherstash.com/blog/introducing-cipherstash-stack
4•dandraper•21m ago•0 comments

How to Start a Website with Web Host Pro

https://www.slideshare.net/slideshow/comprehensive-2026-guide-to-starting-a-website-with-web-host...
1•cya11•29m ago•0 comments

The Largest Vocabulary in Hip Hop (2019)

https://pudding.cool/projects/vocabulary/index.html
1•amichae2•30m ago•0 comments

Show HN: E2E Encrypted Terminal Screen Share

https://github.com/jsell-rh/lockwire
1•blinkerfluid•33m ago•0 comments

Decompile binaries to Rust, not C

https://twitter.com/mahal0z/status/2057147401987637300
2•mahaloz•36m ago•0 comments

Researchers in Ireland uncover medieval book in Rome with oldest English poem

https://apnews.com/article/old-english-manuscript-poetry-bede-caedmon-hymn-latin-italy-106769c014...
2•gmays•39m ago•0 comments

Why Multigres has its own connection pooler

https://multigres.com/blog/two-jobs-two-processes
2•gregorvand•39m ago•0 comments

What is Demand Coop and why tech workers should join one

https://cahootzcoops.com/blog/what-is-a-demand-coop
4•DeonRob•43m ago•0 comments

Nx Console VS Code extension was the initial access vector in the GitHub breach

https://twitter.com/jeffbcross/status/2057236396658811020
2•vldszn•44m ago•1 comments

What I'd audit on an AI-built SaaS before its first paying customer

https://knbrlo.com/blog/audit-ai-built-saas/
1•knbrlo•45m ago•1 comments

Show HN: Windows 98½

https://win9-5.com/desktop.html
1•keepamovin•45m ago•0 comments

81yo Grandma Streaming Minecraft to Pay for Grandson's Cancer Swatted

https://www.thegamer.com/grammacrackers-81-year-old-minecraft-youtuber-swatted/
2•kirubakaran•47m ago•1 comments

New dinosaur species Nagatitan chaiyaphumensis

https://www.smithsonianmag.com/smart-news/a-man-spotted-strange-looking-rocks-near-a-pond-in-thai...
1•firasd•48m ago•0 comments

Compromised Nx Console

https://github.com/nrwl/nx-console/security/advisories/GHSA-c9j4-9m59-847w
2•0xedb•49m ago•0 comments

Built for Productivity: What the Data Shows About Kotlin

https://blog.jetbrains.com/kotlin/2026/05/built-for-productivity-what-the-data-shows-about-kotlin/
1•lemonlime227•50m ago•0 comments

Our billing pipeline was suddenly slow

https://blog.cloudflare.com/clickhouse-query-plan-contention/
1•ChicknNuggt•50m ago•0 comments

The AI Client in WordPress 7.0

https://make.wordpress.org/core/2026/03/24/introducing-the-ai-client-in-wordpress-7-0/
1•qainsights•52m ago•1 comments

Show HN: SafeRun – Replay debugging and inline prevention for AI agents 2

3•Tidianez•1h ago•1 comments

Small note on solving x^(n/m) = a

https://12000.org/my_notes/solving_equation/index.htm
1•oliverkwebb•1h ago•0 comments

Stop paying $360/year to access your own email history

https://mailvaulty.com
1•khaledsabae•1h ago•0 comments

Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline)

https://gist.github.com/Reebz/741c5647c860fe0b5214f39d9d887240
1•Reebz•1h ago•1 comments

San José State leaped to No. 2 in national computer science ranking

https://edsource.org/2026/san-jose-state-coding-skills-ranking/758707
2•littlexsparkee•1h ago•0 comments

Ask HN: How to make the best of the Mega IPO/ Index fund debacle?

3•jppope•1h ago•3 comments

Professional Scripted product demos with GSAP with Claude

https://spanthi.com/blog/gsap-choreography/
1•vein05•1h ago•0 comments

Experimenting with graph-based semantic memory for AI agents

https://github.com/AEndrix03/Graft
3•AEndrix03•1h ago•0 comments