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!

Vibe-Coded Apps Expose Corporate and Personal Data on the Open Web

https://www.wired.com/story/thousands-of-vibe-coded-apps-expose-corporate-and-personal-data-on-th...
1•abdelhousni•1m ago•0 comments

Obsidian plugin was abused to deploy a remote access trojan

https://cyber.netsecops.io/articles/obsidian-plugin-abused-in-campaign-to-deploy-phantom-pulse-rat/
1•cmbailey•4m ago•0 comments

Chris Hohn's fund slashes $8B Microsoft stake in warning over AI disruption

https://www.ft.com/content/639703f3-064c-4065-96dc-11a9dfd6d83c
2•fallinditch•6m ago•1 comments

Amazon uses its logistics empire to take on UPS and FedEx in freight, shipping

https://www.geekwire.com/2026/amazon-turns-its-logistics-empire-into-a-new-business-taking-on-ups...
1•TMWNN•9m ago•0 comments

Mycelium: A protocol spec to replace the Web – feedback welcome

https://mycelium-network.netlify.app
1•Nexi_CSN•15m ago•0 comments

Plex's price hikes prove I was right to switch to Jellyfin

https://www.androidauthority.com/plex-price-hikes-get-jellyfin-3663600/
2•Brajeshwar•17m ago•0 comments

Show HN: UAP Archive – a Rust CLI to archive war.gov/UFO Release 01

https://github.com/Pym/UAP-Archive
1•Pym•21m ago•0 comments

After USDA request, Indiana plant biologist locked out of lab by school

https://www.science.org/content/article/after-usda-request-indiana-plant-biologist-locked-out-lab...
2•doener•21m ago•0 comments

Republic of Kiribati

https://en.wikipedia.org/wiki/Kiribati
2•doener•24m ago•0 comments

Apple Store education purchase verification process expands to US

https://appleinsider.com/articles/26/05/08/apple-store-education-purchase-verification-process-ex...
3•apparent•24m ago•0 comments

Why modern parents feel more sleep deprived than our ancestors did

https://www.bbc.com/future/article/20260508-parents-in-ancient-times-felt-less-sleep-deprived-wha...
6•1659447091•30m ago•2 comments

The Flickr Commons

https://flickr.com/commons
3•gone35•31m ago•0 comments

Claude Code auto daily /weekly recap notes

https://github.com/vibe-log/vibe-log-cli
2•noashavit•32m ago•1 comments

Frona v2026.5.0 – self-hosted personal AI assistant

https://github.com/fronalabs/frona/releases/tag/v2026.5.0
2•syncerx•33m ago•0 comments

Argus – RAG based vulnerability scanner

https://github.com/abhishekamralkar/argus
2•amralkara•34m ago•0 comments

New technique radically boosts biogas yields from sewage sludge

https://newatlas.com/energy/biogas-boost-sewage-sludge/
2•breve•37m ago•0 comments

Childhood Computing

https://lilysthings.org/blog/childhood-computing/
2•i_lost_my_bagel•39m ago•0 comments

Is it still all about the people?

https://lisacrispin.com/2026/04/29/is-it-still-all-about-the-people/
2•adrianhoward•40m ago•0 comments

Misplaced Panic over AI Progress

https://garymarcus.substack.com/p/misplaced-panic-over-ai-progress
3•agluszak•47m ago•0 comments

Maryland citizens hit with $2B power grid upgrade for out-of-state AI

https://www.tomshardware.com/tech-industry/artificial-intelligence/maryland-citizens-slapped-with...
20•lemonberry•50m ago•3 comments

Ask HN: Which LLM are you using to evaluate your ideas?

2•Marius77•52m ago•1 comments

The impossible song we'll remember in 500 years [video]

https://www.youtube.com/watch?v=XLqhOEzpWyo
3•layer8•57m ago•0 comments

Freediving, Embodiment and Humanity

https://tracesofhumanity.org/freediving-embodiment-and-humanity/
2•nathanh•1h ago•0 comments

The Psychology of Choice in an Age of Abundance

https://medium.com/@sachin255701/the-psychology-of-choice-in-an-age-of-abundance-8843d4e49ce7
2•_day_dr3am3r_•1h ago•1 comments

Fluiq – LLM observability, evals and optimization in two lines of Python

https://getfluiq.com
2•SaurabhKumbhar•1h ago•0 comments

Show HN: Aura – Desktop AI Orchestration IDE with Planner/Worker Architecture

https://github.com/CarpseDeam/Aura-IDE
3•ConfusedData89•1h ago•0 comments

Jumping Spiders Shouldn't Be This Smart [video]

https://www.youtube.com/watch?v=kRQMOF5c2Z8
3•hermitcrab•1h ago•0 comments

Is this a bad moment for a math career?

https://mathoverflow.net/questions/486675/is-this-a-bad-moment-for-a-math-career
2•bananaflag•1h ago•0 comments

Ask HN: Will low quality AI customer support be the new normal?

6•0-bad-sectors•1h ago•2 comments

A NLM enhanced writers workbench

https://www.redwoodrhetorica.com/
2•homeonthemtn•1h ago•1 comments