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!

France's constitutional authority strikes down social media ban for under-15s

https://www.france24.com/en/france/20260814-france-s-constitutional-authority-strikes-down-social...
1•Markoff•1m ago•0 comments

Agents on Rails: The LLM Benchmark Project

https://rubyonrails.org/2026/8/12/llm-benchmarking-project
1•ksec•4m ago•0 comments

Show HN: ThoughtDAG – An editable context graph for LLM conversations

https://chenxiachan.github.io/thoughtdag/
2•chatchan•10m ago•0 comments

Flink SQL vs. Flink Java API

https://www.reddit.com/r/apacheflink/s/TAzjpyYzSH
2•ganeshsivakumar•11m ago•0 comments

Show HN: Rent vs. buy, backtested across 241 US metros with pinned data

https://github.com/assumptionsshown/RunTheNumbers
2•newroots•21m ago•0 comments

Best US- and EU-hosted abliterated models with no input/output prompt retention

https://next.abliteration.ai
3•thomadev0•29m ago•2 comments

Instagzam and Other Logo Redesigns

https://creolened.com/instagzam-and-other-logo-redesigns/
1•meetpateltech•32m ago•0 comments

The other Sean Byrne doesn't exist

https://conic.al/writing/the-other-sean-byrne-doesnt-exist/
2•rdl•33m ago•0 comments

Reconsidering O_CREAT|O_DIRECTORY

https://lwn.net/Articles/1085617/
1•pykello•34m ago•0 comments

BibleMigo- where the Bible meets technology and game mechanics

https://www.biblemigo.com/
1•mosesmanzana•35m ago•0 comments

App:Unforgetful

https://marco.org/2026/08/14/unforgetful
1•shivaraj1996•35m ago•0 comments

An Idea for a New Form of Media

3•tsydenzhap•38m ago•1 comments

Comma.ai Launches a PCIe Gen4 X4 to USB4 Dock with Open-Source Firmware

https://www.phoronix.com/news/Comma.ai-PCIe-Gen4-USB4-Dock
2•ferryth•40m ago•0 comments

Best AI solution to hunt for buffer overflows in open source apps?

1•firefax•43m ago•0 comments

VTCode

https://github.com/vinhnx/VTCode
1•handfuloflight•46m ago•0 comments

Vivodyne launches largest human biological datacenter

https://www.businesswire.com/news/home/20260812148428/en/Vivodyne-Launches-the-Worlds-Largest-Hum...
2•george_max•48m ago•0 comments

Peter Sarnak on "The AlphaZero Test" for Mathematics

https://www.ams.org/journals/notices/202607/noti3373/noti3373.html
1•the-mitr•50m ago•0 comments

People Who Will Thrive in the AI Age

https://www.theatlantic.com/ideas/2026/06/ai-open-ai-anthropic/687689/
5•jdkee•53m ago•0 comments

destruction-certificate.txt

https://stallman.org/articles/destruction-certificate.txt
2•lr0•1h ago•0 comments

Dynatrace to buy AI observability startup Arize for $915M

https://app.dealroom.co/news/note/dynatrace-to-buy-ai-observability-startup-arize-for-915m
1•doughnutstracks•1h ago•0 comments

Mesa activists oppose Japanese data center, seek audience with city council

https://www.abc15.com/news/region-southeast-valley/mesa/mesa-activists-oppose-japanese-data-cente...
2•spking•1h ago•0 comments

Show HN: Supervice – process supervisor for agentic processes. zero dependencies

https://github.com/rodmena-limited/supervice
1•rodmena•1h ago•0 comments

Tron (Hacker)

https://en.wikipedia.org/wiki/Tron_(hacker)
3•lr0•1h ago•1 comments

Water Ring Toss Game

https://projects.arkon.digital/threejs/water-ring-toss-game/
2•memalign•1h ago•0 comments

Performative Agreement — The False Alignment Trap

https://hbr.org/2026/07/the-false-alignment-trap
1•soupspaces•1h ago•0 comments

Flock Say Their Surveillance Tech Would've Solved the Nancy Guthrie Case

https://www.vanityfair.com/story/flock-founders-interview-privacy-stalking
4•jhonovich•1h ago•2 comments

The End of Mathematics

https://www.daniellitt.com/blog/2026/8/11/the-end-of-mathematics
3•practal•1h ago•0 comments

On Hacking

https://stallman.org/articles/on-hacking.html
1•lr0•1h ago•0 comments

He Mined 300 Bitcoin, Wiped the Computer, and Sold It for $200 [video]

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

Nvidia Jetson chip found in Russian cruise missile

https://www.tomshardware.com/tech-industry/artificial-intelligence/nvidia-jetson-chip-found-in-ru...
3•raphar•1h ago•0 comments