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!

Ted Turner, cable TV visionary who created CNN, dies at 87

https://www.washingtonpost.com/obituaries/2026/05/06/ted-turner-dead-cnn/
1•bookofjoe•1m ago•1 comments

SubQ 12M token reasoning model

https://subq.ai/
1•brightball•2m ago•0 comments

Google Tag Gateway – Ad-Block Killer?

https://developers.google.com/tag-platform/tag-manager/gateway
1•sausajez•2m ago•0 comments

Microsoft Edge loads all your saved passwords into memory in cleartext

https://github.com/L1v1ng0ffTh3L4N/EdgeSavedPasswordsDumper
1•elnerd•2m ago•0 comments

The SECURE Data Act is Not a Serious Piece of Privacy Legislation

https://www.eff.org/deeplinks/2026/05/secure-data-act-not-serious-piece-privacy-legislation
1•hn_acker•3m ago•0 comments

Google DeepMind workers in UK vote to unionize amid deal with US Military

https://www.theguardian.com/us-news/2026/may/04/google-deepmind-uk-workers-union
1•nickcotter•5m ago•0 comments

Markdown badges generator for GitHub README (fast, copy-paste)

https://markdown-badges.vercel.app/
1•GFrancV•5m ago•0 comments

C# (with dotnet) on bare metal, a Cosmos gen3 preview

https://old.reddit.com/r/osdev/comments/1t55w29/c_with_dotnet_on_bare_metal_a_cosmos_gen3_preview/
1•pjmlp•6m ago•0 comments

Open weights are quietly closing up – and that's a problem

https://martinalderson.com/posts/open-weights-are-quietly-closing-up/
1•martinald•6m ago•0 comments

Floats Don't Agree with Themselves

https://docs.merca.earth/blog/floats-dont-agree-with-themselves
4•cremer•6m ago•0 comments

Islo.dev as Sandbox Provider on Crabbox

https://crabbox.sh/features/islo.html
1•zozo123-IB•7m ago•0 comments

Same Voice, Different Lab: On the Homogenization of Frontier LLM Personalities

https://arxiv.org/abs/2605.02897
1•Brajeshwar•9m ago•0 comments

AlphaFold database hits 'next level': the AI system now includes protein pairing

https://www.nature.com/articles/d41586-026-00787-3
2•surprisetalk•9m ago•0 comments

F1 drivers are changing their racing strategies with new technical regulations

https://www.researchterminal.ai/terminal/c123e9f6-09ec-4222-b412-3aa8bafb0e6d
2•ipachanga•10m ago•0 comments

Taking down a European network with a TLS certificate

https://mxsasha.eu/posts/ripe-ncc-rpki-exploit-chain/
2•speckx•11m ago•0 comments

"Open" doesn't mean anything nowadays

https://lr0.org/blog/p/open/
2•jabrr7•12m ago•0 comments

Views on Confidential AI Systems

https://riverside.com/webinar/registration/eyJldmVudElkIjoiNjk4MzQ2OWJkNDUwMzQyMGRiNzk4ZWQ3Iiwic2...
1•raeroumeliotis•12m ago•0 comments

Subquadratic Sparse Attention Makes Long Context Practical

https://subq.ai/how-ssa-makes-long-context-practical
2•andsoitis•14m ago•0 comments

K

https://web.archive.org/web/20240414034604/https://archive.vector.org.uk/art10010830
1•tosh•14m ago•0 comments

AI file editing is broken

https://hic-ai.com
1•simonreiff•16m ago•1 comments

Vifal: FUSE mount that exposes Kubernetes container filesystems locally

https://github.com/machine424/vifal
2•machine424•17m ago•0 comments

Show HN: Guten – Android ereader for Project Gutenberg's 70k+ free books

https://play.google.com/store/apps/details?id=com.bhunt.guten&hl=en_US
2•bethanyhunt•17m ago•0 comments

Show HN: Curl.md – URL to Markdown for Agents

https://curl.md/
3•meagher•18m ago•2 comments

Feedback on open source AI agent builder

1•ajaysheoran2323•18m ago•0 comments

Show HN: AI-powered Autofill for your Job Applications

https://chromewebstore.google.com/detail/bidhub-copilot/kbejjeccedbnbepoahmaajojcgfjcakj
1•cednore•19m ago•0 comments

Xteink X3, a 3.7inch mini e-ink reader with magsafe

https://techcrunch.com/2026/05/03/xteink-x3-review-tiny-magnetic-ereader/
1•walthamstow•19m ago•0 comments

How intelligent is S3 Intelligent-Tiering?

https://sagi.org/posts/how-intelligent-is-s3-intelligent-tiering/
3•sagiba•22m ago•0 comments

I'm Suing the Justice Department and FBI

https://this.weekinsecurity.com/plot-twist-i-am-suing-the-justice-department-and-fbi/
2•speckx•22m ago•1 comments

Chloroquine, an Anti-Malaria Drug as Effective Prevention for Hantavirus (2021)

https://www.frontiersin.org/journals/cellular-and-infection-microbiology/articles/10.3389/fcimb.2...
3•OutOfHere•22m ago•0 comments

The A.I. Industry Is Booming. When Will It Make Money?

https://www.newyorker.com/news/the-financial-page/the-ai-industry-is-booming-when-will-it-actuall...
2•FinnLobsien•22m ago•0 comments