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!

1•explicitcons•10s ago

Perlin's Noise Algorithm

https://blog.jaysmito.dev/blog/02-perlins-noise-algorithm/
1•ibobev•44s ago•0 comments

Polymarket intends to challenge France's decision to block its website

https://www.reuters.com/legal/litigation/polymarket-intends-challenge-frances-decision-block-its-...
1•tartoran•51s ago•0 comments

The operational risk of AI coding agents in B2B SaaS

https://dev.jimgrey.net/2026/07/22/the-operational-risk-of-ai-coding-agents-in-b2b-saas/
1•mooreds•53s ago•0 comments

Building a Fast Lock-Free Queue in Modern C++ from Scratch

https://blog.jaysmito.dev/blog/04-fast-lockfree-queues/
1•ibobev•1m ago•0 comments

Design the Wave. Don't Just Ride It

https://alexoppenheimer.substack.com/p/design-the-wave-dont-just-ride-it
1•crescit_eundo•1m ago•0 comments

Smart, Safe, or Fast: Every conversational AI assistant picks two

https://pantsyr.dev/blog/smart-safe-or-fast-every-conversational-ai-assistant-picks-two/
1•nanoparticle•1m ago•0 comments

Scientists discover over 1,100 new marine species in landmark Ocean Census

https://oceancensus.org/press-release-scientists-discover-over-1100-new-marine-species-in-landmar...
1•speckx•1m ago•0 comments

The Pillars of an API Platform

https://launchany.com/the-pillars-of-an-api-platform/
1•mooreds•2m ago•0 comments

The Portable Way to Extract Date and Time from a File's Mtime in C++

https://www.sandordargo.com/blog/2026/07/22/extracting-datetime-from-mtime
1•ibobev•2m ago•0 comments

Airbus Full Scale Foldable Wing Extensions

https://www.airbus.com/en/newsroom/press-releases/2026-07-airbus-launches-new-flight-test-program...
1•r2sk5t•2m ago•0 comments

Not just development, distribution of software may change as well

https://antirez.com/news/170
2•sibellavia•3m ago•0 comments

Show HN: Receive.link – anyone can send you files encrypted to your passkey

https://receive.link/
1•neutrinoq•3m ago•1 comments

BLM proposes reopening 336k acres around Chaco Canyon to mineral leasing

https://www.koat.com/article/chaco-canyon-public-comment-period-opens-as-blm-proposes-reopening-3...
1•mooreds•4m ago•0 comments

A privacy-first macOS meeting-notes and writing app that runs on-device

https://github.com/bitwize-ai/Logue
1•westerosweb•4m ago•0 comments

The Airwaves Are Going on Sale Again. But Does the FCC Have the Right Goal?

https://thedailyeconomy.org/article/the-airwaves-are-going-on-sale-again-but-does-the-fcc-have-th...
1•NewCzech•4m ago•0 comments

The Light Flip Is the Stylish Dumb Flip Phone of Your Dreams

https://www.wired.com/story/light-flip-is-the-modern-stylish-dumb-flip-phone-of-your-luddite-dreams/
1•notpachet•6m ago•0 comments

Politician Count Binface Demands Sega Releases Shenmue 4

https://kotaku.com/count-binface-shenmue-4-sega-arcades-adele-nigel-farage-2000718341
1•robin_reala•6m ago•0 comments

AI Companies Are Buying Tons of Old Books Because They're Free of AI Slop

https://www.404media.co/ai-companies-are-buying-tons-of-old-books-because-theyre-free-of-ai-slop/
1•Brajeshwar•7m ago•0 comments

Show HN: Langy, an automated AI engineer (we gave it a robot body) [video]

https://langwatch.ai/blog/introducing-langy-your-automated-ai-engineer
4•jangletown•7m ago•0 comments

Show HN: A Sonos home-screen widget that talks directly to speakers over UPnP

https://play.google.com/store/apps/details?id=com.sonoswidget&hl=en_US
1•eyal4473•8m ago•0 comments

Show HN: I walk-forward tested classic trading setups. Several have no real edge

https://edgestacker.com/tools/library/
1•thepromptgenius•9m ago•0 comments

Show HN: Fund an agent once – prepaid USDC key for HTTP 402 tools (Solana)

https://vibes-coded.com/start
2•b_radford•9m ago•0 comments

Fujifilm X100 vs. Leica Q vs. Ricoh GR

https://map.simonsarris.com/p/fujifilm-x100-vs-leica-q-vs-ricoh
1•speckx•9m ago•0 comments

Show HN: Kernel optimization is obsolete. Just NPM install it

https://github.com/tensormux/kernel-skills
1•KRISH2832•10m ago•0 comments

Waymos cause "way mo" injuries per mile driven than for-hire vehicles in NYC

https://gothamist.com/news/are-waymo-robotaxis-actually-safer-than-nyc-uber-and-taxi-drivers
3•laserson•11m ago•1 comments

Which streaming service was that on again

https://www.timwehrle.de/blog/which-streaming-service-was-that-on-again/
3•weetii•13m ago•0 comments

Airtight – privacy-first crypto portfolio tracker,single HTML file, zero servers

https://airtight.sell.app/product/airtight-private-portfolio-tracker
1•AirTight•13m ago•0 comments

Backpropagation as Physical Relaxation: Exact Gradients in Finite Time

https://arxiv.org/abs/2602.02281
2•binyu•14m ago•0 comments

Trovio for Brands

https://brands.gotrovio.com/auth/signup
1•derrickshowers•15m ago•1 comments