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!

The Canary magazine has been debanked by Lloyds Bank in the UK

https://www.thecanary.co/uk/2026/06/30/lloyds-canary/
1•robtherobber•49s ago•0 comments

Notes from Building Tinkerfont

https://mighil.com/notes-from-building-tinkerfont
1•surprisetalk•57s ago•0 comments

AI agent safety and alignment research, mapped

https://agentbayes.com/m/jQS6rZ
1•guyzana•1m ago•0 comments

Switch from Arch to Fedora [Chris Titus]

https://christitus.com/switch-from-arch-to-fedora/
1•lordleft•3m ago•0 comments

A Multilingual Auditor-Judge Safety Benchmark for Emotional-Support Chatbots

https://www.alphaxiv.org/abs/2606.30256
1•camilochs•3m ago•0 comments

Wagering on Wildfires? There's a New Prediction Market for That

https://gizmodo.com/wagering-on-wildfires-theres-a-new-prediction-market-for-that-2000779594
1•pseudolus•3m ago•0 comments

Meta building cloud business to sell excess AI computing capacity

https://qz.com/meta-cloud-business-ai-computing-power-070126
1•consumer451•4m ago•0 comments

Signal: A draft UX framework for LLM-based systems

https://github.com/hi-mundo/SIGNAL
1•hi-mundo•4m ago•0 comments

Differential Analyser

https://en.wikipedia.org/wiki/Differential_analyser
1•hamburgererror•5m ago•0 comments

Steam Deck and Wayland

https://notmart.org/blog/2026/07/steamdeck-and-wayland/
1•LorenDB•6m ago•0 comments

Show HN: SyntheticRows – expand small datasets, with an honest quality score

https://syntheticrows.com
1•dhruvgoyal_16•6m ago•0 comments

Scaling Redis Pub/Sub across many active channels and nodes

https://centrifugal.dev/blog/2026/06/29/scaling-redis-pub-sub
1•FZambia•7m ago•0 comments

Show HN: Bytesalt – AI that finds bugs Playwright tests miss

https://bytesalt.com
1•deepankvora•8m ago•0 comments

The Usage Runtime for AI Products

https://www.stigg.io/blog-posts/announcing-stigg-2-0-the-usage-runtime-for-ai-products
1•gemanor•8m ago•0 comments

Modern Digital Astrolabe – A 50k-Year Temporal Engine

https://jolly-lab-1d2f.cherlokrobin.workers.dev/
1•Cherlokrobin•9m ago•0 comments

Steam Machine Releases with KDE Plasma

https://pointieststick.com/2026/06/30/the-steam-machine-is-here/
1•LorenDB•11m ago•0 comments

ECAA-workflow: deterministic workflow compiler for FAIR bioinformatics

https://github.com/SuLab/ECAA-workflow
4•ahueb•13m ago•1 comments

AetherCut – video editor that runs in the browser, no uploads

https://aethercut.app
1•AetherCut•15m ago•0 comments

Fleet-kit – a production skeleton for running a fleet of trading bots

https://gitlab.com/myicloudmusic/fleet-kit
1•christian-faro•15m ago•0 comments

SSPX Consecrates Bishops in Defiance of Rome's Schism Warning

https://www.ncregister.com/cna/sspx-consecrates-bishops-in-defiance-of-rome-s-schism-warning
1•lordleft•15m ago•0 comments

Smooth-Maximum, the most useful function [video]

https://www.youtube.com/watch?v=6Qb6QtC6QMs
1•surprisetalk•16m ago•0 comments

Why I Stopped Arguing with People

https://wangcong.org/2026-06-30-why-i-stopped-arguing-with-people.html
44•backlit4034•17m ago•23 comments

The Scanline Sweeper: A Glyph Rendering Algorithm [pdf]

https://rookandpossum.com/papers/scanline_sweeper_preprint.pdf
1•kouosi•18m ago•1 comments

Search engines uses Status codes to understand your websites

https://medium.com/@thesuperrepemail/search-engines-uses-status-codes-to-understand-your-website-...
1•mssblogs•18m ago•0 comments

What's wrong with EU age verification? (Nothing)

https://blog.vrypan.net/2026/06/29/260629-whats-wrong-with-eu-age-verification/
3•birdculture•19m ago•0 comments

Palestine Action Proscription: We Fight Back

https://www.craigmurray.org.uk/archives/2026/07/palestine-action-proscription-we-fight-back/
3•jjgreen•19m ago•0 comments

The break-even point of automation

https://www.serval.com/serval-news/introducing-catalyst-automating-a-task-forever-should-be-easie...
1•emot•21m ago•0 comments

Tim Cook Holds 'Constructive' Talks with EU over Siri AI Launch

https://www.macrumors.com/2026/07/01/tim-cook-constructive-talks-eu-siri-ai-launch/
2•thm•22m ago•0 comments

Brain2Qwerty v2:Decoding of Natural Sentences from Non-Invasive Brain Recordings

https://facebookresearch.github.io/brain2qwerty/
1•arunc•23m ago•0 comments

Scaling Codebases Without Platform Bloat

https://hashnode.com/edit/cmr1k798k00000ahtbajb83pe
1•SurajUpadhyay0•23m ago•0 comments