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!

Apple Faces £3B UK Trial over iCloud Lock-In Claims

https://www.macrumors.com/2026/05/07/apple-icloud-lock-in-uk-lawsuit/
1•johneth•3m ago•0 comments

The Brand Age

https://www.paulgraham.com/brandage.html
1•KnuthIsGod•4m ago•0 comments

European Lisp Symposium 2026

https://european-lisp-symposium.org/2026/index.html
2•Igrom•4m ago•1 comments

Writers are fleeing the Substack Tax

https://www.theverge.com/tech/927294/substack-tax-ghost-beehiiv
2•articsputnik•5m ago•0 comments

UX Dark Patterns and Social Media Addiction

https://www.designorate.com/ux-dark-patterns-and-social-media-addiction/
1•rrm1977•7m ago•0 comments

Squatt.ing – The state of the .ing top level domain shortly after public release

https://blog.ioces.com/matt/posts/squatt.ing/
1•shoobs•8m ago•0 comments

Modi urges Indians to WFH and limit foreign travel as Iran war continues

https://www.bbc.com/news/articles/c8r8e2ne1v6o
1•penguin_booze•13m ago•0 comments

Young evil genius forces hamster to run on wheel to power his gadgets

https://www.theregister.com/offbeat/2026/05/06/youtuber-turns-hamster-wheel-into-phone-charger/52...
1•luckys•14m ago•0 comments

Show HN: Built a tool that analyzes product reviews and shows real pros/cons

https://chromewebstore.google.com/detail/astrea/ddlhfimgdflliapbjpfaeoheahhmgikl
1•adrianrogers04•15m ago•0 comments

A Tour of Txtar

https://rednafi.com/go/txtar/
1•ingve•19m ago•0 comments

Connections – James Burke

https://www.youtube.com/playlist?list=PLf02uWXhaGRng_YzH-Ser_VEV4lGSLX_1
1•gurjeet•20m ago•0 comments

Encouraging Autonomous Driving Companies to Share Safety-Critical Data

https://dl.acm.org/doi/pdf/10.1145/3757493
3•luu•20m ago•0 comments

Toward Worker-Owned Delivery Platforms with the OpenCourier Protocol

https://platform.coop/blog/toward-worker-owned-delivery-platforms-with-the-opencourier-protocol/
1•utopiah•20m ago•1 comments

Detachment 201, the US Army unit led by tech executives

https://english.elpais.com/technology/2026-04-13/detachment-201-the-us-army-unit-led-by-tech-exec...
2•BaudouinVH•21m ago•0 comments

Why is AI trust so much higher in China (87%) than the US (32%)? [pdf]

https://www.edelman.com/sites/g/files/aatuss191/files/2025-11/2025%20Edelman%20Trust%20Barometer%...
2•nilen•23m ago•3 comments

Bashism – Greg's Wiki

https://mywiki.wooledge.org/Bashism
2•dr_girlfriend•27m ago•0 comments

Gmail registration now requires scanning a QR code and sending a text message

https://discuss.privacyguides.net/t/google-account-registration-now-requires-sending-an-sms-via-p...
3•negura•27m ago•1 comments

Bring Kindness Back to Open Source

https://www.hanselman.com/blog/bring-kindness-back-to-open-source
2•mashally•27m ago•1 comments

Ask HN: What is your workflow for filtering academic papers?

1•hydra-f•28m ago•0 comments

Bash Pitfalls - Greg's Wiki

https://mywiki.wooledge.org/BashPitfalls
2•dr_girlfriend•28m ago•0 comments

ASTro: AST-Based Reusable Optimization Framework

https://github.com/ko1/astro/
1•riffraff•28m ago•0 comments

BashFAQ - Greg's Wiki

https://mywiki.wooledge.org/BashFAQ
2•dr_girlfriend•29m ago•0 comments

AI native flights search built in a weekend

https://flightzombie.com
1•mk0y•31m ago•0 comments

Roaring Bitmaps

https://roaringbitmap.org/
1•tosh•32m ago•0 comments

Silo: Isolated workspace manager for parallel agentic development

https://github.com/rsn491/silo
1•rsn491•36m ago•0 comments

Show HN: AI agents who prevent context drift through gossip

https://wuphf.team
1•najmuzzaman•37m ago•0 comments

Semantic Phonons: Lattice Vibrations in AI Internals

https://www.lesswrong.com/posts/Bn5ErDBp9redcGtxg/semantic-phonons-lattice-vibrations-in-ai-inter...
1•joozio•42m ago•0 comments

How hotels are stopping the 'dawn dash' for sunbeds after man wins payout

https://www.bbc.co.uk/news/articles/c99l17m2ep9o
3•gbxyz•44m ago•0 comments

Manufacturing qubits that can move

https://arstechnica.com/science/2026/05/manufacturing-qubits-that-can-move/
1•rippeltippel•45m ago•0 comments

Axavive Reviews: "Gut–Skin Miracle" or Just Hype? Expert Insights

https://finance.yahoo.com/sectors/healthcare/articles/axavive-skin-exploding-2026-golden-22590060...
1•larxdalu•47m ago•0 comments