frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y 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!

How to get empowered, not overpowered, by AI (2018) [video]

https://www.ted.com/talks/max_tegmark_how_to_get_empowered_not_overpowered_by_ai
1•andsoitis•2m ago•0 comments

Snake Game in Firefox's address bar after typing "25*6"

https://old.reddit.com/r/firefox/comments/1u6bdjy/hidden_snake_game/
2•exploraz•3m ago•0 comments

Pavel Durov – Communication Technology and the Struggle for Freedom

https://www.youtube.com/watch?v=1Yq_5aDdJ24
2•doppp•7m ago•0 comments

Base Fatality List

https://bfl.baseaddict.com/list
2•hluska•7m ago•0 comments

New Domain for Sign in with Apple and iCloud+ Hide My Email

https://developer.apple.com/news/?id=sus6t6ab
3•nnx•9m ago•0 comments

SVGs and PDFs can both be interactive

https://vexlio.com/blog/svgs-and-pdfs-can-both-be-interactive/
2•thunderbong•11m ago•0 comments

Anthropic pauses Claude Agent SDK policy

2•rbitar•12m ago•0 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
1•andsoitis•14m ago•2 comments

Aspectarian – a Jyotiṣa transit reader for macOS using Claude

https://github.com/SpecStudio-net/Aspectarian
1•SpecStudioHN•14m ago•0 comments

CA Gov Newsom Under Federal Investigation for Billions of Fraud

https://twitter.com/GavinNewsom/status/2066585778982166808
1•cagovzz•16m ago•0 comments

Anthropic lost the White House's trust – and then its flagship product

https://www.washingtonpost.com/technology/2026/06/15/how-anthropic-lost-white-houses-trust-then-i...
1•reaperducer•19m ago•0 comments

Enough with the hype about underwhelming or speculative cancer treatments

https://greyenlightenment.com/2026/06/15/enough-with-the-hype-about-underwhelming-or-speculative-...
1•paulpauper•28m ago•0 comments

Show HN: Locket – Robust feature-level access control for LLMs

https://github.com/ssg-research/locket
1•ttttonyhe•28m ago•0 comments

Axiomata – A Codex of Becoming

https://v1tali.com/axiomata-codex-of-becoming-nine-paces
1•vitali•33m ago•0 comments

Show HN: Deep-XPIA – Prompt injection benchmark for multi-agent AI systems

https://freyzo.github.io/deep-xpia/
1•leo_agent•35m ago•0 comments

Trump administration considers $300B fund for Iran if deal is upheld

https://www.ft.com/content/088c14d3-f708-44d8-a306-7996aa5211de
4•JumpCrisscross•35m ago•3 comments

Show HN: A GPT to get a free URL for AI generated content

https://chatgpt.com/g/g-6a2aad2c30988191abd95b3940008e90-boomurl-publish-a-website
1•dorongrinstein•35m ago•1 comments

Omnigent: A Meta-Harness to Combine, Control and Share Your Agents

https://www.databricks.com/blog/introducing-omnigent-meta-harness-combine-control-and-share-your-...
2•lobo_tuerto•37m ago•0 comments

An Overview of Modern AI Robotics from First Principles

https://interlatent.com/blog/interlatent-modern-ai-robotics-first-principles
1•o4c•41m ago•0 comments

Probably just end up embarrassing myself, but here is Sidekick

https://github.com/geoffmcc/sidekick
2•geoffmcc•47m ago•0 comments

ZZüy: A Lesson in Perseverance

https://martinrue.com/zzuy-a-lesson-in-perseverance/
1•afisxisto•47m ago•0 comments

HPE offers VMware refugees a year off the meter

https://www.theregister.com/virtualization/2026/06/15/hpe-offers-vmware-refugees-a-year-off-the-m...
1•SanjayMehta•49m ago•0 comments

Generate per-session LoRA adapters in <1s for inference tasks

https://pypi.org/project/tessera-hypernetwork/
1•Facingsouth•56m ago•0 comments

OrangeCheck, sybil resistance from a Bitcoin signature

https://ochk.io/
1•bixvolt•1h ago•0 comments

How do I prevent myself from being a crank in areas I know little about?

https://philosophy.stackexchange.com/questions/139075/how-do-i-prevent-myself-from-being-a-crank-...
3•azeemba•1h ago•2 comments

The Anthropic Fable Farce by Ben Goertzel

https://bengoertzel.substack.com/p/the-anthropic-fable-farce
3•Prof_Sigmund•1h ago•0 comments

Show HN: Open-source CLI to see your AI coding token usage and compare it

https://github.com/amiinwani/whoburnedmore.com
1•arhaam•1h ago•0 comments

Show HN: Bing Maps Leads Extractor

https://chromewebstore.google.com/detail/maps-leads-extractor/omnjmmkpblpilcjbdadamlaajdndjnnj
1•qwikhost•1h ago•0 comments

Text-to-Lottie: Generate Lottie animations with coding agents

https://github.com/diffusionstudio/lottie
3•vantareed•1h ago•0 comments

AI hasn't killed our bootstrapped enterprise software company yet

https://www.nocobase.com/en/blog/future-of-software-programmers-revenue-doubled
2•mountainview•1h ago•0 comments