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!

Show HN: I have tried using Honestify instead of sending direct CV/Resume

1•ricky300300•1m ago•0 comments

China's $13K Tiny EV Hit 1k Orders in Japan in Just Two Weeks

https://www.autoblog.com/news/chinas-13k-tiny-ev-hit-1000-orders-in-japan-in-just-two-weeks
1•teleforce•2m ago•0 comments

The Safety Reckoning Inside OpenAI

https://www.wired.com/story/openai-safety-security-ai-agents-culture/
1•sbulaev•3m ago•0 comments

I built AIM Maps but you play AI

https://www.1vs1.xyz/
1•mattmerrick•10m ago•0 comments

Age Verification Is a Bad Way to Solve the Problem. What's the Alternative?

https://techblog.bozho.net/age-verification-is-a-bad-way-to-solve-the-problem-of-children-on-soci...
1•bozho•23m ago•0 comments

We hired a security engineer and got back 123 findings

https://dev.profullstack.com/~anthony/blog/004-post.html
1•buffer_overlord•24m ago•0 comments

Asda rolls out loss prevention tool across full estate following £100k savings

https://www.retailgazette.co.uk/blog/2026/08/asda-rolls-out-loss-prevention-tool-across-full-esta...
2•mmarian•29m ago•0 comments

CARA – a readiness assessment for Microsoft 365 Copilot adoption

https://jellebelletje.github.io/CARA/
1•jelonearth•30m ago•1 comments

Ownership in the Age of AI

https://sahilkolwankar.com/blog/ai-input-not-output/
2•sahilkolwankar•37m ago•0 comments

The quirky personal homepages of programming language creators

https://breck.lol/plMakers.html
20•cjlm•46m ago•7 comments

Decentralized Roller Coaster Tracker

https://aquacoast.net
2•ens0•48m ago•1 comments

Falstad Math and Physics Simulations

https://www.falstad.com/mathphysics.html
2•pykello•50m ago•0 comments

Show HN: DSH Plugin Directory – Every DeepSeek Harness Plugin

https://dshplugin.online/
2•niliu123•56m ago•1 comments

21,000 MCP servers exposed: the protocol reaches a security inflection point

https://forkast.news/the-model-context-protocol-reaches-a-security-inflection-point/
6•Wpnx330•1h ago•1 comments

I checked 30 frontier model cards. Here are the benchmarks labs report

https://koutian.is-a.dev/benchmark-radar/?view=leaderboard
7•ktwu01•1h ago•7 comments

Pizza π, A fun fractions game for kids 6-12

https://pizzapi.vinceroyer.ca/
3•vinistois•1h ago•3 comments

Taliban government supporters dance, take selfies in Kabul celebrations

https://www.channelnewsasia.com/world/taliban-government-supporters-dance-take-selfies-in-kabul-c...
4•Markoff•1h ago•1 comments

The Live Shopping App Where Some People Bid Until They're Broke

https://www.wsj.com/business/retail/whatnot-live-shopping-app-48b67987
4•littlexsparkee•1h ago•0 comments

Wk. 4 of Vibecoding an MMO

https://www.eldermyr.com
3•josiahturnq•1h ago•9 comments

The 37signals Manager Playbook

https://basecamp.com/managers
4•samuel246•1h ago•0 comments

Hello hoomans, sorry dog owners. Meet Zoomie, a dog activity tracker

https://testflight.apple.com/join/zHyWmwu6
3•akshatsaladi•1h ago•1 comments

Targeted marine cloud brightening weakens subsequent El Niño

https://www.science.org/doi/10.1126/sciadv.adx3012
3•musha68k•1h ago•0 comments

PDC 1996 Keynote with Bill Gates

https://learn.microsoft.com/en-us/shows/pdc-1996/pdc-1996-keynote-bill-gates
4•abixb•1h ago•1 comments

Show HN: Upscaled screenshots of specific DOM elements

https://addons.mozilla.org/en-US/firefox/addon/beermusic/
3•madprops•1h ago•0 comments

Show HN: Grow your SaaS visibility with AI-powered discovery

https://saaslyra.com
2•wowinter15•1h ago•0 comments

Music Speed Changer Web App

https://app.musicspeedchanger.com/
2•EvansFunTime•1h ago•0 comments

Government sponsored study on alcohol doesn't stand up to scrutiny: Nassim Taleb

https://nntaleb.substack.com/p/have-another-drink
22•scoofy•1h ago•6 comments

ProofRun – a local verification receipt for AI coding agents

https://github.com/yebiguo/ProofRun
3•yebiguo•1h ago•0 comments

ShieldFont: Bludgeoning AI Scrapers That Disrespect Robots.txt

https://hackaday.com/2026/08/14/shieldfont-bludgeoning-ai-scrapers-that-disrespect-robots-txt/
3•lxm•1h ago•0 comments

Men are turning to penis fillers despite the risks

https://www.bbc.com/news/articles/c626d3xqd83o
3•1659447091•2h ago•1 comments