frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•7mo 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!

AI and Beauty

https://salon.syshuman.com/
1•KadirErturk•1m ago•0 comments

Agent Deck

https://github.com/asheshgoplani/agent-deck
1•handfuloflight•4m ago•0 comments

Consider a Nix Flake for your windows-rs Project

https://lgug2z.com/articles/consider-a-nix-flake-for-your-windows-rs-project/
2•todsacerdoti•10m ago•0 comments

Pixel Art Tutorials

https://saint11.art/blog/pixel-art-tutorials/
1•sssilver•11m ago•0 comments

Discussing Waterworks, Stanley Greenberg's Photos of NY's Hidden Water System [video]

https://www.youtube.com/watch?v=HE_3l0ouiig
1•toomuchtodo•11m ago•1 comments

Vibe Coding for CTOs: The Real Cost of 100 Lines of Code

https://rocketedge.com/2025/12/29/vibe-coding-for-ctos-the-real-cost-of-100-lines-of-code-ai-agen...
1•jiripik•12m ago•0 comments

Instancio: A Java library for automating data setup in unit tests

https://www.instancio.org/
1•mrwolf•12m ago•0 comments

Shai Hulud strikes again – The golden path

https://www.aikido.dev/blog/shai-hulud-strikes-again---the-golden-path
1•gpi•14m ago•0 comments

New league aims to drag fencing into entertainment era

https://www.japantimes.co.jp/olympics/2025/12/03/world-fencing-league/
1•PaulHoule•21m ago•0 comments

Title: Show HN: Kling 2.6 Motion Control UI – Puppeteer static images with video

https://laike.ai/tools/kling-2-6-motion-control
1•jackson_mile•21m ago•1 comments

QuickCurrency – Free currency converter with no sign-up required

https://quickcurrency.net/
2•DDARJEAN•22m ago•0 comments

A Call for New Aesthetics

https://newaesthetics.art/
1•nreece•22m ago•0 comments

Thick Desires in a Thin World

https://domofutu.substack.com/p/thick-desires-in-a-thin-world
1•wjb3•23m ago•0 comments

Shipping at Inference-Speed

https://steipete.me/posts/2025/shipping-at-inference-speed
2•ianrahman•23m ago•0 comments

San Francisco identities from government meetings

https://walzr.com/sf-identities
1•bobbiechen•24m ago•0 comments

The Inverted Reactivity Model of React

https://chrlschn.dev/blog/2025/01/the-inverted-reactivity-model-of-react/
1•bwilliams•30m ago•0 comments

NTSB Investigation: 2024 Orlando drone show accident [pdf]

https://data.ntsb.gov/carol-repgen/api/Aviation/ReportMain/GenerateNewestReport/199458/pdf
2•imglorp•36m ago•1 comments

Nucleonics Magazine (1947-1967)

https://archive.org/details/pub_nucleonics?sort=publicdate
1•glimshe•38m ago•0 comments

Mitsubishi Diatone D-160 (1985)

https://audio-database.com/MITSUBISHI-DIATONE/diatonesp/d-160-e.html
1•anigbrowl•38m ago•0 comments

AI Chatbots Linked to Psychosis, Say Doctors

https://www.wsj.com/tech/ai/ai-chatbot-psychosis-link-1abf9d57
2•bookofjoe•38m ago•2 comments

Show HN: I Built a Tool to Turn YouTube into Structured Courses

https://www.disclass.com
2•yunbiao•44m ago•0 comments

Self-hosting is being enshittified

https://troubled.engineer/posts/selfhosting-in-2025/
9•StrLght•45m ago•0 comments

Louis Gerstner, man credited with turning around IBM, dies aged 83

https://www.theguardian.com/technology/2025/dec/28/louis-gerstner-man-credited-with-turning-aroun...
3•frereubu•48m ago•1 comments

Product vs. Engineering: The Strategic Balancing Act

https://blog.nemausat.com/product-vs-engineering-strategic-balance
2•Ruidy•49m ago•0 comments

AI-generated content in Wikipedia – a tale of caution [video]

https://media.ccc.de/v/39c3-ai-generated-content-in-wikipedia-a-tale-of-caution
2•Fnoord•50m ago•0 comments

Why a Cheaper EV Battery Could Cost You Double in the Long Run

https://autos.yahoo.com/ev-and-future-tech/articles/why-cheaper-ev-battery-could-193507353.html
1•methuselah_in•54m ago•0 comments

The Path Is No Path

https://thinkhuman.com/the-path-is-no-path/
2•jamesgill•56m ago•0 comments

Only the Questions: An app that shows only the questions in a piece of text

https://only-the-questions.vercel.app/
1•gaws•57m ago•0 comments

NextDNS is my new favourite DNS service · Stan's blog

https://stanislas.blog/2020/04/nextdns/
3•mefengl•1h ago•0 comments

Show HN: On Making Music with the Machine

https://songxytr.substack.com/p/on-making-music-with-the-machine
3•songeater•1h ago•2 comments