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!

Understanding AI Memory the Basics

https://kingofkimchi.substack.com/p/the-memory-files-case-01-ai-memory
1•KingofKimchi•2m ago•0 comments

German Banks to Open Crypto Trading for 50M Customers

https://beincrypto.com/german-banks-crypto-trading-retail/
1•adrianwaj•3m ago•0 comments

HN – The first AI recruitment assistant beyond traditional ATS

https://www.kyntoai.com
1•Alex_Bonjean•5m ago•1 comments

Email inboxes for AI agents: the complete guide – MailKite

https://mailkite.dev/blog/email-inbox-for-ai-agents-guide/
1•fijiwebdesign•5m ago•0 comments

PicnicHabits Is Now Live

https://picnichabits.uk
1•PicnicApps•9m ago•0 comments

Fable 5 BeyBlade-inspired Arena Game

https://parastoner.itch.io/spintop-arena
1•Paratoner•12m ago•0 comments

Show HN: Cute Music App

1•bOZbfU4YdRnJQ•13m ago•0 comments

Ebrains Crowdsources the Future of European Neuroscience

https://www.the-scientist.com/ebrains-crowdsources-the-future-of-european-neuroscience-74690
1•visha1v•13m ago•1 comments

Algae Microrobots Battle Bladder Cancer

https://www.the-scientist.com/algae-microrobots-battle-bladder-cancer-74700
1•visha1v•15m ago•1 comments

Convert your RSS feeds into a static website

https://www.xda-developers.com/i-replaced-my-100-year-rss-reader-with-a-free-github-pages-aggrega...
2•8organicbits•16m ago•0 comments

Tests Are SQL Files Too

https://npgsqlrest.github.io/blog/npgsqlrest-3.19-sql-test-runner-watch-mode.html
1•vbilopav•24m ago•0 comments

Show HN: AI-powered code review tool

https://github.com/Kirill89/reviewcerberus
1•k1r111•26m ago•0 comments

EyesOff Spots Shoulder Surfers Using a Privacy-First Approach

https://www.eyesoff.app/blog/how-eyesoff-spots-shoulder-surfers/
1•Two_hands•30m ago•0 comments

But Nothing Has Changed on Our Side

https://cacm.acm.org/blogcacm/but-nothing-has-changed-on-our-side/
1•visha1v•34m ago•1 comments

I can build anything, but only the void sees it

2•urbanogt5•36m ago•2 comments

AI researchers ran a secret experiment on Reddit users (2025)

https://www.livescience.com/technology/artificial-intelligence/ai-researchers-ran-a-secret-experi...
1•rolph•40m ago•2 comments

Verizon is About to Break our Watches

https://www.jefftk.com/p/verizon-is-about-to-break-our-watches
12•jefftk•41m ago•2 comments

AI bots ignore evidence. Can we trust them with science?

https://www.sciencenews.org/article/ai-ignore-evidence-trust-science
2•rolph•42m ago•0 comments

1-click-unpaywall Bookmarklet via Nopaywall.net

https://www.nopaywall.net/bookmarklet
1•MajesticWombat•44m ago•0 comments

What do nuns give up

https://silvestro2026.substack.com/p/what-do-catholic-nuns-give-up
3•silvestromedia•47m ago•0 comments

Moe Estimator – Simulate decode speed with layer-major prefetch hiding

https://www.agrillo.it/AI/Calculators/MOE-tieredstreaming.html
1•ConteMascetti71•51m ago•0 comments

Microsoft GDID telemetry includes full browsing and gaming history

https://old.reddit.com/r/sysadmin/comments/1undrrd/microsoft_gdid_tracks_all_windows_installations/
2•jjbinx007•52m ago•0 comments

Show HN: A home for short stories generated from 5 random emojis

https://www.moon-zine.net/
2•riedhes•53m ago•0 comments

Reading Is Fun

https://github.com/baturyilmaz/readingisfun
1•k3030•55m ago•0 comments

BareMetal RAM Dumper – Bare-metal x86 tool for Cold Boot Attack experiments

https://github.com/pIat0n/BareMetal-RAM-Dumper
11•liffik•56m ago•1 comments

Spending a Day on Sweden's $200M Stealth Warship [video]

https://www.youtube.com/watch?v=i5lHWgMmrt8
1•dataflow•57m ago•0 comments

Zenú Gold: Reassessing Matriarchy in Pre-Contact Colombia (2025)

https://archaeolog.substack.com/p/zenu-gold-reassessing-matriarchy
1•BaseBaal•59m ago•0 comments

Historic Photos of NASA's Cavernous Wind Tunnels

https://www.theatlantic.com/photo/2018/05/historic-photos-of-nasas-cavernous-wind-tunnels/560660/
3•ohjeez•1h ago•0 comments

Why don't people use Git properly?

https://deadsimpletech.com/blog/why-dont-people-use-git-properly
5•mmphosis•1h ago•2 comments

AI Has Hacked the Code of Human Civilization – Yuval Noah Harari

https://www.youtube.com/watch?v=hBtVGwuJzpk
1•doener•1h ago•0 comments