frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•4mo 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!

Norway declares victory in move away from gas cars

https://www.semafor.com/article/10/16/2025/norway-declares-victory-in-move-away-from-gas-cars
1•bookofjoe•41s ago•1 comments

Meta Removes Facebook Group That Shared Information on ICE Agents

https://www.nytimes.com/2025/10/15/technology/meta-removes-ice-facebook-page.html
1•JumpCrisscross•59s ago•0 comments

Evaluating AI Use and Psychological Correlates via Months of Web-Browsing Data

https://www.liebertpub.com/doi/10.1177/21522715251379987
1•filoeleven•2m ago•0 comments

Deep Agents

https://nlp.elvissaravia.com/p/deep-agents
1•omarsar•3m ago•0 comments

Claude Skills

https://www.anthropic.com/news/skills
4•meetpateltech•4m ago•0 comments

Prospects for the Crossing of Comet 3I/ATLAS's Ion Tail

https://arxiv.org/abs/2510.13222
1•bikenaga•5m ago•0 comments

Americans are socialising less – here's why that's worrying [video]

https://www.bbc.com/reel/video/p0m5p7x8/americans-are-socialising-less-here-s-why-that-s-worrying
1•obscurette•5m ago•0 comments

Managing Knowledge in Science Teams

https://mnky9800n.substack.com/p/managing-knowledge-in-science-teams
2•mnky9800n•6m ago•0 comments

Scaling Laws for Reinforcement Learning

https://huggingface.co/papers/2510.13786
1•lewtun•9m ago•0 comments

PayPal and Venmo are down – live updates on the ongoing outage

https://www.tomsguide.com/news/live/paypal-venmo-down-live-updates-outage-10-16
1•sva_•11m ago•0 comments

Rust is renaming the default branch from master to main

https://blog.rust-lang.org/inside-rust/2025/10/16/renaming-the-default-branch-of-rust-langrust/
2•SchwKatze•11m ago•1 comments

Evolving ZGC's Pointer Color Palette [video]

https://inside.java/2025/10/06/jvmls-zgc-colored-pointers/
1•gudzpoz•11m ago•0 comments

Beyond Keywords and Vectors:DSL-Based Hybrid Search

https://coderswap.ai/blog/dsl-hybrid-search
1•vtaya•12m ago•1 comments

Chinese Criminals Made More Than $1B from Those Annoying Texts

https://www.wsj.com/tech/cybersecurity/url-scam-texts-china-gangs-68e96097
3•NN88•14m ago•0 comments

Secret diplomatic message deciphered after 350 years

https://www.nationalarchives.gov.uk/explore-the-collection/the-collection-blog/secret-diplomatic-...
3•robin_reala•14m ago•0 comments

Show HN: Instantly build a real website from an idea

https://www.myzylo.app
2•rhettjull•16m ago•0 comments

China tightens export rules for rare earth minerals

https://www.bbc.com/news/articles/ckgzl0nwvd7o
2•wilsonfiifi•16m ago•0 comments

An Interview with Mohamed Awad About Chiplets

https://www.chipstrat.com/p/an-interview-with-arm-gm-mohamed
2•rbanffy•16m ago•0 comments

One Republican Now Controls a Chunk of US Election Infrastructure

https://www.wired.com/story/scott-leiendecker-dominion-liberty-votes/
2•rbanffy•17m ago•0 comments

Moscow Built What Kiev Could Not

https://nopolitik.substack.com/p/rus-between-kiev-and-moscow
4•GitPopTarts•17m ago•0 comments

Hijacking Claude Code via Injected Marketplace Plugins

https://promptarmor.substack.com/p/hijacking-claude-code-via-injected
7•jackson-mcd•19m ago•0 comments

The new AI mode of my form builder

https://lightbee.io/en
2•mountain-hawk•20m ago•0 comments

Show HN: A data driven approach to hiring

https://substack.com/inbox/post/176108200
3•vb7132•22m ago•0 comments

Is New Housing Popular?

https://reason.com/2025/10/07/is-new-housing-popular/
4•mooreds•23m ago•0 comments

Mathematicians have found a hidden 'reset button' for undoing rotation

https://www.newscientist.com/article/2499647-mathematicians-have-found-a-hidden-reset-button-for-...
3•mikhael•23m ago•0 comments

x86-64 GetPC: Syscall

https://medium.com/@5yx/x86-64-getpc-syscall-02f7a3100a27
1•signa11•23m ago•0 comments

Show HN: AI meeting transcription that outputs structured minutes

https://harku.io/tools/meeting-transcription
2•howardV•24m ago•0 comments

Converting inbound leads into customers at OpenAI

https://openai.com/index/openai-inbound-sales-assistant/
3•mooreds•24m ago•0 comments

The SaaS Industrial Complex: When Their Mirror Becomes Your Mold

https://www.alephic.com/writing/the-saas-industrial-complex-when-their-mirror-becomes-your-mold
3•mooreds•24m ago•0 comments

Reprogramming obesity: New drug aims to treat the underlying causes

https://medicalxpress.com/news/2025-09-reprogramming-obesity-drug-aims-underlying.html
2•PaulHoule•28m ago•0 comments