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!

Simpler, older version of Stonehenge found three miles from famous site

https://www.bbc.co.uk/news/articles/clyxw8550y8o
1•mellosouls•3m ago•1 comments

Interesting Google AI Results

https://www.google.com/search?q=nvm
1•throwaway_7678•6m ago•1 comments

SteamOS Linux 3.8 released as stable

https://store.steampowered.com/news/app/1675200/view/697641379212298072
4•jrepinc•13m ago•0 comments

Privacy-Preserving Age Verification–and Its Limitations [pdf]

https://www.cs.columbia.edu/~smb/papers/age-verify.pdf
1•wmf•15m ago•0 comments

Trading Places (2023)

https://www.tabletmag.com/sections/news/articles/trading-places
1•like_any_other•17m ago•0 comments

EPFL launches the first open medical LLMs

https://actu.epfl.ch/news/epfl-launches-the-world-s-first-fully-open-medical/
1•ponsfrilus•17m ago•0 comments

Remote Code Execution in Libssh2

https://vuldb.com/cve/CVE-2026-55200
1•walrus01•22m ago•0 comments

FP8 GEMM Optimization on AMD CDNA4 Architecture

https://rocm.blogs.amd.com/software-tools-optimization/cdna4-gemm-kernels/README.html
1•skidrow•26m ago•0 comments

Occupancy Math on the AMD MI355X: A From-First-Principles Guide

https://indianspeedster.github.io/blog/occupancy-math-mi355x/
1•skidrow•27m ago•0 comments

Remembering Robert A.F. Thurman (1941-2026)

https://www.lionsroar.com/robert-thurman-and-the-karmic-kingdom-of-buddhology/
1•fredski42•29m ago•0 comments

What competitor signal has been most useful for you?

2•IndustryLens•34m ago•0 comments

Show HN: We cut >60% of tokens from agentic tasks by removing repeated context

https://parcle.ai/
1•longtermop•39m ago•0 comments

Nim Conf 2026 (Online, Sat June 20)

https://conf.nim-lang.org/
1•pietroppeter•40m ago•1 comments

Apple has started replacing macOS names with version numbers

https://9to5mac.com/2026/06/16/apple-has-started-replacing-macos-names-with-version-numbers-in-se...
2•soheilpro•40m ago•1 comments

Apple boss Tim Cook says prices to rise due to memory chip costs

https://www.bbc.com/news/articles/c3wyxvqdx1zo
5•ilreb•43m ago•0 comments

I built a budgeting app that never connects to your bank

https://budjo.app
1•fabiozanchi•48m ago•0 comments

AI Agents for Contractors

https://dolfyn.ai/
1•khollow•51m ago•1 comments

A 10K-star milestone for Diskless Kafka

https://github.com/AutoMQ/automq
7•TechSageWow•51m ago•1 comments

Specs AR Glasses (Snap Inc.)

https://www.specs.com/
2•d3ron•51m ago•0 comments

Electrocaloric effects across room temperature in multilayer capacitors

https://www.nature.com/articles/s41586-026-10492-w
1•teleforce•54m ago•0 comments

The year designers stopped being just designers – AI in Design Report 2026

https://www.artificialstudio.ai/blog/ai-design-report-2026
1•artificialstudi•54m ago•2 comments

Trump Demanded Iran's 'Unconditional Surrender.' He Got a Surprise Instead

https://www.nytimes.com/2026/06/17/us/politics/trump-iran-deal-nuclear-program-strait.html
10•duxup•1h ago•2 comments

Pentagon says Grok used to launch missiles at Iran

https://thehill.com/newsletters/technology/5929290-pentagon-grok-iran-missiles/
4•dlgeek•1h ago•0 comments

Companies question cost of AI as tokenmaxxing spending adds up

https://www.cbc.ca/news/business/ai-spending-ending-tokenmaxxing-tokenomics-9.7237680
2•theanonymousone•1h ago•1 comments

Gloat compiles Clojure and YAMLScript to Go code, native binaries and WASM

https://gloathub.org/
3•adityaathalye•1h ago•0 comments

Audacity 4.0 beta lets you test its new (nicer) Qt interface

https://www.omgubuntu.co.uk/2026/06/audacity-4-0-beta
2•jandeboevrie•1h ago•0 comments

Show HN: 150M Mandarin transcription model with real-time metadata detection

https://huggingface.co/WhissleAI/STT-meta-ZH-150m
1•ksingla025•1h ago•0 comments

The Suicide Clusters That Threaten Mountain Towns

https://www.outsideonline.com/health/wellness/suicide-clusters-mountain-towns-durango/
1•thunderbong•1h ago•1 comments

Local Qwen isn't a worse Opus, it's a different tool

https://blog.alexellis.io/local-ai-is-not-opus/
3•alphabettsy•1h ago•0 comments

Push vs. Pull Agent Memory?

https://github.com/H-XX-D/recall-memory-substrate
1•hendrixx1122•1h ago•0 comments