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!

A tool to map dependencies across repos

https://github.com/Corbell-AI/Corbell
1•holy_pharaoh•39s ago•0 comments

Show HN: Non Agentic international calling app with local rates

https://voklit.app
1•ahmgeek•2m ago•0 comments

Fund with Stakes in SpaceX and Anthropic Jumps 1,200% Above Asset Value

https://www.bloomberg.com/news/articles/2026-03-24/fund-with-spacex-and-anthropic-stakes-jumps-1-...
1•paulpauper•3m ago•0 comments

Retry and fallback strategies for LLM requests

https://www.edgee.ai/blog/posts/retry-and-fallback
2•sachamorard•3m ago•0 comments

Are high gas prices good news for EVs? It's complicated

https://www.technologyreview.com/2026/03/26/1134677/gas-prices-electric-vehicles/
2•joozio•3m ago•0 comments

Fundrise VCX fund falls 45% as IPO mania subsides

https://www.marketwatch.com/story/the-hot-fundrise-vcx-fund-falls-45-as-ipo-mania-subsides-and-in...
1•paulpauper•3m ago•0 comments

How ultrasound is delivered matters when opening the blood-brain barrier

https://medicalxpress.com/news/2026-03-ultrasound-blood-brain-barrier.html
1•PaulHoule•3m ago•0 comments

Workplace Sexual Harassment Is Making a Comeback

https://nombiezinja.com/word-things/2026/3/8/workplace-sexual-harassment-is-making-a-comeback
1•ohjeez•3m ago•0 comments

Ask HN: How do you dig deeper based on HN articles?

1•Rooster61•3m ago•0 comments

How I Use Claude Code to Build Features

https://helderberto.com/posts/how-i-use-claude-code-to-build-features
1•helderburato•5m ago•0 comments

Building FireStriker: Why I'm Making Civic Tech Free

https://firestriker.com/blog/building-firestriker-why-im-making-civic-tech-free
1•noleary•6m ago•2 comments

Show HN: EaglePress – Python3 word press style

https://github.com/CaptainFantasticVibeCoder/EaglePress
1•gitprolinux•7m ago•0 comments

National Grid: Live

https://grid.iamkate.com/
2•imichael•7m ago•0 comments

The Download: a battery pivot to AI, and rewriting math

https://www.technologyreview.com/2026/03/26/1134697/the-download-battery-ai-pivot-new-ai-tool-math/
1•joozio•7m ago•0 comments

What happens when you clone mice for 20 years straight?

https://denovo.substack.com/p/what-happens-when-you-clone-mice
2•speckx•7m ago•0 comments

AI got the blame for the Iran school bombing. The truth is more worrying

https://www.theguardian.com/news/2026/mar/26/ai-got-the-blame-for-the-iran-school-bombing-the-tru...
1•u1hcw9nx•7m ago•0 comments

Modular hardcoded circuits for computer vision plus autonomous production tools

https://github.com/SwuduSusuwu/SusuLib/discussions/52
1•SwuduSusuwu•9m ago•3 comments

Anthropics Buffa: a Rust implementation of protobuf

https://github.com/anthropics/buffa
1•harporoeder•10m ago•0 comments

We need to talk about Elixir

https://blog.gjmveloso.dev/posts/2026/03/25/we-need-to-talk-about-elixir/
1•gjmveloso•11m ago•0 comments

Nasdaq Flirts with Correction Territory

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-03-26-2026/card/nasdaq-flir...
1•pera•11m ago•0 comments

JPMorgan now monitoring investment banker screen time to prevent burnout

https://finance.yahoo.com/sectors/healthcare/articles/jpmorgan-started-monitoring-keystrokes-vide...
2•s3p•12m ago•0 comments

Artisanal software in the age of AI codegen

https://kinarey.com/when-craft-relocates/
2•indynz•13m ago•2 comments

China Learned to Love the Classics

https://www.newyorker.com/news/annals-of-education/how-china-learned-to-love-the-classics
3•tzury•14m ago•0 comments

Basecamp CLI and Agent Skill

https://basecamp.com/agents
1•SunshineTheCat•15m ago•0 comments

All code is sorcery, until it isn't

https://andreafortuna.org/2026/03/26/programming_as_magic/
1•speckx•16m ago•0 comments

Taming LLMs: Using Executable Oracles to Prevent Bad Code

https://john.regehr.org/writing/zero_dof_programming.html
2•mad44•18m ago•0 comments

What's coming to our GitHub Actions 2026 security roadmap

https://github.blog/news-insights/product-news/whats-coming-to-our-github-actions-2026-security-r...
1•abraham•20m ago•0 comments

A 54KB client-side HNSW vector search engine in WASM

https://github.com/Altor-lab/altor-vec
5•anshulbasia27•20m ago•1 comments

Testing Neglected VHS Tapes and CDs

https://hackaday.com/2026/03/25/testing-severely-neglected-vhs-tapes-and-cds/
1•toomuchtodo•20m ago•0 comments

One Pipe, Two Sandboxes, Zero Prompt Injection

https://multikernel.io/2026/03/26/sandlock-pipeline-xoa/
1•wang_cong•21m ago•0 comments