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•5mo 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!

The worlds on fire. So lets just make AI porn

https://blog.itstoday.site/the-worlds-on-fire
1•busymom0•1m ago•0 comments

Show HN: LeanOS–10 AI agents that build and run startup operations autonomously

https://github.com/BellaBe/lean-os
1•bellcolor_belka•1m ago•0 comments

Servo should use `unwrap()` less

https://github.com/servo/servo/issues/40744
1•robin_reala•6m ago•0 comments

Don't Make Me Wait

https://rumination.computer/dont-make-me-wait
1•hazn•9m ago•2 comments

Implementation of a Java Processor on a FPGA

https://mavmatrix.uta.edu/electricaleng_theses/337/
2•mghackerlady•24m ago•0 comments

Ask HN: Builders vs. Mercenaries – does this distinction make sense?

1•grandimam•25m ago•0 comments

All you can do is play the game

https://benn.substack.com/p/all-you-can-do-is-play-the-game
1•kiyanwang•25m ago•0 comments

A battery included hacker's file manager with Vim inspired keybind in a single

https://github.com/houqp/kiorg
1•todsacerdoti•25m ago•0 comments

Procedurally Generating Infinite Marble Runs [video]

https://www.youtube.com/watch?v=ULpNiZU2tpg
1•todsacerdoti•27m ago•0 comments

Tailscale for Kindle (KUAL)

https://github.com/mitanshu7/tailscale_kual
1•Quizzical4230•27m ago•1 comments

Show HN: Thanos-CLI – a Python tool that deletes half your files

https://github.com/soldatov-ss/thanos
1•stranger-ss•34m ago•0 comments

Using 'Probability' as a Deepfake Detection Metric

https://www.unite.ai/using-probability-as-a-deepfake-detection-metric/
1•50kIters•34m ago•0 comments

Baixe vídeos do Pinterest online

https://pinterestvideodownload.org
1•adamofernando•39m ago•0 comments

The Fate of Data Model Dependency

https://medium.com/@HobokenDays/the-fate-of-shared-data-model-cf8a3dc88ac9
1•HobokenDays1•41m ago•1 comments

Tailsitter Drone Development Story

https://twitter.com/anduriltech/status/1991229412071661719
1•keepamovin•50m ago•0 comments

NASA's 3I/Atlas Image Gallery

https://science.nasa.gov/solar-system/comets/3i-atlas/comet-3i-atlas-image-gallery/
2•aggrrrh•53m ago•0 comments

ArcOS – A natural-language Cognitive Clone OS

https://github.com/Takeshi-Sakamoto5/ArcOS
1•takeshi_sakamo•56m ago•4 comments

PHP 8.5 gets released today, here's what's new

https://stitcher.io/blog/new-in-php-85
16•brentroose•58m ago•0 comments

Nazi bombs, torpedo heads and mines: how marine life thrives on dumped weapons

https://www.theguardian.com/environment/2025/nov/20/oceans-germany-baltic-sealife-reefs-toxic-sec...
2•ggm•58m ago•0 comments

Niri Is a Pretty Cool Wayland Compositor

https://www.youtube.com/watch?v=11FrmMPPZ10
1•Babkock•1h ago•0 comments

Brownouts Reveal System Boundaries

https://jyn.dev/brownouts-reveal-system-boundaries/
1•zdw•1h ago•0 comments

Show HN: Reproducible Dotfiles with Nix Flakes

https://github.com/momeemt/config
2•momeemt•1h ago•0 comments

Show HN: Adviser – User-friendly CLI tool for running jobs in the cloud

https://github.com/adviserlabs/docs
1•reducks•1h ago•0 comments

Learn the Basics of Google Antigravity

https://www.youtube.com/watch?v=nTOVIGsqCuY
2•ms7892•1h ago•0 comments

Moving Beyond the NPM Elliptic Package

https://soatok.blog/2025/11/19/moving-beyond-the-npm-elliptic-package/
1•zdw•1h ago•0 comments

PCI Express over Ethernet [pdf]

https://grouper.ieee.org/groups/1722/contributions/2025/20250513_IEEE1722_PCIeOverEthernetProposa...
2•geerlingguy•1h ago•0 comments

Show HN: Pro Dev Tools (Client-Side) Coded by Gemini 3 in 30 Minutes

https://devtool.com
1•devtool007•1h ago•0 comments

Show HN: An A2A-compatible, open-source framework for multi-agent networks

https://github.com/openagents-org/openagents
22•snasan•1h ago•15 comments

Report AI TECH Talking to Windows' Copilot AI makes a computer feel incompetent

https://www.theverge.com/report/822443/microsoft-windows-copilot-vision-ai-assistant-pc-voice-con...
1•alsetmusic•1h ago•0 comments

LLMs End the 15-Year MARL Era and Redefine Multi-Agent Collaboration

https://medium.com/@openagents/the-end-of-a-15-year-marl-era-how-llms-are-redefining-multi-agent-...
1•snasan•1h ago•0 comments