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!

Dola – AI Consulting for your tiny firm

https://dolalabs.com/
1•radurevutchi•2m ago•0 comments

Pro-Russian 'doppelganger' campaign exploits DW brand

https://corporate.dw.com/en/hungary-election-pro-russian-doppelganger-campaign-exploits-dw-brand/...
1•doener•5m ago•0 comments

My browser-based static site generator

https://stratts.au/posts/browser-based-ssg/
1•stratts•5m ago•0 comments

Out: Resumes. In: Weeklong In-Office Trials

https://www.businessinsider.com/out-resumes-in-weeklong-in-office-trials-hiring-2026-4
1•KnuthIsGod•7m ago•0 comments

AXI: Agent EXperience Interface

https://axi.md/
1•borisjabes•9m ago•0 comments

I let a agent control my window manager

https://blog.zimengxiong.com/#post/agents-will-need-a-good-window-manager
1•zimengx•12m ago•0 comments

Writers Guild Deal: $321M Health Plan Infusion, Residuals, AI Licensing Language

https://www.hollywoodreporter.com/business/business-news/writers-contract-deal-321m-health-plan-i...
1•mikhael•13m ago•0 comments

Show HN: Proroot – Zero-overhead proot replacement for Android

https://github.com/coderredlab/proroot
1•coderredlab•14m ago•0 comments

America's AI Build-Out Hinges on Chinese Electrical Parts

https://www.bloomberg.com/news/features/2026-04-01/us-ai-data-center-expansion-relies-on-chinese-...
2•doener•17m ago•0 comments

Letting go of climate guilt in 5 easy steps [pdf]

https://hsph.harvard.edu/wp-content/uploads/2024/11/21.08-Letting-go-of-climate-guilt-in-5-easy-s...
1•num42•19m ago•0 comments

Anthropics Mythos Model Sparks Fears of AI Doomsday

https://nypost.com/2026/04/08/business/anthropics-claude-mythos-model-sparks-fears-of-ai-doomsday...
2•silexia•20m ago•0 comments

Under oath, Frank Lloyd Wright introduced himself as "world greatest architect"

https://www.pidgeondigital.com/talks/the-world-s-greatest-architect/chapters/
3•felipevb•24m ago•1 comments

Does Anybody Need Me?

https://ed-wentworth.medium.com/does-anybody-need-me-6fde408000cb
2•gpi•24m ago•0 comments

Navigating the Mythos-haunted world of platform security

https://www.redhat.com/en/blog/navigating-mythos-haunted-world-platform-security
1•LaSombra•27m ago•0 comments

Show HN: Connect with strangers who feel the same as you

https://emotiapp.com/
2•lirongliu•27m ago•1 comments

The Life and Death of the Book Review

https://libertiesjournal.com/articles/the-life-and-death-of-the-book-review/
1•lermontov•28m ago•0 comments

The Usefulness of AI Agents

https://erikjohannes.no/posts/20260408-on-the-usefulness-of-ai-agents/index.html
1•wazHFsRy•31m ago•1 comments

I wish Xcode was more like Visual Studio when coding C++

https://www.lasselaursen.com/post/i-wish-xcode-was-more-like-visual-studio-when-coding-c/
2•Gazoo101•38m ago•0 comments

Formal Verification in Any Language for Everybody (lean 4)

https://www.dev-log.me/formal_verification_in_any_language_for_everybody/
1•wazHFsRy•38m ago•2 comments

Can LLMs accelerate science? An experiment

https://pavpanchekha.com/blog/llk.html
1•pavpanchekha•42m ago•0 comments

Federal Court Denies Anthropic's Motion to Lift 'Supply Chain Risk' Label

https://www.nytimes.com/2026/04/08/technology/anthropic-pentagon-risk-circuit-court.html
2•DeathArrow•43m ago•0 comments

Flatpak: Complete Sandbox Escape

https://github.com/flatpak/flatpak/security/advisories/GHSA-cc2q-qc34-jprg
1•eyberg•44m ago•0 comments

AI #163: Mythos Quest

https://thezvi.substack.com/p/ai-163-mythos-quest
1•paulpauper•49m ago•0 comments

US adults are having fewer kids – and it's forcing schools to close

https://www.theguardian.com/us-news/2026/mar/16/birthrate-schools-closing
1•PaulHoule•52m ago•0 comments

'The Egg' by Andy Weir (2009)

https://www.galactanet.com/oneoff/theegg_mod.html
4•goekjclo•53m ago•0 comments

When AI Day of Reckoning?

https://www.overcomingbias.com/p/when-ai-day-of-reckoning
1•paulpauper•53m ago•0 comments

Keychron has open sourced its hardware

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design/tree/main
5•azhenley•54m ago•0 comments

I rebuilt Claude Code's removed /buddy companion as a permanent MCP app

https://github.com/1270011/claude-buddy
2•1270011•56m ago•0 comments

Violating Copyright, Not the Planet

https://mumumelon.co/
1•Tomte•1h ago•0 comments

Bryson DeChambeau to use a 5-iron he made with 3D printer at Masters

https://www.espn.com/golf/story/_/id/48431238/bryson-dechambeau-using-iron-made-3d-printer-masters
1•1659447091•1h ago•0 comments