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!

Superlogical Server Memory Optimizations Overview [video]

https://www.youtube.com/watch?v=T5gV6anSt-4
1•bbg2401•1m ago•0 comments

Distributed PyTorch Profiling

https://zhenyu.github.io/2026/09/02/why-a-gpu-profiling-capture-turned-into-a-distributed-systems...
1•asaiacai•3m ago•0 comments

Performance Characterization of SPEC CPU 2026 on AMD EPYC 9755 "Zen 5" Processor

https://arxiv.org/abs/2609.01527
1•matt_d•4m ago•0 comments

Google DeepMind Just Rolled Out Its Most Accurate AI Global Weather Model

https://gizmodo.com/google-deepmind-just-rolled-out-its-most-accurate-ai-global-weather-model-200...
1•Aboutplants•4m ago•0 comments

Who is using FPGA for ML inference?

2•softwarewright•5m ago•0 comments

Ask HN: iPhone Camera on indicator.

1•zahirbmirza•8m ago•0 comments

These websites Have Been Seized

https://seized.fyi/
1•Cider9986•9m ago•0 comments

NVIDIA's Acquisition of HuggingFace was for $HuggingFace

1•MontagFTB•10m ago•0 comments

Ukrainian Sea Drones Strike Russian Black Sea Resort Town of Sochi

https://www.twz.com/news-features/ukrainian-sea-drones-strike-russian-black-sea-resort-town-of-so...
1•cisc•11m ago•0 comments

Dependent if expressions without dependent types

https://haskellforall.com/2026/09/dependent-if-expressions
1•birdculture•12m ago•0 comments

Rusty state of USS Abraham Lincoln after marathon deployment shocks observers

https://www.cnn.com/2026/09/03/asia/aircraft-carrier-abraham-lincoln-rust-intl-hnk-ml
2•cisc•12m ago•0 comments

Flock Is Cancelled–and Their Competitors Are Profiting

https://www.motherjones.com/politics/2026/09/flock-contracts-cancelled-cameras-alpr-rekor-axon-fl...
2•cdrnsf•13m ago•0 comments

Hosting Valkey: one MicroVM per store, durable by default

https://mojave.sh/blog/valkey-in-a-microvm
2•stwrt•13m ago•0 comments

GPT 6 is way behind Anthropic on Artificial Analysis

https://artificialanalysis.ai/models/gpt-6-astra
2•pranshuchittora•13m ago•0 comments

The Selfish AI Model

https://ateliti99.substack.com/p/the-selfish-ai-model
1•olirex99•15m ago•0 comments

Jsonquery_GUI – A native Rust/egui desktop tool for streaming jq queries

https://github.com/nujufas/jsonquery_gui
1•nujufas•15m ago•0 comments

AWS STS

1•fotta•18m ago•0 comments

Four major AI models suffer rare overlapping downtime

https://arstechnica.com/ai/2026/09/four-major-ai-models-suffer-rare-overlapping-downtime/
2•SockThief•19m ago•0 comments

New weight loss and diabetes treatment helps burn fat while keeping muscle

https://news.berkeley.edu/2026/08/21/a-promising-new-weight-loss-and-diabetes-treatment-helps-bur...
5•gmays•21m ago•0 comments

Parity Problem

https://en.wikipedia.org/wiki/Parity_problem
1•binyu•22m ago•0 comments

Show HN: We replaced the pelican benchmark with a hippo

https://hippo.ryansailab.com
2•codemax98•22m ago•2 comments

Have we finally found dark matter?

https://www.scientificamerican.com/article/have-we-finally-found-dark-matter/
3•bookofjoe•22m ago•1 comments

Show HN: DrawDB Pro – design database schemas for your team and agents

https://www.drawdb.app/
3•1ilit•22m ago•0 comments

Ask HN: Is there a test for measuring cognitive affects from LLM usage?

2•niwrad•22m ago•0 comments

CERN moves accelerator control computers to Debian

https://www.theregister.com/os-platforms/2026/09/03/cern-moves-thousands-of-accelerator-control-c...
1•joebuckwilliams•23m ago•0 comments

Mullvad migrating to Q9 for encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
3•matrix8967•25m ago•1 comments

Court Rules Against Citizen Journalists in DMCA Takedown Case–EFF Will Appeal

https://www.eff.org/deeplinks/2026/09/court-rules-against-citizen-journalists-dmca-takedown-case-...
2•hn_acker•26m ago•0 comments

I built an AI development environment that runs and builds software on Android

https://github.com/sedds89/StitchLabtools
1•sedds89•28m ago•0 comments

I used AI to connect with 30 people at a conference

https://galvered.com/blog/ai4-conference/
1•Bootstrapper909•28m ago•0 comments

Both recent GCP outages caused by fiber optic maintenance

2•fastest963•33m ago•0 comments