frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

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

Google Map's Transit Layer Is Trash [video]

https://www.youtube.com/watch?v=mltgfHzUH38
1•raybb•1m ago•0 comments

Notes from the BugBash Conference

https://emptysqua.re/blog/notes-from-antithesis-bugbash/
1•intuitionist•6m ago•0 comments

Tinder tests letting users set a 'height preference'

https://techcrunch.com/2025/05/29/tinder-tests-letting-users-set-a-height-preference/
1•ironyman•7m ago•0 comments

MacInTouch on pause in an attempt to stem the rising costs of bot traffic

https://www.macintouch.com
1•zdw•8m ago•0 comments

Ask HN: How are people using ChatGPT to increase productivity in personal life?

2•shreythecray•10m ago•1 comments

Watch a robot play badminton against human players

https://www.science.org/content/article/watch-robot-play-badminton-against-human-players
2•geox•20m ago•0 comments

SQL Workbench – Republicans not welcome

https://www.sql-workbench.eu/
2•bitbasher•20m ago•0 comments

85% of Komoot staff being let go after being sold to Bending Spoons

https://www.dcrainmaker.com/2025/05/komoot-team-goodbye.html
1•sorenjan•21m ago•0 comments

The Atomic Airplane

https://whatisnuclear.com/the-story-of-the-atomic-airplane.html
2•mpweiher•22m ago•0 comments

Coinbase support agents were compromised

https://fortune.com/crypto/2025/05/29/coinbase-hack-the-community-taskus-bpos-teenagers/
2•miohtama•25m ago•0 comments

Tesla FSD doesn't stop for school buses with stop signs and red lights

https://bsky.app/profile/realdanodowd.bsky.social/post/3lqafg2zqfk2v
6•alex_young•26m ago•0 comments

Canva's Dev MCP Server

https://www.canva.dev/docs/apps/mcp-server/
1•gitgud•28m ago•0 comments

Lifetime earnings and the making of Subliminal Words

https://indest.ee/lifetime-earnings-and-the-making-of-subliminal-words/
1•indest•31m ago•0 comments

Is gravity evidence of a computational universe?

https://pubs.aip.org/aip/adv/article/15/4/045035/3345217/Is-gravity-evidence-of-a-computational-universe
1•mpweiher•32m ago•0 comments

Why Did the Chicken Cross the Road?

https://www.physics.harvard.edu/undergrad/humor
1•mapolone•33m ago•0 comments

My Guide to Avoiding the Internet's Constant Noise

https://uscne.blogspot.com/2025/05/my-guide-to-avoiding-internets.html
1•uscne•36m ago•0 comments

Florida was a shining example of open government. Not any more

https://www.tampabay.com/opinion/2025/05/29/florida-was-shining-example-open-government-not-any-more-column/
1•howard941•40m ago•0 comments

JavaScript Errors

https://www.haydenbleasel.com/blog/on-javascript-errors
1•fmerian•42m ago•0 comments

Ask HN: How Bing is indexing YouTube videos?

1•the_arun•43m ago•1 comments

The Bullseye of America's Internet (2012)

https://gizmodo.com/the-bullseye-of-america-s-internet-5913934
1•droideqa•43m ago•0 comments

AI Isn't a Worker Replacement; It's a Human Replacement

https://old.reddit.com/r/changemyview/comments/1kygh20/cmv_ai_isnt_a_worker_replacement_its_a_human/
1•amichail•46m ago•0 comments

The Future of Comments Is Lies, I Guess

https://aphyr.com/posts/388-the-future-of-comments-is-lies-i-guess
4•zdw•46m ago•1 comments

A new architecture emulates imagination and higher-level human mental states

https://techxplore.com/news/2025-05-architecture-emulates-higher-human-mental.html
2•birriel•49m ago•0 comments

An AI Chatbot Is Flooding Canadian City Councils with Climate Misinformation

https://www.desmog.com/2025/05/28/a-weaponized-ai-chatbot-is-flooding-canadian-city-councils-with-climate-misinformation/
1•OutOfHere•51m ago•0 comments

An online space for Python developers to code, run and share small Python things

https://py.space/
1•thomascountz•51m ago•0 comments

Cognitive Debt

https://smithery.com/2025/05/05/cognitive-debt/
1•frereubu•51m ago•0 comments

Show HN: I Launched B2B Ad Network for Tech Startups

https://www.tinyadz.com/
1•johnrushx•54m ago•0 comments

The Vagus Nerve Industry

https://www.newstatesman.com/culture/books/book-of-the-day/2025/05/the-vagus-nerve-industry
4•bookofjoe•56m ago•0 comments

RFK Jr.'S MAHA Report Cites Research Studies That Don't Exist

https://www.rollingstone.com/politics/politics-news/rfk-jr-maha-report-fake-research-studies-1235350468/
2•Animats•1h ago•3 comments

Show HN: Willow Voice (YC X25) – Personalized Dictation You Can Use Anywhere

https://willowvoice.com/
2•LiuLawrence45•1h ago•0 comments