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!

Proposing a new lower bound for n=17 square packing problem

https://twitter.com/samb_tech/status/2085158495569977636
1•sam-bee•1m ago•1 comments

The Planck Scale with Countable Measure for All Quantities of Length and Time

https://vixra.org/abs/2212.0215
1•lioeters•3m ago•0 comments

The Mentor: How Roy Cohn Taught Donald Trump Everything

https://www.newyorker.com/magazine/2026/08/10/roy-cohn-profile
1•petethomas•5m ago•0 comments

Show HN: Clank Cut – Let your coding agent make video walkthroughs

https://www.clankcut.com
1•hamzers•5m ago•0 comments

TechCrunch Launch: Outernet turns your scrolling into IRL adventuring

https://techcrunch.com/2026/08/03/outernet-turns-your-saved-posts-into-real-world-adventures/
2•rawandferal•6m ago•0 comments

Prime Agent a general-purpose coding harness. On ARC-AGI-3 scored 95.5%

https://x.com/PrimeIntellect/thread/2085087002769379520
1•mromanuk•9m ago•0 comments

Relativistic Algebra over Finite Ring Continuum

https://doi.org/10.3390/axioms14080636
2•lioeters•10m ago•0 comments

How to build an agent to automate your on-call

https://12gramsofcarbon.com/p/agentics-how-we-use-background-agents
1•theahura•10m ago•0 comments

Symbolics Genera now available free for non-commercial use (inv-only early beta)

https://hachyderm.io/@gmpalter/117044268951603975
2•self•11m ago•0 comments

Dspy.Flex lets optimizers rewrite the code for faster, cheaper, better programs

https://www.cmpnd.ai/blog/let-the-model-write-the-code.html
1•dbreunig•11m ago•0 comments

The Orange Cloud Report – Ratings for Cloudflare Services

https://orangecloud.report/
1•gurjeet•15m ago•0 comments

Three Times I Measured Nothing

https://medium.com/@alanscottencinas/three-times-i-measured-nothing-72023fc7d73f
1•encinas88•16m ago•0 comments

Liberals Are Now Fighting a Two-Front War

https://www.theatlantic.com/ideas/2026/08/michigan-abdul-el-sayed-election/688181/
3•donsupreme•16m ago•1 comments

Why Are Birthrates Down? Two New Studies Point to Phones

https://www.nytimes.com/2026/06/08/us/iphone-birthrate-decline-studies.html
1•hsuduebc2•17m ago•1 comments

Rendering 100k sensor readings with LTTB

https://aranajhonny.github.io/writing/sensor-chart-lttb.html
1•akatsutki•19m ago•0 comments

The Live Shopping App Where Some People Bid Until They're Broke

https://www.wsj.com/business/retail/whatnot-live-shopping-app-48b67987
2•JumpCrisscross•20m ago•0 comments

DHS Wants Protesters' Signal Group Chats

https://www.wired.com/story/dhs-wants-protesters-signal-group-chats/
7•sbulaev•21m ago•1 comments

WaitPerk: sponsors in your Claude Code status line, you get paid

https://waitperk.com/
1•SamPentz•25m ago•0 comments

Apple Vision Pro as a wearable display for endoscopic [surgical procedure]

https://www.sciencedirect.com/science/article/pii/S2950253526000651
1•mch82•25m ago•0 comments

Semantic Thermodynamics – 79% LLM token reduction via narrative constraints

https://github.com/tauansloboda/semantic-thermodynamics
1•tauanvinicius•27m ago•0 comments

Synthetic Aperture Radar (SAR) Imaging Using the MIT Laptop Based Radar (2011)

https://ocw.mit.edu/courses/res-ll-003-build-a-small-radar-system-capable-of-sensing-range-dopple...
1•joebig•28m ago•0 comments

Getting Started with Muse Code: CLI Commands, Syntax and Purpose

https://qainsights.com/getting-started-with-muse-code-cli-commands-syntax-and-purpose/
1•qainsights•29m ago•0 comments

Show HN: CityEdit – Open-source map for voting on NYC street changes

https://cityedit.org/m/nyc-proposals
1•edbltn•30m ago•0 comments

Joshua Stein – On AI

https://jcs.org/2026/07/23/ai
1•Naac•32m ago•0 comments

Uncanny ads and partisan chatbots: AI toys with San Francisco politics

https://missionlocal.org/2026/08/uncanny-ads-and-partisan-chatbots-ai-toys-with-san-francisco-pol...
1•DesaiAshu•32m ago•0 comments

SpaceX claims Starlink Mobile will be better than AT&T, T-Mobile, and Verizon

https://arstechnica.com/tech-policy/2026/08/spacex-claims-starlink-mobile-will-be-better-than-att...
1•fraXis•34m ago•0 comments

Meta AI model hacks another company during testing

https://www.reuters.com/technology/metas-ai-model-hacked-another-company-during-testing-informati...
2•chirau•34m ago•1 comments

Show HN: Humor Arena – Which frontier model is funniest?

https://laugh.so/benchmark/
3•killiandunne1•40m ago•3 comments

Linux Processes: Threads and Concurrency

https://labs.iximiuz.com/tutorials/linux-processes-threads-concurrency-3302b677
1•birdculture•41m ago•0 comments

Banks to offload $15B of debt for Anthropic data centre backed by Google

https://www.ft.com/content/c492ce6b-483b-4196-8f2a-9bd1afda92d3
4•petethomas•43m ago•0 comments