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: Playing Ranked Rocket League on Apple Silicon (Obelisk)

https://github.com/Zagrios/Obelisk
1•Zagrios•26s ago•0 comments

The Part About the Machines

https://thepointmag.com/examined-life/the-part-about-the-machines/
1•internet_points•35s ago•0 comments

Beyond Hamming: Graywalk and XOR-Based Metric Spaces

https://lumramabaja.com/posts/beyond-hamming-graywalk-and-xor-based-metric-spaces/
1•irwt•35s ago•0 comments

Show HN: SAFi, OS sandboxing and deterministic policy gating for local AI agents

https://github.com/jnamaya/SAFi
1•jnamaya•3m ago•0 comments

Show HN: Create a system prompt tailored for how your mind works

https://writtenfor.me
1•mox-1•5m ago•0 comments

Show HN: LLM API prices, each with the quote, page and date it was read from

https://aisignalhq.com/api-pricing/
1•alvarolucero•6m ago•0 comments

AI Is looking to hack you don't be the victim

https://repocheck.app/
1•PatsTools•6m ago•1 comments

RISC isn't about instruction set cleanness (size or redundancy)

https://wareya.wordpress.com/2026/04/05/opinion-rant-risc-isnt-about-instruction-set-size/
1•arvyy•7m ago•0 comments

Ofcom announces UK hit 90% Gigabit availability in July 2026

https://www.thinkbroadband.com/news/ofcom-announces-uk-hit-90-gigabit-availability-in-july-2026
2•ksec•7m ago•0 comments

I regret buying the Onyx BOOX Color 7 Gen 2

https://gardinerbryant.com/i-regret-buying-the-onyx-boox-color-7-gen-2/
1•surprisetalk•7m ago•0 comments

Naval Architecture (2021)

https://ciechanow.ski/naval-architecture/
2•AlenaSato•9m ago•0 comments

Show HN: MCP Inspector Web, the MCP inspector that is a link

https://github.com/JM-Lab/mcp-inspector-web
1•hjm1980•9m ago•0 comments

Interwebs Intermaps – an art-history-style map of web design, 1991–2026

https://interwebs-intermaps.com/
1•ceciliafurlan•10m ago•0 comments

Chrome patches 21 critical vulnerabilities, Claude found 10

https://www.techzine.eu/news/security/146229/chrome-patches-21-critical-vulnerabilities-claude-fo...
2•choult•10m ago•0 comments

Earth just spent a full week above 2° C of warming for the first time

https://insideclimatenews.org/news/30112026/november-warmest-global-temperatures/
1•Aryon111•11m ago•0 comments

Tilia: The little tree that grew

https://markkarpov.com/post/tilia-the-little-tree-that-grew.html
1•ibobev•11m ago•0 comments

Master of Magic – An AmigaOS 68k port of a classic Microprose Strategy game

https://www.indieretronews.com/2026/12/master-of-magic-amigaos-68k-port-of.html
2•ibobev•12m ago•0 comments

Windows 11 on Arm for Rockchip RK3576 boards: open UEFI, Mali GPU driver

https://github.com/gahingwoo/woa-rk3576
1•milali•12m ago•0 comments

Ops Needs Friction

https://www.jeffgeerling.com/blog/2026/ops-needs-friction/
1•TanZeng•15m ago•0 comments

Show HN: EvenThen – Yet Another Timer

https://eventhen.pages.dev/
1•zerocinante•15m ago•0 comments

Database Zoo: pre-populated Docker images of OpenStreetMap regions and US states

https://www.baseshift.com/dbzoo
1•habeanf•16m ago•0 comments

AutoCAD-CS: Counter-Strike 1.6 running inside AutoCAD

https://github.com/mihonder/AutoCAD-CS/blob/staging/README.en.md
1•Diraan•16m ago•0 comments

VBulletin2Shell

https://vbulletin2shell.com/
2•dduarte•18m ago•0 comments

Billion-Scale Molecule Search Without Fingerprints or Embeddings

https://www.unum.cloud/blog/search-billion-molecules-without-embeddings
1•ashvardanian•20m ago•1 comments

Erector Set Inventor Inspired Kids' Inner Engineers

https://spectrum.ieee.org/erector-set-inventor
1•rbanffy•21m ago•0 comments

Firefox OS

https://en.wikipedia.org/wiki/Firefox_OS
1•ksec•21m ago•0 comments

Asbestos in the air: Russian strikes spark fears of hidden health crisis

https://www.bbc.com/news/articles/cmedqgwegjzqo
2•osivertsson•21m ago•0 comments

AWS Greenlight Uses Formal Logic to Constrain AI Agents

https://spectrum.ieee.org/aws-greenlight-formal-logic-agents
1•rbanffy•22m ago•0 comments

Advent of Code 2026 Solutions in LLVM IR and AMD64 ASM

https://github.com/rfgplk/aoc26
1•rfgplk•22m ago•0 comments

Google prepares Gemini 4 Live for public release this week

https://cryptobriefing.com/google-gemini-4-live-public-release/
1•yackrru•22m ago•0 comments