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!

GM to lift factory automation 20% by 2028, but nobody has said 20% of what

https://bryancharles.org/2026/11/24/gm-factory-automation-20-percent-2028/
1•SpareKey•2m ago•0 comments

Show HN: Benchmark of AI decision models on systematic-review screening

https://github.com/SmartMobileHouse/clinical-trial-decision-lab
1•jpietrus1•4m ago•0 comments

AI's New Memory – Beyond HBM and SRAM, Without EUV

https://keplercompute.com/act-one
1•peter_d_sherman•4m ago•1 comments

Beszel – Simple, lightweight server monitoring

https://beszel.dev/
1•janandonly•5m ago•0 comments

Show HN: Middle Word

https://pzlgames.com/games/middleword/
1•pompomsheep•8m ago•0 comments

South Africa Launches $5.9M AI Startup Fund

https://www.forbesafrica.com/current-affairs/2026/11/25/south-africa-launches-5-9-million-ai-star...
1•Ratelman•9m ago•0 comments

Disconnected and paid twice: Europe's costly fragmentation in space

https://www.kielinstitut.de/media/news/disconnected-and-paid-twice-europes-costly-fragmentation-i...
1•geox•9m ago•0 comments

Persistence for the Masses: RRB-Vectors in a Systems Language

https://dl.acm.org/doi/epdf/10.1145/3110260
1•elcritch•10m ago•0 comments

AI Coding Agents Shape Software Architecture

https://arxiv.org/abs/2604.04990
1•andsoitis•11m ago•0 comments

Reverse-Engineering Krillion's Autocorrect

https://parv.bearblog.dev/krillion/
1•parvb•14m ago•0 comments

Shrink-anything finds it, deletes it, and runs your own tests after every cut

https://github.com/EL4CTEO/shrink-anything
1•otobrglez•15m ago•0 comments

MMAP Behind the Scenes in a Database

https://infino.ai/blog/mmap-in-a-database/
2•gilfyole•16m ago•1 comments

AI-Driven Terraform: Move Fast Without Losing Control

https://newbmiao.github.io/what-matters-in-aiops.html
1•newbmiao•16m ago•0 comments

5D Optical Data Storage

https://en.wikipedia.org/wiki/5D_optical_data_storage
1•peter_d_sherman•17m ago•0 comments

Marvell Bravera SC6 Doubles Gen5 Speeds as Optical Memory Reaches 32TB

https://www.storagereview.com/news/marvell-bravera-sc6-doubles-gen5-speeds-as-optical-memory-reac...
1•peter_d_sherman•17m ago•0 comments

3D map of every land parcel and building in France

https://cadastre.land/
1•rinmo•21m ago•0 comments

Encrypted traffic interception targeting XMPP messaging service (2023)

https://notes.valdikss.org.ru/jabber.ru-mitm/
2•pelasaco•22m ago•0 comments

Peek at the Chinese Electric Cars Headed for Canada

https://www.nytimes.com/2026/11/21/world/canada/carney-china-electric-vehicles-tariffs.html
1•Alien1Being•23m ago•0 comments

US approves SpaceX plan to send a million data satellites to space

https://www.bbc.com/news/articles/cwp836l8n1jgo
3•tosh•24m ago•1 comments

Effective Climate Change Solutions for a Sustainable Future

https://www.kali.org/
1•camerontrever•27m ago•0 comments

JetBrains finds agents may cheat with open source

https://www.theregister.com/devops/2026/11/25/jetbrains-finds-agents-may-cheat-with-open-source/5...
2•galaxyLogic•30m ago•0 comments

Keeping Watch – What's in a Day's Work at Canada's Northernmost Fire Tower?

https://www.trinamoyles.com/field-notes/keeping-watch-dawson-fire-tower
1•mindracer•31m ago•0 comments

PostHog's MCP SDK asks agents to explain why they call each tool

https://posthog.com/docs/mcp-analytics/intent
1•akshay2603•35m ago•1 comments

HumanFish: Predicting Who Wins a Human Chess Game

https://humanfish.vercel.app/methodology
3•oli5679•35m ago•0 comments

Netherlands Internet Status

1•nobeh•40m ago•2 comments

Show HN: Best Black Friday SaaS Deals (Mega List)

https://www.blackfridaydeals.directory/
2•bfdd•43m ago•0 comments

Ask HN: Best Gmail Alternative (looking for an excellent spam filter)

1•ethor•46m ago•0 comments

Open letter asking the EU for real browser competition on iOS

https://action.open-web-advocacy.org/
2•DavideNL•50m ago•0 comments

$140k in debt to Google cloud due to AI token usage. any ideas?

1•ro-han_solo•51m ago•2 comments

Forty-One Years at Sea

https://www.projectnothing.ai/essays/forty-one-years-at-sea
1•erikrothoff•52m ago•0 comments