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!

We scanned 763 MCP servers – 31% have exploitable schema vulnerabilities

https://munio.dev/blog/mcp-server-security-scan-763/
1•munio•56s ago•0 comments

Signed receipts for MCP tool calls – prove what your agent did

https://www.npmjs.com/package/protect-mcp
1•tomjwxf•3m ago•0 comments

China's new masterplan for its tech economy in 2030 and beyond

https://www.economist.com/finance-and-economics/2026/03/24/chinas-new-masterplan-for-its-tech-eco...
1•andsoitis•4m ago•0 comments

Scan-Scatter Fusion

https://futhark-lang.org/blog/2026-03-24-scan-scatter-fusion.html
1•g0xA52A2A•6m ago•0 comments

Labuladong Algo Notes – Algorithm practice platform

https://labuladong.online/en/
1•Brysonbw•7m ago•0 comments

Guidelines Don't Scale. Patterns Do

https://fagnerbrack.com/guidelines-dont-scale-patterns-do-03a3959fbb79
2•fagnerbrack•8m ago•0 comments

LocalRouter: Use free-tier across all providers

https://localrouter.ai/
2•matusfaro•8m ago•1 comments

I built a local AI extension to expand vocabulary from articles

https://blog.paractmol.nl/the-ollama-browser-extension-i-made-to-teach-myself-dutch/
1•rudkovskyi•10m ago•0 comments

Bernie Sanders and AOC introduce bill to pause building of new datacenters

https://www.theguardian.com/us-news/2026/mar/25/datacenters-bernie-sanders-aoc
2•mykowebhn•11m ago•0 comments

Scientists Sound Alarm over Federal Plan to Dismantle Weather and Climate Lab

https://engineering.jhu.edu/news/scientists-sound-alarm-over-federal-plan-to-dismantle-vital-weat...
2•geox•11m ago•0 comments

Archetypal ECS Considered Harmful?

https://moonside.games/posts/archetypal-ecs-considered-harmful/
1•hu3•11m ago•0 comments

Nobody Reads Your Setup Docs

https://hanzilla.co/blog/mcp-onboarding-ten-agents-one-command/
1•donutshop•11m ago•0 comments

Is What Politicians Do Similar to What They Say?

https://www.michelecoscia.com/?p=2509
1•mikk14•13m ago•0 comments

Show HN: Genosis – LLM cost optimization that learns from your traffic

https://usegenosis.ai/
2•samherder•13m ago•0 comments

For the first time in half a century, astronauts are going to the Moon

https://economist.com/interactive/science-and-technology/2026/01/29/for-the-first-time-in-half-a-...
1•andsoitis•15m ago•0 comments

Technate Ohio: How Leslie Wexner and Jeffrey Epstein Built the Silicon Heartland

https://unlimitedhangout.com/2026/03/investigative-reports/technate-ohio-new-albany/
1•dhfbshfbu4u3•15m ago•0 comments

AI Has Changed Software Contracts: They're Shorter

https://www.bloomberg.com/news/newsletters/2026-03-25/ai-tools-are-upending-typical-software-cont...
2•Brajeshwar•15m ago•0 comments

The Cost of "We'll Fix It Later"

https://thereliabilityengineering.substack.com/p/the-hidden-cost-of-well-fix-it-later
1•sylvainkalache•17m ago•0 comments

Python library for Cell, Nature, and Science quality plots

https://github.com/faridrashidi/cnsplots
2•faridrashidi•17m ago•1 comments

The Indonesian Government Has Blocked Wikimedia Commons

https://xcancel.com/idwiki/status/2036695958600479123
2•exploraz•22m ago•0 comments

Is Taste the One Thing A.I. Can't Replace?

https://www.nytimes.com/2026/03/22/style/ai-tools-taste.html
2•mitchbob•22m ago•2 comments

The AI Future We Build

https://substack.com/@gaspland/note/p-190905025
1•meany•25m ago•0 comments

I built an open-source SDK to hide blockchain complexity from app developers

https://starkzap.io/
1•starkience•26m ago•0 comments

Ask HN: How do you feel when your coding assistant loses context?

2•noduerme•27m ago•2 comments

What Will Future Programming Languages Look Like?

https://functiondispatch.substack.com/p/what-will-future-programming-languages
1•fixedprog•28m ago•0 comments

Mailbox.org Currently Down

https://status.mailbox.org
2•twtran•29m ago•2 comments

Sports Betting Is Everywhere, Especially on Credit Reports

https://libertystreeteconomics.newyorkfed.org/2026/03/sports-betting-is-everywhere-especially-on-...
1•m-hodges•30m ago•0 comments

A calorie counting app built with Preact

https://github.com/caloryapp/caloryapp.github.io
1•GonzaloCV•31m ago•0 comments

Samsung still glued to its bad habits with Galaxy S26 Ultra

https://www.theregister.com/2026/03/25/galaxy_s26_ultra_ifixit/
2•Brajeshwar•32m ago•0 comments

The scammer, the fixer and the cop: Inside LA's world of millionaire crypto kids

https://www.latimes.com/california/story/2026-03-24/los-angeles-crypto-kids-trial
1•koolba•32m ago•0 comments