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!

Hegemonic Logic

https://mattiasforsgren.substack.com/p/hegemonic-logic
1•thunderbong•37s ago•0 comments

A signed receipt that cannot name its own payment

https://tokenizen.nl/en/notes/a-signed-receipt-that-cannot-name-its-own-payment
1•Bugintelligence•1m ago•0 comments

Cash or Comfort? How LLMs Value Your Inconvenience

https://cacm.acm.org/research/cash-or-comfort-how-llms-value-your-inconvenience/
1•njrc•1m ago•0 comments

Dutch Police Seize Italian Internet Provider's Server at US Request

https://circleid.com/posts/dutch-police-seize-italian-internet-providers-server-at-us-request
1•speckx•4m ago•0 comments

Perplexity open-sources SPACE, the sandbox platform behind Computer

https://www.perplexity.ai/hub/blog/open-sourcing-space
1•kavith•4m ago•0 comments

Winning ClickBench with self-improving agent fleet

https://intentlab.ai/blog/an-agent-fleet-on-clickbench
1•zX41ZdbW•6m ago•0 comments

Noctalia Wayland Desktop Shell

https://noctalia.dev
1•harel•7m ago•0 comments

Show HN: ReliaMesh – Open-source reliability monitoring for AI agents

https://github.com/PrefilerLabs/reliamesh
1•remotedevkaran•7m ago•0 comments

Knowledge Bus: An Unlikely Idea to Fix Knowledge Work

https://blog.sterlingfreeman.net/posts/knowledge-bus-an-unlikely-idea-to-fix-knowledge-work/
1•alwaysDrafting•7m ago•0 comments

Did Ente Locker copy my code without attribution?

https://www.fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
1•Vinnl•10m ago•0 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
3•speckx•11m ago•2 comments

Microplastics in water aren't inert and make damaging chemicals on their own

https://arstechnica.com/science/2026/10/microplastics-in-water-arent-inert-and-make-damaging-chem...
1•PaulHoule•12m ago•0 comments

TypeScript Types Declarations for WebMCP

https://github.com/webmachinelearning/webmcp-types
1•qainsights•12m ago•0 comments

PwnEscape: Guest-to-Host KVM Escape (CVE-2026-99999)

https://pwn.ai/blog/pwnescape
2•chillax•12m ago•0 comments

Matthew Green: "take down public firmware images for critical infrastructure"

https://twitter.com/matthew_d_green/status/2110808645319491606
1•jbegley•14m ago•0 comments

Thirteen Years, Charted

https://www.ajwaxman.com/writing/thirteen-years-charted
1•ajwaxman•16m ago•0 comments

The Problem Didn't Change. Who Has It Did

https://blog.matterbeam.com/the-problem-didnt-change-who-has-it-did/
1•mikepk•17m ago•0 comments

A deep dive into LangChain and LangGraph

https://flaviocopes.com/langchain-langgraph/
1•karakoram•20m ago•0 comments

How to Use Jev with Claude Code, Codex and Cursor

https://flaviocopes.com/jev-coding-agents/
1•karakoram•20m ago•0 comments

Open-source self-hosted bot protection without CAPTCHAs

https://github.com/humansgate/gate
1•codablech•21m ago•0 comments

Analysis of artificial deranking of front page HN submissions

https://news.social-protocols.org/stats?id=50103000
3•laimewhisps•22m ago•0 comments

How Codex Happened

https://every.to/p/how-codex-happened
1•dshipper•22m ago•0 comments

SlopCodeBench 10/2026 – Opus 5.5, Astra wins overall, xhigh considered harmful

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
1•dhorthy•23m ago•0 comments

Cicada: Sub-ms Go Zero-Trust gateway and gVisor firewall for AI agents Apache 2

https://github.com/affinity-ops/OS-Cicada
1•affinity-Ops•23m ago•0 comments

SGLang – High-performance serving framework for LLM's and multimodal models

https://github.com/sgl-project/sglang
1•peter_d_sherman•24m ago•0 comments

How is AI-MedTech in India regulated?

https://www.thehindu.com/sci-tech/health/how-is-ai-medtech-in-india-regulated/article71559283.ece
1•thisislife2•26m ago•0 comments

Show HN: HireReady, interview prep with spaced repetition and AI voice mocks

https://imhireready.com
1•purplegumdropz•26m ago•0 comments

Scientists vote to end leap seconds

https://www.scientificamerican.com/article/scientists-vote-to-end-leap-seconds-redefining-how-the...
1•tosh•28m ago•0 comments

Build an agent harness from scratch to pass Ian Goodfellow's intelligence test

https://notesbylex.com/building-an-agent-harness-from-scratch
1•lexandstuff•29m ago•0 comments

CSV import performance of Scriptella/JDBC and csvsql on PostgreSQL and MariaDB

https://github.com/scriptella/scriptella-benchmarks
1•ejboy•30m ago•1 comments