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•10mo 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!

Social media platforms need to stop never-ending scrolling, UK's Starmer says

https://www.reuters.com/business/media-telecom/social-media-platforms-need-stop-never-ending-scro...
1•1vuio0pswjnm7•3m ago•0 comments

Attorneys Face Disciplinary Charges, License Suspension for AI Misuse

https://www.law.com/therecorder/2026/04/13/two-attorneys-face-disciplinary-charges-third-agrees-t...
1•1vuio0pswjnm7•5m ago•0 comments

Hybrid Constructions: The Post-Quantum Safety Blanket

https://soatok.blog/2026/04/13/hybrid-constructions-the-post-quantum-safety-blanket/
1•zdw•8m ago•0 comments

Show HN: Prmana – OIDC SSH Login for Linux with DPoP (Rust, Apache 2.0)

https://github.com/prodnull/prmana
1•cbchhaya•11m ago•0 comments

HR 8197 – A Bill to Terminate the All-Domain Anomaly Resolution Office

https://www.congress.gov/bill/119th-congress/house-bill/8197/text?s=1&r=1
2•OhMeadhbh•12m ago•0 comments

Reddit content moderation is broken

https://old.reddit.com/
1•pavas•13m ago•1 comments

Aura – A locally-sovereign cognitive architecture for Apple Silicon

https://github.com/youngbryan97/aura
1•bryanyoung97•14m ago•0 comments

A Dumb Introduction to Z3

https://ar-ms.me/thoughts/a-gentle-introduction-to-z3/
2•y1n0•17m ago•0 comments

Contained Codex Networking

1•orbisvicis•18m ago•0 comments

Developer to Manager

https://matthewquerzoli.com/#/blog/08-10-2025-developer-to-manager
2•Quiza12•19m ago•0 comments

An Explainer of Section 702 of the Foreign Intelligence Surveillance Act

https://www.brennancenter.org/our-work/research-reports/section-702-foreign-intelligence-surveill...
1•Cider9986•19m ago•0 comments

We're Using So Much AI That Computing Firepower Is Running Out

https://www.wsj.com/tech/ai/ai-is-using-so-much-energy-that-computing-firepower-is-running-out-15...
2•1vuio0pswjnm7•19m ago•0 comments

Everyone Has Trump's Phone Number Now

https://www.theatlantic.com/politics/2026/03/trump-phone-number/686370/
3•Cider9986•20m ago•0 comments

Medicine piggybacks onto fat absorption pathways to allow oral delivery

https://medicalxpress.com/news/2026-03-medicine-piggybacks-fat-absorption-pathways.html
2•PaulHoule•21m ago•0 comments

David Wynn Miller

https://en.wikipedia.org/wiki/David_Wynn_Miller
3•thunderbong•24m ago•0 comments

A New Computer Chip Could Withstand the Hellscape of Venus

https://www.sciencealert.com/a-new-computer-chip-could-finally-withstand-the-hellscape-of-venus
1•y1n0•30m ago•0 comments

OpenPanel – Open-Source Web and Product Analytics

https://openpanel.dev/
1•radeeyate•31m ago•0 comments

Show HN: React-native-sightline – floating dev overlay for FPS/memory/re-render

https://github.com/Srikanth-AD/react-native-sightline
2•stackdirector•33m ago•0 comments

Meta spins up AI version of Mark Zuckerberg to engage with employees

https://arstechnica.com/ai/2026/04/meta-spins-up-ai-version-of-mark-zuckerberg-to-engage-with-emp...
3•cratermoon•34m ago•2 comments

AI Agent Stores – Making Shopee Products Findable by ChatGPT and Perplexity

https://www.bbiz.shop/blog
3•kenttuzuu•37m ago•1 comments

DaVinci Resolve releases Photo Editor

https://www.blackmagicdesign.com/products/davinciresolve/photo
2•thebiblelover7•37m ago•0 comments

108 Chrome Extensions Linked to Data Exfiltration and Session Theft via C2

https://socket.dev/blog/108-chrome-ext-linked-to-data-exfil-session-theft-shared-c2
2•jbegley•38m ago•0 comments

A Primer on Datacenters

https://www.generativevalue.com/p/a-primer-on-data-centers
1•sneakerblack•42m ago•0 comments

Agentic coding at enterprise scale demands spec-driven development

https://venturebeat.com/orchestration/agentic-coding-at-enterprise-scale-demands-spec-driven-deve...
1•y1n0•46m ago•0 comments

Automated Conjecture Resolution with Formal Verification

https://arxiv.org/abs/2604.03789
1•throwaway81523•51m ago•0 comments

Ente Hackathon #2

https://ente.com/blog/ente-hackathon-2026-april/
1•Cider9986•52m ago•0 comments

United CEO Has Pitched Possible Tie-Up with Rival American

https://www.bloomberg.com/news/articles/2026-04-13/united-ceo-has-pitched-possible-combination-wi...
2•mancerayder•53m ago•2 comments

World Quantum Day 2026

https://doodles.google/doodle/world-quantum-day-2026/
2•mxfh•53m ago•0 comments

Matrix-Game 3.0: Real-Time and Streaming Interactive World Model

https://matrix-game-v3.github.io/
2•pella•1h ago•0 comments

An Amazon warehouse worker died on the job at Oregon facility

https://techcrunch.com/2026/04/13/an-amazon-warehouse-worker-died-on-the-job-at-oregon-facility/
4•cebert•1h ago•1 comments