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!

Spec Driven Development Isn't Waterfall

https://brooker.co.za/blog/2026/04/09/waterfall-vs-spec.html
1•dhruv3006•1m ago•0 comments

An Autonomous RL Agent Methodology for Dynamic Web UI Testing in a BDD Framework

https://publications.eai.eu/index.php/airo/article/view/8895
1•alihassaanmug•2m ago•0 comments

British Attitudes to Economic Growth

https://iea.org.uk/attitudes-to-economic-growth
1•mellosouls•2m ago•0 comments

Video: Are They Lying to You About Nuclear Energy?

https://www.youtube.com/watch?v=cxDd3Whl_9s
2•drob518•6m ago•0 comments

Interface of Capitulation: A Black-Box Audit of Instructed Dishonesty in LLMs

https://github.com/phobetor-ops/interface-of-capitulation
2•jotacesarmp•7m ago•1 comments

Using Claude Code: Session Management and 1M Context

https://twitter.com/trq212/status/2044548257058328723
2•dsr12•7m ago•0 comments

Ultraprocessed foods may hurt muscle health

https://www.nbcnews.com/health/health-news/link-ultraprocessed-foods-muscle-health-rcna331623
2•gmays•8m ago•0 comments

Florida surgeon charged with killing man after removing liver instead of spleen

https://arstechnica.com/health/2026/04/florida-surgeon-charged-with-killing-man-after-removing-li...
5•canucker2016•12m ago•0 comments

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
1•azhenley•16m ago•0 comments

Eternal November – new influx of users, and why it's better than the last one

https://sfconservancy.org/blog/2026/apr/15/eternal-november-generative-ai-llm/
2•pabs3•18m ago•0 comments

Geminis "Priority Inference" tier: 75-100% more expensive, same or worse latency

https://twitter.com/Justiniansli/status/2044610407487173076
2•YounElh•18m ago•1 comments

C++26: Structured Bindings in Conditions

https://www.sandordargo.com/blog/2026/04/15/cpp26-structured-bindings-condition
1•jandeboevrie•20m ago•0 comments

I Will Never Respect a Website

https://www.wheresyoured.at/i-will-never-respect-a-website/
1•farmerbb•25m ago•0 comments

Anthropic co-founder confirms the company briefed White House on Mythos

https://techcrunch.com/2026/04/14/anthropic-co-founder-confirms-the-company-briefed-the-trump-adm...
3•gmays•29m ago•2 comments

Mesh LLM

https://github.com/Mesh-LLM/mesh-llm
3•oldfuture•30m ago•0 comments

Build the right thing and the money will follow

https://mikefisher.substack.com/p/build-the-right-thing
2•gpi•32m ago•0 comments

Enhancing Developer Workflow with Rovo Dev and Notifications

https://www.atlassian.com/blog/developer/developer-workflow-rovo-dev-notifications
2•foxh0und•33m ago•0 comments

Show HN: Themery – A theme engine that compiles one palette to every major IDE

https://www.themery.dev/
2•Tiagopeter•35m ago•0 comments

Modern Common Lisp with FSet

https://fset.common-lisp.dev/Modern-CL/Top_html/index.html
6•signa11•36m ago•0 comments

Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval

https://medium.com/@Koukyosyumei/hacking-mcp-servers-in-ai-systems-the-rug-pull-tool-changes-afte...
2•syumei•41m ago•0 comments

AI Meeting recorder that runs on your Mac

https://quietly.fastclick.ai
3•saadn92•47m ago•0 comments

Speeding up GPU kernels by 38% with a multi-agent system

https://cursor.com/blog/multi-agent-kernels
2•gmays•48m ago•0 comments

DESI Completes Planned 3D Map of the Universe

https://newscenter.lbl.gov/2026/04/15/desi-completes-planned-3d-map-of-the-universe-and-continues...
2•revicon•51m ago•0 comments

Ask HN: We dont need a programming language now?

2•zameermfm•52m ago•4 comments

Tailscale-rs: Official Rust library for embedding Tailscale

https://tailscale.com/blog/tailscale-rs-rust-tsnet-library-preview
2•phantomathkg•56m ago•0 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
3•ozarkerD•57m ago•0 comments

Show HN: Tokanban, an agent-first task management system

https://tokanban.com/
2•clippy99•59m ago•0 comments

Waterfall (2018)

https://beza1e1.tuxen.de/waterfall.html
2•LAC-Tech•1h ago•0 comments

Astronomers Propose New Way to Find Aliens Without Knowing What It Looks Like

https://www.sci.news/astronomy/agnostic-biosignature-14697.html
2•WaitWaitWha•1h ago•1 comments

The California Governor's Race – Class, Competence, and Political Legitimacy

https://simplefunctions.dev/opinions/california-governor-2026-class-competence-legitimacy
2•patrickliu0077•1h ago•0 comments