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!

Three things to watch amid Anthropic's latest feud with the government

https://www.technologyreview.com/2026/06/22/1139424/three-things-to-watch-amid-anthropics-latest-...
1•joozio•28s ago•0 comments

Master Data Governance Framework

https://link.springer.com/book/10.1007/979-8-8688-2145-5
1•teleforce•4m ago•0 comments

Best way to integrate your devtool with companies

1•deepakcoder•5m ago•0 comments

A new generation of music software is shrinking musical theatre orchestras

https://www.theguardian.com/music/2026/jun/23/keycomp-replacing-musicians-musical-theatre-pit-orc...
1•Erikun•6m ago•0 comments

Forge – Code-Quality Guardrails for AI Agents

https://github.com/misnaej/forge
1•car•6m ago•0 comments

Visualization: How would 1M Starlink satellites look

https://claude.ai/public/artifacts/a45c2338-f11f-4899-85a0-9bb63d5d6656
2•tomaskafka•8m ago•0 comments

The Theoretical Limit of Image Compression [video]

https://www.youtube.com/watch?v=W39hBPOk9Hk
2•Imustaskforhelp•9m ago•0 comments

I Vibecoded a TUI life RPG

https://github.com/knguyenanhoa/trpg
1•191101•9m ago•1 comments

Human bodies did not simply got bigger and bigger over time in a steady line

https://phys.org/news/2026-06-idea-human-bodies-simply-bigger.html
1•JPLeRouzic•10m ago•0 comments

Invite to beta tester and investors for depgaze. SW supply chain security tool

https://www.depgaze.xyz/
1•gcarlo•13m ago•0 comments

EU Member States (and Google) suddenly want to keep cookie banners

https://noyb.eu/en/eu-member-states-and-google-suddenly-want-keep-cookie-banners
2•robin_reala•14m ago•0 comments

Show HN: We built an open-source tool for real-time speech-to-speech translation

1•Saurabh_06•15m ago•0 comments

GLM 5.2 vs. Claude Opus 4.5

https://gopeekapp.blogspot.com/2026/06/glm-52-vs-claude-opus-45.html
2•GeorgeWoff25•27m ago•1 comments

How to Stay Active with a Desk Job

https://www.uclahealth.org/news/article/how-stay-active-with-desk-job
2•hasudon7171•27m ago•0 comments

Ask HN: Anthropic banned me from using Claude Code and I don't know what to do

3•ayi•28m ago•0 comments

America's largest companies have no simple way to report security flaws

https://this.weekinsecurity.com/dozens-of-americas-largest-companies-have-no-simple-way-to-report...
2•anujbans•29m ago•0 comments

A Dark Dimension Could Link Two of the Universe's Great Unknowns

https://www.quantamagazine.org/a-dark-dimension-could-link-two-of-the-universes-great-unknowns-20...
2•anujbans•29m ago•0 comments

Current AI is like the film company producing TV series or movies

https://devcyc.life/current-ai-is-like-the-film-company-producing-tv-series-or-movies/
1•lilerjee•32m ago•0 comments

Louis Pope Gratacap, a Curator in Lost Worlds

https://publicdomainreview.org/essay/gratacap-curator-in-lost-worlds/
2•Caiero•33m ago•0 comments

I published: how a question about heat became a question about reality itself

https://everythingthatglows.com/
1•kmeves•33m ago•2 comments

SHOW HN: ConvertFast – offline file conversion and file utilities for desktop

https://convertfast.co/
1•amsaleque•35m ago•1 comments

Show HN: MinLlama – Llama 3.2 inference in ~100 lines of NumPy

https://github.com/timothygao8710/minLlama
1•timothygao•36m ago•0 comments

Show HN: Make your app collaborative or multiplayer with one prompt

https://antics.gg/
2•heyitssim•37m ago•0 comments

Language models transmit behavioural traits through hidden signals in data

https://www.nature.com/articles/s41586-026-10319-8
2•thinkingemote•38m ago•0 comments

Show HN: SIA SEO: AI SEO content generation that shows up in AI Search Results

https://siaseo.com
1•Sharanxxxx•40m ago•1 comments

Cascading Messages in Smalltalk

https://donraab.medium.com/cascading-messages-in-smalltalk-14807389b6ce
1•ingve•40m ago•0 comments

Why the Odyssey Keeps Defeating Filmmakers

https://www.newyorker.com/magazine/2026/06/29/why-the-odyssey-keeps-defeating-filmmakers
2•prismatic•41m ago•0 comments

Open source, global vs. proprietary but for US in US, which is fundable in SaaS?

2•avijeetsingh16•45m ago•0 comments

Good growth strategist, bad growth strategist

https://read.earlystagegrowth.com/p/good-growth-strategist-bad-growth
1•joshlachkovic•50m ago•0 comments

Show HN: Free VIN Decoder with AI Summaries on Cloudflare Workers and NHTSA Data

https://checkmyvin.net/
1•Roselol•53m ago•0 comments