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!

Multi-tenant file storage for developers. Built for SaaS teams

https://tenantbox.dev
1•omollohemstone•1m ago•0 comments

Help a fellow dev on AI-localization?

1•mightyAlien•1m ago•0 comments

39 Years Ago, Steve Jobs Made a Emotional Decision. How It Led to Success

https://www.inc.com/bill-murphy-jr/39-years-ago-steve-jobs-made-a-very-emotional-decision-heres-h...
1•paulpauper•4m ago•0 comments

HUD Says Realtors Can Now Speak the Truth

https://marginalrevolution.com/marginalrevolution/2026/04/hud-says-its-legal-to-tell-the-truth.html
1•paulpauper•5m ago•0 comments

Spotify Shares Fall Most Since 2022 on AI Fears [video]

https://www.youtube.com/watch?v=pXgf7uZT7OU
1•mgh2•9m ago•0 comments

A Post-Regression World

https://signalintent.net/2026/04/28/a-post-regression-world/
1•tokonomy_dev•11m ago•0 comments

Is any one using ruflo?

https://github.com/ruvnet/ruflo
1•chunpaiyang•12m ago•1 comments

Show HN: mac-screen-search: CLI find, highlight, redact text on screen, in files

https://github.com/jftuga/mac-screen-search
1•jftuga•13m ago•0 comments

Hackers steal nearly $300M in biggest DeFi exploit of 2026

https://seekingalpha.com/news/4576371-hackers-steal-nearly-300m-in-biggest-defi-exploit-of-2026
2•mgh2•15m ago•2 comments

The Uncanny Horror of AI Hallucinations (2025)

https://www.youtube.com/watch?v=vimNI7NjuS8
1•highspeedbus•17m ago•0 comments

Edge Computing and Intelligence: AI for Edge and AI on Edge

https://blog.sparsh.dev/edge-ai-computing-intelligence/
1•sparshrestha•17m ago•1 comments

I Built My Own Hair Electrolysis Machine

https://www.scd31.com/posts/diy-hair-electrolysis-machine
2•y1n0•20m ago•0 comments

What's new in pip 26.1 – lockfiles and dependency cooldowns

https://simonwillison.net/2026/Apr/28/pip-261/
1•y1n0•20m ago•0 comments

At his OpenAI trial, Musk relitigates an old friendship

https://techcrunch.com/2026/04/28/at-his-openai-trial-musk-relitigates-an-old-friendship/
1•evo_9•28m ago•0 comments

From Navigator to Cartographer – The Path to Strong AI

https://pavelvoronin.com/ai-beyond-navigation/
2•kolpaque•34m ago•0 comments

Show HN: Pcons: new software build tool in Python, inspired by SCons and CMake

https://github.com/DarkStarSystems/pcons
1•darkstarsys•34m ago•0 comments

Gemini Enterprise Agent Platform

https://cloud.google.com/blog/products/ai-machine-learning/introducing-gemini-enterprise-agent-pl...
2•gmays•37m ago•0 comments

I hired an AI as SO. He chose a name, and we co-authored a book

https://jdeid.it/agi-research/
1•Serena_Zayn•38m ago•0 comments

Amazon Connect Talent

https://aws.amazon.com/products/connect/talent/
1•cebert•38m ago•0 comments

Chinese team pioneers path to turn carbon dioxide into jet fuel as prices soar

https://www.scmp.com/news/china/science/article/3351749/chinese-team-pioneers-path-turn-carbon-di...
3•merlioncity•39m ago•0 comments

Bugs Rust Won't Catch

https://corrode.dev/blog/bugs-rust-wont-catch/
1•lwhsiao•43m ago•0 comments

Fedora Linux 44 has been released

https://lwn.net/Articles/1070198/
2•kazu11max17•48m ago•0 comments

Show HN: Pi-hosts – Give the Pi coding agent access to your servers

https://github.com/hunvreus/pi-hosts
1•hunvreus•48m ago•0 comments

From CVS to Git, thirty years of source control, lived from inside

https://evilgeniuslabs.ca/blog/from-cvs-to-git-thirty-years-of-source-control
1•samuelstros•51m ago•0 comments

SpaceX ties Musk compensation to Mars colonization goal

https://www.reuters.com/sustainability/boards-policy-regulation/spacex-ties-musk-compensation-mar...
1•cryptoz•54m ago•0 comments

Lithium in Eastern States Could Replace Imports for a Century or More

https://www.usgs.gov/news/national-news-release/lithium-eastern-states-could-replace-imports-a-ce...
1•jonbaer•56m ago•0 comments

FOMO as a Developer: You're Not Behind, You're Just Human

https://nikola-breznjak.com/blog/devthink/fomo-as-a-developer-youre-not-behind-youre-just-human/
3•eigenBasis•56m ago•0 comments

KDL – serialization format and a configuration language, like JSON, YAML, or XML

https://kdl.dev
1•sea-gold•59m ago•2 comments

Show HN: I built an AI agent to diagnose technical issues

https://rinhelp.com
1•wilbertliu•1h ago•0 comments

Benchmarking Inference Engines on Agentic Workloads

https://www.appliedcompute.com/research/inference-benchmark
1•gmays•1h ago•0 comments