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!

Cavity quantum electrodynamics control of quantum Hall stripes

https://www.nature.com/articles/s41567-026-03287-3
1•bookofjoe•1m ago•0 comments

US Justice Department 'forever' bars IRS from auditing Trump's past tax returns

https://www.theguardian.com/us-news/2026/may/19/trump-irs-settlement-tax-returns
4•embedding-shape•7m ago•1 comments

Poor grip strength linked to greater odds of developing depression

https://medicalxpress.com/news/2026-05-early-poor-strength-linked-greater.html
1•Gaishan•10m ago•0 comments

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

https://mailvaulty.com
1•khaledsabae•10m ago•1 comments

LLMs Are Revealing How Low the Bar Is (and Lowering It Even Further)

https://countercraft.substack.com/p/llms-are-revealing-how-low-the-bar
3•crescit_eundo•14m ago•0 comments

State Space Models, Explained Through Code

https://karthik-ragunath-ananda-kumar-blogs.notion.site/State-Space-Models-Explained-Through-Code...
1•eigenBasis•15m ago•0 comments

StartupStarter – we built a company brain so AI can do your work

https://startupstarter.co/
1•SCJB•19m ago•3 comments

Google Cloud has blocked our account, making some Railway services unavailable

https://twitter.com/i/status/2056883076496789854
4•bundie•22m ago•3 comments

An AI Co-Scientist for Hypothesis Generation from Google DeepMind

https://doi.org/10.1038/s41586-026-10644-y
2•car•22m ago•0 comments

Windows on Nintendo 64

https://www.youtube.com/watch?v=eGS9su_inBY
2•cedel2k1•25m ago•0 comments

Everything You Do Is Being Recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
2•breve•26m ago•1 comments

Railway Blocked by Google Cloud

https://status.railway.com/?date=20260519
12•aarondf•38m ago•3 comments

Google's First AI Smart Glasses Launching This Fall with iPhone Support

https://www.macrumors.com/2026/05/19/google-ai-smart-glasses-iphone-support/
1•mikhael•40m ago•0 comments

I made an App that uses local LLMs to monitor your screen

1•roy3838•41m ago•0 comments

Show HN: The user agents crawling HN today

https://ai.realhackers.org/user_agents.txt
1•Bender•42m ago•1 comments

Show HN: Export Webflow sites and CMS content

https://www.webflowexport.com/
2•happyyeti•44m ago•1 comments

Generative art collection based on human interpretation

https://www.mixedmessages.fyi/auction
1•knownquantity_•45m ago•2 comments

WhatsApp Web Became Facebook

https://old.reddit.com/r/whatsapp/comments/1ti3qxf/whatsapp_web_became_facebook/
3•Crier1002•52m ago•0 comments

Railway Currently Down

https://twitter.com/Railway/status/2056873075401007338
4•kristianc•53m ago•1 comments

El Niño is coming. The last time ocean temp. looked like this, millions died

https://respublicamgz.substack.com/p/a-super-el-nino-is-coming-the-last
18•ResPublica•56m ago•1 comments

50-year WHO/CDC Ebola outbreak pipeline in a weekend

https://github.com/vrsabha/outbreak-tracker
1•hn_career•58m ago•1 comments

Tell HN: Google banned Railway's account. Everything down

7•sergiotapia•59m ago•4 comments

GitHub is investigating unauthorized access to their internal repositories

https://twitter.com/github/status/2056884788179726685
53•splenditer•1h ago•12 comments

N display of stupid, secret CISA credentials found in public GitHub rep

https://arstechnica.com/information-technology/2026/05/in-stunning-display-of-stupid-secret-cisa-...
2•sbulaev•1h ago•1 comments

Google Cloud suspends Railway account causing major outage

https://twitter.com/Railway/status/2056883076496789854
6•sincinnatusc•1h ago•0 comments

Age Shapes the Adoption of New Technologies

https://insight.kellogg.northwestern.edu/article/swipe-or-tap-how-age-shapes-the-adoption-of-new-...
1•PopAlongKid•1h ago•1 comments

Google's AI Studio now lets anyone build Android apps in minutes

https://techcrunch.com/2026/05/19/googles-ai-studio-now-lets-anyone-build-android-apps-in-minutes/
3•cpncrunch•1h ago•1 comments

Heads, Trump Wins ( Tails, he still wins)

https://www.theatlantic.com/newsletters/2026/05/trump-corruption-irs-fund/687227/
2•KnuthIsGod•1h ago•0 comments

My Arduino spins faster when Claude burns more tokens

https://terminalbytes.com/arduino-claude-code-activity-meter/
1•mtlynch•1h ago•1 comments

HTML-in-Canvas Demos

https://github.com/GoogleChromeLabs/css-web-ui-demos/blob/main/html-in-canvas/awesome-html-in-can...
1•simonpure•1h ago•0 comments