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!

Vfkit: CLI tool to start virtual machines using macOS Virtualization framework

https://github.com/crc-org/vfkit
1•rguiscard•31s ago•0 comments

Researcher finds that cats lie around for a ridiculous amount of time

https://www.newscientist.com/article/2590148-researcher-finds-that-cats-lie-around-for-a-ridiculo...
1•XzetaU8•59s ago•1 comments

Compaction.dev: Make cc/codex/cursor resend less. Per run input/output reduction

https://github.com/philipppohlmann/compaction
1•philippadrian•3m ago•0 comments

Dopamine sites – The thrill of shopping without paying

https://www.bbc.co.uk/news/articles/cwn741v5rdpxo
1•mulhoon•5m ago•0 comments

Show HN: Full-page screenshots with free annotation and PDF export

https://chromewebstore.google.com/detail/fullpage-screenshot/oancbefogdnnbfclaimdkplonkpgdpdj
1•vinyasvi•5m ago•0 comments

The First Microbe for Mars

https://blog.pioneer-labs.org/p/announcing-the-first-microbe-for
1•rbanffy•7m ago•0 comments

Benchmarking Java Performance of JDK 8 Through OpenJDK 27

https://www.phoronix.com/review/java-8-openjdk-27-benchmarks
1•theanonymousone•9m ago•0 comments

Microsoft tried to ban "Microslop", and six months later it has given up

https://www.windowslatest.com/2026/09/24/microsoft-tried-to-ban-microslop-and-six-months-later-it...
3•theanonymousone•9m ago•0 comments

Love is in the Eyre: China turns to classic novel to teach romance to teens

https://www.cnn.com/2026/09/16/style/china-english-jane-eyre-love-hnk-intl
1•theanonymousone•11m ago•0 comments

Phyll, a UX review for apps built with AI that keeps the design

https://github.com/carlosphyll/phyll
1•agentphyll•11m ago•0 comments

Were agents breaching my site?

https://blog.matzielab.com/were-agents-breaching-my-site/
1•matzie•17m ago•0 comments

Show HN: CastTake – turn one product photo into a short AI UGC ad video

https://casttake.com/ai-ugc-ad-generator
1•jimliu01•17m ago•0 comments

Electromagnetic Launch – The Technical and Economic Realities [video]

https://www.youtube.com/watch?v=RxHiosvCOEo
1•skibz•21m ago•0 comments

The PC-9800 Buyer's Guide

https://pc98.ne.jp/buyers
1•Mr_Minderbinder•21m ago•0 comments

Copyright Infringement Still Isn't Theft Even When Microsoft Employee Says It Is

https://www.techdirt.com/2026/09/23/copyright-infringement-still-isnt-theft-even-when-a-microsoft...
2•beardyw•24m ago•1 comments

Show HN: CubeLV – AI that designs your automation before building it

https://app.cubelv.com
2•qqrun•27m ago•1 comments

UK's Rudest Street Names

https://digitaleditions.telegraph.co.uk/data/2565/reader/reader.html?#!preferred/0/package/2565/p...
3•librasteve•37m ago•0 comments

When AI Acts, Who Remembers What Happened?(cogextai.com)

1•cogext•39m ago•0 comments

The Year of Internal Tools

https://www.geocod.io/code-and-coordinates/2026-09-23-the-year-of-internal-tools
2•thecodemonkey•43m ago•0 comments

Nuros – AI study tools from notes, PDFs, videos, and links

https://nuros.app/
4•AntoineValton•44m ago•0 comments

Show HN: Air-gapped file encryption as self-decrypting HTML page

https://cms-sfx-demo.apeleg.com/
4•emurlin•44m ago•4 comments

Flatpark: A more inclusive Flatpak app store for Linux, alternative to Flathub)

https://flatpark.org/apps/
3•grigio•48m ago•0 comments

Meta Launches $1,299 VR Headset That Look Like Glasses

https://www.bloomberg.com/news/articles/2026-09-23/meta-launches-1-299-vr-headset-that-look-like-...
4•tosh•49m ago•2 comments

Italian parliament backs Meloni's plan to restart nuclear power

https://www.reuters.com/world/italian-parliament-backs-melonis-plan-restart-nuclear-power-2026-09...
2•mpweiher•50m ago•1 comments

Wealth Taxes Could Kill Privately-Owned Companies

https://www.palladiummag.com/2026/09/22/wealth-taxes-could-kill-privately-owned-companies/
5•pr337h4m•54m ago•3 comments

Google Private AI Compute with server-side memory

https://deepmind.google/blog/advancing-private-ai-compute-with-secure-server-side-memory/
2•cagz•54m ago•0 comments

Meta VR Glasses Announced, 100 grams, OLED, $1300

https://www.uploadvr.com/meta-vr-glasses-officially-announced-connect-2026/
3•cubefox•57m ago•0 comments

Six Ways to Integrate Jev

https://vercel.com/i/jev-integrations
2•flashbrew•58m ago•0 comments

GPT-6 Sol vs. Luna

https://vercel.com/i/gpt-6-sol-vs-luna
2•flashbrew•58m ago•0 comments

Ex-cop turned CEO sold U.S. agencies forensics software built in Russia

https://www.justice.gov/usao-cdca/pr/tech-ceo-russian-national-arrested-complaint-alleging-they-h...
5•Scrounger•58m ago•1 comments