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!

Show HN: Prisoners, German tank and 61 more puzzles, with simulations

https://mathparadoxes.com/en/
1•dmitrykudrenko•53s ago•0 comments

Show HN: Weeny.Cloud – A Linux server for your coding agent's apps

https://weeny.cloud/
1•isaacrolandson•1m ago•0 comments

Frontier quality at 1% of the cost: a production benchmark of LLM classifiers

https://airbnb.tech/ai-ml/frontier-quality-at-1-of-the-cost-a-production-benchmark-of-llm-classif...
1•eivarv•1m ago•0 comments

Ask HN: Is anyone running multi/always-on agents that don't cost a fortune?

1•abejora•3m ago•0 comments

TripleF

https://github.com/ehildt/tripleF
1•ehildt•3m ago•0 comments

I Built Fluxer

https://fluxer.com/blog/how-i-built-fluxer
1•n_plus_1_acc•5m ago•0 comments

Pro-Palestine protestors enter Microsoft datacenter site

https://www.reuters.com/technology/protesters-enter-microsoft-data-centre-site-amsterdam-2026-11-06/
2•dutchbart•5m ago•0 comments

Tesla wants its sworn Cybercab answers to NHTSA kept secret

https://electrek.co/2026/11/05/tesla-cybercab-nhtsa-sworn-answers-confidential/
2•cisc•5m ago•0 comments

Declarative Dragging

https://declarative-dragging.github.io/
1•mpweiher•7m ago•0 comments

Show HN: Lost and Fought – a 90s Style RTS – browser with multiplayer

https://lostandfought.com/
2•drzivil•11m ago•0 comments

Why tradwives are fleeing the movement: I can't undo my past

https://www.theguardian.com/lifeandstyle/2026/nov/04/why-tradwives-are-fleeing-the-movement-i-can...
3•makerdiety•11m ago•1 comments

Algorithm Visualizer

https://alg0.dev/
1•Brysonbw•12m ago•0 comments

DeepSeek Super Agent Just Killed All Agent Harnesses [video]

https://www.youtube.com/watch?v=3DklR44DHnM
1•nvmdbljstm•13m ago•0 comments

Lowvram: A CLI tool to run large AI models in low VRAM GPUs

https://soarhen.com/how-run-ai-in-low-vram/
1•henriquegogo•14m ago•0 comments

A once-controversial idea is advancing understanding of Parkinson's disease

https://www.nature.com/articles/d41586-026-03169-x
1•sohkamyung•19m ago•0 comments

Tesla Winding Down Production of Cybertruck, Musk Says

https://www.wsj.com/business/autos/tesla-winding-down-production-of-cybertruck-musk-says-89df7158
2•sebastian_z•20m ago•0 comments

GSoC 2026 Showcase

https://www.swift.org/blog/gsoc-2026-showcase/
1•frizlab•20m ago•0 comments

Getting traffic from aocr.org? It's ByteDance

https://tin.computer/blog/aocr-org-referrer-bot
1•dcastm•21m ago•0 comments

Vals AI found a critical safety and alignment issue in recent models

https://twitter.com/ValsAI/status/2118473836710760816
1•fscaramuzza•21m ago•0 comments

Salon, Pioneer of Digital Journalism Founded in 1995, Shuts Down

https://www.nytimes.com/2026/11/05/business/media/salon-online-magazine-shutters.html
1•bookofjoe•21m ago•1 comments

From the Vault to Your Library

https://www.ea.com/news/from-the-vault-to-your-library
1•mariuz•22m ago•0 comments

Why Bloat Is Still Software's Biggest Vulnerability

https://spectrum.ieee.org/lean-software-development
1•vanschelven•24m ago•1 comments

A Fake Job Interview Led to the $6.34B Binance Hack

https://jsdev.space/binance-hack-interview/
1•javatuts•24m ago•0 comments

A Mathematician Is Chasing Eclipses with Algorithms and Cameras

https://spectrum.ieee.org/2026-solar-eclipse
1•sohkamyung•24m ago•0 comments

A medieval map mystery may be solved

https://bigthink.com/strange-maps/antique-sources-for-portolan-charts/
1•sohkamyung•25m ago•0 comments

Apple's predictive text restrictions include 'Dictator Trump' and 'Sleepy Joe'

https://www.reuters.com/business/retail-consumer/apples-predictive-text-restrictions-include-dict...
4•ag8•25m ago•0 comments

Activists break through fences at Microsoft's data center site in Amsterdam

https://nos.nl/artikel/2638275-activisten-breken-door-de-hekken-van-terrein-datacenter-microsoft-...
1•hnsr•26m ago•0 comments

Tesla winds down Cybertruck production after years of poor sales in few markets

https://www.msn.com/en-us/technology/tech-companies/tesla-to-wind-down-cybertruck-production-afte...
8•PLenz•30m ago•3 comments

Enough Phone: A new small phone

https://enoughphone.com/
1•simon-am•30m ago•0 comments

Ask HN: How's your home-cooked software revolution going?

2•nihakue•31m ago•1 comments