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

An AI agent harassed a Matplotlib maintainer. We're asking the wrong question

https://chaosguru.substack.com/p/who-opened-the-door
1•allixsenos•4m ago•0 comments

Show HN: Pangolin: Open-source identity-based VPN (Twingate/Zscaler alternative)

https://github.com/fosrl/pangolin
2•miloschwartz•15m ago•0 comments

Show HN: I built a map where anyone can rename anything

https://rename.world/
4•kafked•17m ago•0 comments

What Happens After the Hero? The Section That Decides If Users Stay

https://www.indiehackers.com/post/what-happens-after-the-hero-the-section-that-decides-if-users-s...
1•allinonetools_•18m ago•0 comments

A Pokémon of a Different Color

https://matthew.verive.me/blog/color/
1•Risse•24m ago•0 comments

France assembles magistrate team to examine 'Epstein files'

https://www.dw.com/en/epstein-files-france-investigation-magistrates/a-75975774
1•pera•24m ago•0 comments

Show HN: Manga Viewer – Zero-dep manga/comic reader in vanilla JavaScript

https://github.com/tokagemushi999/manga-viewer
2•tokagemushi•28m ago•0 comments

AI to stay in Flow – a personal decision on how I chose to (not) use AI

https://www.dev-log.me/ai_to_stay_in_flow/
1•wazHFsRy•31m ago•0 comments

AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach

https://socket.dev/blog/ai-agent-lands-prs-in-major-oss-projects-targets-maintainers-via-cold-out...
1•choult•31m ago•0 comments

Starflight

https://en.wikipedia.org/wiki/Starflight
1•tosh•32m ago•0 comments

Storepage – I'm a tool builder making app launch pages less painful

https://storepage.app
1•scaleinitiative•34m ago•1 comments

Show HN: Visual state tracking for AI agents in tmux

https://github.com/accessd/tmux-agent-indicator
1•accessd•39m ago•0 comments

Former teen superstar James Van Der Beek needed help to pay his medical bills

https://www.bbc.com/news/articles/cx2dw01p7k8o
1•breve•44m ago•0 comments

The great computer science exodus (and where students are going instead)

https://techcrunch.com/2026/02/15/the-great-computer-science-exodus-and-where-students-are-going-...
1•e2e4•44m ago•0 comments

Show HN: Addictive little browser game involving gravity

https://retroburn.space/
1•amiralul•44m ago•0 comments

Paper Plotter

https://felixboiii.github.io/paper-plotter/#create-function
2•Tomte•44m ago•0 comments

Orjson no more open issue tracker or pull requests due to signal-to-noise ratio

https://github.com/ijl/orjson
1•anutrix•45m ago•1 comments

Learning Lean: Part 1

https://rkirov.github.io/posts/lean1/
2•vinhnx•45m ago•0 comments

How I made $2.5K in 4 days selling a SaaS boilerplate for OpenClaw wrappers

https://clawwrapper.com
1•omridan159•46m ago•1 comments

Understanding the Go Runtime: The Bootstrap

https://internals-for-interns.com/posts/understanding-go-runtime/
2•birdculture•46m ago•0 comments

Guthrie video delayed by difficult data recovery, privacy advocates worry

https://www.reuters.com/world/guthrie-doorbell-video-delayed-by-difficult-data-recovery-privacy-a...
2•cobbzilla•47m ago•1 comments

Show HN: Ventoux – get insights into your FIT activities

https://codeberg.org/eikek/ventoux
1•eikek•49m ago•0 comments

Sammy Jankis – an autonomous agent by Jason Rohrer

https://sammyjankis.com/
1•jdietrich•55m ago•0 comments

Arrays in Forth

https://www.forth.org/svfig/Len/arrays.htm
3•tosh•56m ago•0 comments

Show HN: Claude Extender – Autonomous Agent Management for Claude Code

https://github.com/wbnns/cx
1•wbnns•59m ago•1 comments

Peloton Revenue Falls on Declining Subscriptions and CFO Leaves

https://www.wsj.com/business/earnings/peloton-revenue-falls-on-declining-subscriptions-as-cfo-lea...
1•KnuthIsGod•59m ago•1 comments

Lit: Version control where prompts are the source

https://clintonboys.com/projects/lit/
1•mtsolitary•1h ago•0 comments

AI CMO

https://ai-cmo.net/
2•lunaberry•1h ago•0 comments

Show HN: Minisft – from base model to chat model

https://github.com/onurkanbakirci/Llama-2-7b-oasst-sft
1•onurkanbkrc•1h ago•0 comments

The Sacred Ass Life Course

https://sacredass.com/
1•ZguideZ•1h ago•1 comments