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!

RFC 9396: OAuth 2.0 Rich Authorization Requests

https://ciamweekly.substack.com/p/rfc-9396-oauth-20-rich-authorization
1•mooreds•2m ago•0 comments

The electric fast-track for emerging markets

https://ember-energy.org/latest-insights/the-electric-fast-track-for-emerging-markets/
1•mooreds•2m ago•0 comments

The Hollow Web

https://page.love/blog/01-the-hollow-web.html
1•mooreds•2m ago•0 comments

MMW: There will be a violent backlash against the weird push for digital ID laws

https://old.reddit.com/r/MarkMyWords/comments/1scjmjs/mmw_there_will_be_a_violent_backlash_agains...
1•mostcallmeyt•4m ago•0 comments

Data Anomalies in Search Console

https://support.google.com/webmasters/answer/6211453?hl=en
1•taubek•4m ago•0 comments

Understand business logic in your code with diagram

https://www.biral.io/
1•dipikasgp•4m ago•1 comments

The People Who Shun Super-Popular Pop Culture

https://www.theatlantic.com/culture/2026/03/pop-culture-hype-aversion/686312/
1•fortran77•5m ago•1 comments

Drivers May Soon Pay Taxes Based on How Much Their Car Weighs

https://www.autoblog.com/news/drivers-may-soon-pay-taxes-based-on-how-much-their-car-weighs
1•zzzeek•6m ago•0 comments

Starving Genies, from Kent Beck

https://tidyfirst.substack.com/p/starving-genies
1•reg_dunlop•9m ago•0 comments

AI facial analysis that runs in the browser (no uploads, 17 metrics)

https://realsmile.online
1•realsmile•10m ago•0 comments

Use Keycloak to Log into Google Workspace via SAML SSO (2024)

https://medium.com/@MszPro/use-keycloak-to-log-into-google-workspace-keycloak-25-saml-sso-a9b9923...
1•walterbell•12m ago•1 comments

Show HN: Cabinet – Kb+LLM (Like Paperclip+Obsidian)

https://runcabinet.com
6•Hilash•14m ago•6 comments

Myth of the AI Oracle

https://www.lawfaremedia.org/article/myth-of-the-ai-oracle
1•GiraffeNecktie•15m ago•0 comments

Consent, Intent, and Privacy in macOS

https://eclecticlight.co/2026/04/05/last-week-on-my-mac-consent-intent-and-privacy/
1•chmaynard•16m ago•0 comments

Google Fitbit is working on a screenless fitness band, to compete with Whoop

https://www.neowin.net/news/google-apparently-working-on-a-screenless-fitness-band-to-compete-wit...
1•bundie•16m ago•0 comments

Great Plains Shelterbelt

https://en.wikipedia.org/wiki/Great_Plains_Shelterbelt
1•xbryanx•17m ago•0 comments

Font Generator Free – 30 Unicode Font Styles for Social Media

https://fontgeneratorfree.online/
1•billyhe•17m ago•1 comments

Show HN: Crabby – Claude Code skill that reviews code like the Rust compiler

1•ekadet•18m ago•0 comments

A brain scan before a prescription? Geneva's bet on precision psychiatry

https://www.swissinfo.ch/eng/ai-and-medicine/a-brain-scan-before-a-prescription-genevas-bet-on-pr...
2•giuliomagnifico•21m ago•0 comments

CVE-1999-1218 – Amiga Unix allows access to files using finger

https://exchange.xforce.ibmcloud.com/vulnerabilities/522
1•TMWNN•22m ago•0 comments

Why make Claude talk like Rocky, question?

https://github.com/Tom1827/claude-rocky-skill
1•mft_•24m ago•0 comments

Revised: 6-Gate AI Pipeline for RSpec-to-Minitest Migration

https://augmentedcode.dev/multi-agent-pipeline-minitest-migration/
1•viktorianer•26m ago•0 comments

Almost half of Gen Z women want to be Trad wives

https://edubirdie.com/blog/gen-z-women-are-done-chasing-girlboss-ranking-their-dream-lives
3•DivingForGold•31m ago•2 comments

Show HN: AI-agent instructions to restore Claude Pro/Max in OpenCode

https://github.com/jcubic/opencode-claude-plan
1•jcubic•32m ago•0 comments

Why domain specific LLMs won't exist: an intuition

https://simianwords.bearblog.dev/why-domain-specific-llms-wont-exist-an-intuition/
2•simianwords•33m ago•1 comments

Iguanaworks has closed down. USB Infrared hardware open source maker

http://iguanaworks.net/products/usb-ir-transceiver.html
14•ripe•35m ago•0 comments

Someone at BrowserStack Is Leaking Users' Email Address

https://shkspr.mobi/blog/2026/04/someone-at-browserstack-is-leaking-users-email-address/
25•m_km•39m ago•4 comments

Finnish sauna heat exposure induces stronger immune cell than cytokine responses

https://www.tandfonline.com/doi/full/10.1080/23328940.2026.2645467#abstract
4•Growtika•39m ago•0 comments

Can Anything Stop Kalshi?

https://thehustle.co/originals/can-anything-stop-kalshi
1•Anon84•39m ago•0 comments

Fine-tuning Whisper to my speech: 27% to 6.5% WER

https://vivekkairi.com/fine-tuning-whisper-for-atypical-speech-pattern/
1•vivekkairi•42m ago•0 comments