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: Bullet Script (bs) – a Lisp(y) VM for shmumps

http://bs.ell.dev/
1•ellg•14s ago•0 comments

O.J. Simpson, a Secret Informant and a Decades-Old Mystery

https://www.nytimes.com/2026/10/18/us/oj-simpson-ippolito-informant-accomplice.html
1•jgalt212•18s ago•0 comments

Vizen – Open-source overlays for Windows, crop any window over your game

https://github.com/kalinvisuals/VIZEN
1•kalinvisuals•35s ago•0 comments

My Favorite Restaurant Served Gas (2023)

https://bittersoutherner.com/feature/2023/my-favorite-restaurant-served-gas-kate-medley-kiese-lay...
1•wmchen•38s ago•0 comments

Monthly Roundup #47: October 2026

https://thezvi.substack.com/p/monthly-roundup-47-october-2026
1•paulpauper•59s ago•0 comments

Top Mathematician Announces New Institute for A.I. Safety

https://www.nytimes.com/2026/09/08/science/jacob-tsimerman-math-ai-safety.html
1•paulpauper•1m ago•0 comments

OpenAI's blockbuster math proof isn't what you think it is

https://www.scientificamerican.com/article/openais-blockbuster-navier-stokes-proof-isnt-what-we-t...
1•tibbar•3m ago•0 comments

United's CEO Says It Should Cost More Not to Sit in the Middle Seat

https://www.nytimes.com/2026/10/18/business/scott-kirby-united-airlines.html
1•cwwc•4m ago•0 comments

VMMouse for NT 3.x: QEMU/VMware mouse integration driver

https://github.com/rhargreaves/vmmouse-nt3
1•kiyouta•6m ago•0 comments

Netflix Lays Off About 6% of Staff in Biggest Job Cuts Since 2022

https://www.wsj.com/business/media/netflix-eliminates-about-6-of-staff-in-biggest-cuts-since-2022...
4•corvad•6m ago•2 comments

Show HN: Keel – One event-sourced context graph for all your agents

https://github.com/angelkurten/keel
1•angelkurten•16m ago•0 comments

Consumer apprehension grows as US retailers adopt AI-assisted pricing tools

https://apnews.com/article/ai-prices-dynamic-customers-technology-64c446cd117d3be664de4ab570fb9857
2•geox•16m ago•1 comments

Leviathan LLM Inference

https://github.com/CuppaTea1983/Leviathan
2•michaelrickynea•17m ago•1 comments

Ask HN: A plea to help me help my father

6•10917887•19m ago•1 comments

Mikhail-Who?

https://physicsworld.com/a/mikhail-who/
1•Eridanus2•20m ago•0 comments

A commodity price tracking website with a few fun tools

https://www.commoditywatch.net
1•CommodityWatch•23m ago•1 comments

Beating Warcraft III's insane AI with self-play reinforcement learning on one PC

https://warlock.ai/blog/warcraftsim-1/
1•nawtora•24m ago•0 comments

Show HN: DebtShark – Consumer Legal Defense and Debt Settlement Workstation

https://boredpolymath.github.io/debtshark/
1•boredpolymath•25m ago•0 comments

Show HN: Lungo Generates Rust, Python, from Lean Proof Source

https://machinefabric.com/lungo/
1•joeharshamshiri•25m ago•1 comments

LLM01: 2025 Prompt Injection

https://genai.owasp.org/llmrisk/llm01-prompt-injection/
1•joebig•28m ago•0 comments

Show HN: Dieline generator for packaging (type the size, get the drawing)

https://die-lines.com/
1•timohin•29m ago•0 comments

US threatens Europe over Starlink restrictions

https://www.ft.com/content/d1e28d93-8574-4a46-946a-b261c401d6fa
13•mraniki•31m ago•7 comments

Two Mac Studios Are Not One 1 TB Computer

https://duruldalkanat.medium.com/two-mac-studios-are-not-one-1-tb-computer-abba6561e73c
1•durul•32m ago•0 comments

The Leap Second Has Been Canceled

https://www.nytimes.com/2026/10/16/science/leap-second-abolished-vote.html
1•kmohr•34m ago•0 comments

Scholars conclude 'beyond doubt' that Shakespeare was main author of Edward III

https://www.theguardian.com/culture/2026/oct/18/scholars-conclude-beyond-doubt-that-shakespeare-w...
3•prmph•34m ago•0 comments

Aircraft gyroscopic instruments modeled from M series MacBook IMU

https://github.com/photon-cat/gyro-instruments-mac
1•photoncat•34m ago•0 comments

Neurastheniacc: LLM-based C->WASM compiler you didn't need

https://github.com/vivshaw/neurastheniacc
1•cpeterso•35m ago•0 comments

Follow the Money Database – See who funds your congressperson

https://helyn.com/follow-the-money
3•cpobuda•38m ago•0 comments

Flock camera locations revealed on MapQuest's new Surveillance Layer

https://www.tomshardware.com/software/maps/flock-camera-locations-revealed-on-mapquests-new-surve...
2•CharlesW•40m ago•1 comments

France's Appetite for 'Magic Money' Has Turned into a Debt Bomb

https://www.wsj.com/world/europe/france-debt-bonds-spending-c7981557
2•donsupreme•40m ago•0 comments