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!

Trump announces a deal with Iran has been reached [video]

https://www.youtube.com/watch?v=-FWZLUs-hSQ
2•Bender•6m ago•0 comments

OpenAI Partner Network

https://openai.com/index/introducing-openai-partner-network/
2•ilreb•6m ago•0 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
1•teleforce•8m ago•0 comments

The Agentic Development Lifecycle

https://www.voodootikigod.com/series/adlc
3•voodootikigod•13m ago•0 comments

Data Brokers: Unregulated Forensic Analysis

https://nooneshappy.com/article/data-brokers-unregulated-forensic-analysis/
1•njrc•14m ago•0 comments

The Joys of NMAP (2011)

https://theserpent.co.uk/posts/the-joys-of-nmap/
1•Eridanus2•16m ago•1 comments

Cosmos Claw: Hack on a Boat in SF (Nvidia Cosmos Based Social Media Manager)

https://github.com/manas15/cosmos-claw
1•manas95•17m ago•0 comments

Neurophos OPU

https://www.neurophos.com
1•peter_d_sherman•24m ago•0 comments

Show HN: My developer portfolio – web apps, dev tools and open-source projects

https://p32929.github.io
1•heliskyr2•25m ago•0 comments

Re-Reading Who Moved My Cheese

https://thuva4.com/blog/re-reading-who-moved-my-cheese/
1•thuva4•26m ago•0 comments

Show HN: Coding agent with algebraic memory (VSA) instead of RAG

https://github.com/vitaliyfedotovpro-art/raidho
2•astrumverum•30m ago•0 comments

ENS Domains .eth .box

https://ens.domains
1•modinfo•35m ago•0 comments

Show HN: Wtdb – give every Git worktree its own database

https://github.com/willhackett/wtdb
1•whh•40m ago•0 comments

Water Fluoridation in Australia

https://en.wikipedia.org/wiki/Water_fluoridation_in_Australia
1•nomilk•41m ago•0 comments

Tlbic: A shared prompt for humanity and the future of ASI

1•michikawa59•47m ago•0 comments

Mike Stonebraker: Disagreeing with Google, Postgres and Future Problems [video]

https://www.youtube.com/watch?v=YPObBOwIrHk
1•teleforce•47m ago•0 comments

Oracle Cloud might start charing for their forever-free instances

https://old.reddit.com/r/oraclecloud/comments/1u4lzkk/new_free_tier_limits_confirmed_by_oracle_su...
2•bel8•51m ago•1 comments

Show HN: A-C Coupling – Deterministic Data Decomposition in O(n) with No Search

https://zenodo.org/records/20693980
2•A19dammer91•52m ago•0 comments

From Hookswitch to Grave

https://computer.rip/2026-06-14-hookswitch-to-grave.html
1•K7PJP•52m ago•0 comments

Terminal UIs Are an Abomination. AI Needs Better UX

https://medium.com/@balajibal/terminal-uis-are-an-abomination-so-are-chatbots-ai-needs-better-ux-...
2•rafaepta•53m ago•1 comments

Image Toolbox (T8RIN)

https://github.com/T8RIN/ImageToolbox/
2•unexpectedVCR•55m ago•1 comments

People quit because reality doesn't match the movie they created in their heads

https://timesofindia.indiatimes.com/technology/tech-news/quote-of-the-day-by-nvidia-ceo-jensen-hu...
2•teleforce•56m ago•1 comments

How Nvidia Dominates AI:11 Engineering Moves [video]

https://www.youtube.com/watch?v=vzM8mv1t_zM
2•skpothana•1h ago•0 comments

US and Iran announce deal to end military operations

https://www.bbc.com/news/live/cj0grpyg4v1t
47•vermilingua•1h ago•116 comments

Show HN: ItchCord – Discord Rich Presence for itch.io games

https://itchcord.vrma.dev
1•shredswap•1h ago•0 comments

Show HN: Morning Stack finds real job openings, tweaks resume and cover letter

https://morningstack.app/demo/
2•hillj23•1h ago•1 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/
2•dcre•1h ago•1 comments

Show HN: Grade your growth rate using Paul Graham's two-number math

https://www.brutal-audit.com/growth
1•smakosh•1h ago•0 comments

Telescope Rancher Who Manages Telescopes Each Night on a Texas Ranch

https://www.techeblog.com/telescope-rancher-texas-ranch/
2•mhb•1h ago•0 comments

Your ePub Is Fine. Kobo Disagrees. Blame Adobe

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
68•sohkamyung•1h ago•21 comments