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!

Pakistan's first astronaut goes to space aboard Chinese rocket

https://www.bbc.com/news/live/cmd71g9lzg1gt
1•motionlessveloc•31s ago•0 comments

Show HN: Vibe Linux

https://mkornreich.me/projects/vibe-linux/
1•enjoyyourlife•1m ago•0 comments

Show HN: PDFTransform: Client-side PDF text editor in browser RAM (zero uploads)

https://pdftransform.pages.dev/edit-pdf-text
1•Digital_alchemi•1m ago•0 comments

An attempt to make the proof of the Riemann Hypothesis human readable

https://github.com/jimjamzola/RH-Alpoge-Reconstruction/tree/main
1•theanonymousone•4m ago•0 comments

Transformation of Creative Platforms in the Age of Platform Capitalism

https://medium.com/@smoking2man/transformation-of-creative-platforms-in-the-age-of-platform-capit...
2•Aldus551•5m ago•0 comments

Longer battery storage durations reshape US power markets

https://www.reuters.com/business/energy/longer-battery-storage-durations-reshape-us-power-markets...
1•toomuchtodo•5m ago•0 comments

Series F

https://sierra.ai/blog/series-f-30b
1•doppp•7m ago•0 comments

Illustrated Sourcebook of Mechanical Components

https://archive.org/details/Illustrated_Sourcebook_Of_Mechanical_Components
2•toomuchtodo•12m ago•0 comments

Abolish Lock Poisoning

https://lucumr.pocoo.org/2026/11/25/poisoning/
1•Tomte•16m ago•0 comments

Treasury CIO is too busy vibecoding instead of doing his job #147

https://github.com/samcorcos/legatum/issues/147
5•aanet•19m ago•1 comments

Selling Sentrint.com, a security scanner for apps (15% commission, $2,600 floor)

https://sentrint.com/
1•heythere47•20m ago•0 comments

Which model in OpenCode is better at reasoning?

1•pydevgo•21m ago•0 comments

US court convicts China's Huawei for fraud, conspiring to steal trade secrets

https://www.cnn.com/2026/11/24/china/china-huawei-iran-conviction-intl-hnk
3•1659447091•22m ago•0 comments

GTA6 Recomp: Unofficial tracking the effort to bring GTA 6 natively to PC

https://gta6recomp.com/repo
1•rib3ye•25m ago•0 comments

Assessing carbon emissions and energy consumption of US hyperscale data centres

https://www.nature.com/articles/s41893-026-01985-7?trk=article-ssr-frontend-pulse_little-text-block
2•latentframe•26m ago•0 comments

Y Combinator: How to Build a Jet Engine from Scratch [video]

https://www.youtube.com/watch?v=-ieJwYq4j-o
1•ksec•27m ago•0 comments

Show HN: I make open-source flight test stand

https://github.com/crocone/flying-test
2•keepplain•28m ago•0 comments

Lydian Chromatic Concept of Tonal Organization

https://en.wikipedia.org/wiki/Lydian_Chromatic_Concept_of_Tonal_Organization
1•benbreen•29m ago•0 comments

Show HN: Simulusion – DreamerV3, IRIS, Genie and other world models in PyTorch

https://github.com/ParamThakkar123/simulusion
2•paramthakkar•32m ago•0 comments

Type errors cost our coding agents under 1% of their time

https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their...
2•ksec•34m ago•0 comments

Native Shell v0.7.0 Released

https://nsh.dev/releases/
1•ksec•36m ago•0 comments

In GTA VI, every stolen car is a music discovery machine

https://www.npr.org/2026/11/24/nx-s1-6052997/gta-vi-radio-music-discovery
2•blinding-streak•36m ago•0 comments

US Army plans to detonate an Iowa ammo plant, leading to airbourne lead plume

https://www.centredaily.com/news/nation-world/national/article318231892.html
2•illidan1000•39m ago•2 comments

Show HN: U.S. Interstate Weather

https://www.interstateweather.com/
10•projproj•40m ago•2 comments

Indian university named world’s best building

https://www.architectsjournal.co.uk/news/daring-and-confident-indian-university-named-worlds-best...
2•geox•42m ago•0 comments

Show HN: Old Nvidia and ATI tech demos, running again in the browser

https://gpu-demo-gallery.pages.dev/
6•arkits•44m ago•1 comments

Taking over US Treasury subdomains for $3 each

https://www.intruder.io/research/taking-over-us-treasury-subdomains-for-3-each
2•negura•47m ago•0 comments

Quad9 shuts down DNS service in France after piracy-blocking order – LavX News

https://news.lavx.hu/article/quad9-shuts-down-dns-service-in-france-after-piracy-blocking-order
1•abdelhousni•50m ago•0 comments

Getting Older in Tech (2016)

https://corgibytes.com/blog/2016/12/06/getting-old-er-in-tech/
1•zenincognito•55m ago•0 comments

The last time robots came for our jobs [video]

https://www.youtube.com/watch?v=yXlsaaFshYk
1•Animats•56m ago•1 comments