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•6mo 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!

Pathology in the Hundred Acre Wood: a neurodevelopmental perspective

https://pmc.ncbi.nlm.nih.gov/articles/PMC80580/
1•andrewstetsenko•58s ago•0 comments

Common snack enhanced memory and brain vascular function in a 16-week trial

https://www.psypost.org/this-common-snack-enhanced-memory-and-brain-vascular-function-in-a-16-wee...
1•DrierCycle•58s ago•0 comments

The Atom of Intelligence (2023)

https://blog.piekniewski.info/2023/04/16/the-atom-of-intelligence/
1•DevilMadeMeDoIT•1m ago•0 comments

Cyber Monday Deals 2025

https://github.com/punkpeye/awesome-cyber-monday-2025
1•smokybay•2m ago•0 comments

Ethiopian Volcano Erupts for First Time in Nearly 12K Years of Records

https://www.smithsonianmag.com/smart-news/ethiopian-volcano-erupts-for-the-first-time-in-nearly-1...
1•pseudolus•3m ago•0 comments

40 Questions to ask yourself every year (2022)

https://twitter.com/kepano/status/1602773345627348993
1•jger15•5m ago•0 comments

Operation Northwoods

https://en.wikipedia.org/wiki/Operation_Northwoods
1•TomWhitwell•6m ago•0 comments

Show HN: I've created BlogLab to help grow my SaaS automatically

https://bloglab.app
1•robby1110•9m ago•0 comments

Ask HN: What language are you using to do AOC in?

1•sonderotis•15m ago•0 comments

Show HN: Demo Scope – Record/Stream iOS Web Demos with Face Cam and Touches

https://apps.apple.com/us/app/demo-scope/id6755395174
1•admtal•18m ago•0 comments

Show HN: Gossipdle – Daily Logic Puzzle with a New Timed Challenge Mode

https://www.gossipdle.com
1•Qpphello•23m ago•0 comments

Trump's Sudan peace push met with skepticism: 'They don't see a reason to stop'

https://thehill.com/policy/international/5624751-trump-push-sudan-ceasefire/
1•mhb•25m ago•0 comments

A metal integration method for manufacturing integrated devices

https://patents.google.com/patent/CN119301758A/en
1•taubek•28m ago•0 comments

Show HN: MGCoupon – Cashback and coupons in one place for major brands

https://www.mgcoupon.com/
1•RobertChin•30m ago•0 comments

Show HN: Instant Calculus: frozen, function-agnostic, arbitrary-precision GPLv3

https://github.com/Purrplexia/LettersToMyHeroes
1•purrplexia•30m ago•0 comments

Show HN: RetroAssembly – Retro game library built for web browsers

https://retroassembly.com/
2•arianrhodsand•32m ago•0 comments

Show HN: Local AI that turns your computer activity into searchable memories

https://www.waylight.ai/
1•nate_rw•32m ago•0 comments

Rust Polars Support for EventSourcingDB Has Landed

https://github.com/thenativeweb/eventsourcingdb-client-rust
1•goloroden•32m ago•0 comments

The Battle over Africa's Great Untapped Resource: IP Addresses

https://www.wsj.com/business/telecom/africa-ip-addresses-china-3e543b9d
2•ChrisArchitect•33m ago•1 comments

Show HN: Speculative Decoding from Scratch in PyTorch (2.8x CPU Speedup)

https://github.com/kunal51107/Speculative-decoding-engine
1•kunal51107•33m ago•1 comments

Testing Kirkland Roasted Seaweed Snack for Lead, Cadmium, Mercury, & Arsenic

https://tamararubin.com/2025/11/kirkland-signature-organic-roasted-seaweed-snack/
2•mhb•37m ago•0 comments

MIDI Remote Panel for Multi-FX Sony DPS-V77

https://github.com/Tonfisch/Editor-for-Sony-DPS-V77
1•tonfisch•40m ago•0 comments

Wonderland, Incorporated: Marketing the national parks

https://worldhistory.substack.com/p/wonderland-incorporated
1•crescit_eundo•41m ago•0 comments

Show HN: Supabase Testcontainers for Rust

https://github.com/j7nw4r/supabase_testcontainers
2•tmpsterwfwegw•43m ago•0 comments

Show HN: ConceptViz – Generate STEM diagrams for teachers from simple prompts

https://conceptviz.app
1•zane0924•43m ago•0 comments

ChatGPT 3 turned 3 today. It still hasn't come close to meeting expectations

https://garymarcus.substack.com/p/three-years-on-chatgpt-still-isnt
4•garymarcus•44m ago•1 comments

Traveling Neighborhoods

https://supernuclear.substack.com/p/traveling-neighborhoods
1•surprisetalk•44m ago•0 comments

"Yo Mama" Joke

https://en.wikipedia.org/wiki/%22Yo_mama%22_joke
1•surprisetalk•44m ago•0 comments

What Makes an Experiment Beautiful?

https://www.asimov.press/p/beautiful-experiments
1•surprisetalk•45m ago•0 comments

Tinned Fish Frenzy

https://whatsworking.substack.com/p/tinned-fish-frenzy
2•surprisetalk•45m ago•0 comments