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

We have secured a path forward to continue developing Session beyond June 8

https://web.archive.org/web/20260530000605/https://getsession.org/donate
1•Cider9986•2m ago•1 comments

Part 161. Use of Artificial Intelligence Technology

https://www.nycourts.gov/rules/part-161-use-artificial-intelligence-technology
1•dsubburam•2m ago•0 comments

Ask HN: I got a fake job offer, but why?

1•Jean-Philipe•3m ago•1 comments

FBI again warns of Kali365 phishing service targeting Microsoft 365 accounts

https://itnerd.blog/2026/05/27/fbi-again-warns-of-kali365-phishing-service-targeting-microsoft-36...
2•mooreds•4m ago•0 comments

Primate 0.39: Crossbuilding, typed path parameters and Marko 6

https://primate.run/blog/primate-039
1•hansmighty•5m ago•0 comments

Developers, It's a good time to evaluate your threat model

https://ugvx.dev/article/evaluate-your-threat-model
1•Ugvx•7m ago•0 comments

The greatest World Cup shirts – and what makes them iconic

https://www.bbc.com/sport/football/articles/cdxp7gy2ljro
1•rustoo•7m ago•0 comments

Man out of Time: The travels and ecstasies of a Russian aesthete

https://lareviewofbooks.org/article/evocations-italy-pavel-muratov-russian-travel-modernism-art/
1•lermontov•8m ago•0 comments

Florida AG files lawsuit against OpenAI, CEO Sam Altman for deceptive practices

https://www.myfloridalegal.com/newsrelease/attorney-general-james-uthmeier-files-first-nation-sta...
2•benwen•10m ago•0 comments

Zappos CEO: transparency helped employees during layoffs (2008)

https://www.zdnet.com/article/zappos-ceo-transparency-helped-employees-during-layoffs/
1•Caarticles•10m ago•0 comments

When does fragmentation occur in the CUDA caching allocator?

https://docs.pytorch.org/devlogs/eager/2026-06-01-cuda-caching-allocator/
2•matt_d•10m ago•0 comments

2026 Cotality Hurricane Risk Report

https://www.cotality.com/resources/reports/2026-hurricane-risk-report
2•toomuchtodo•10m ago•0 comments

Starting a VM from a macOS sandbox for AI agents

https://brentfitzgerald.com/posts/lima-vms-from-a-sandboxed-agent/
1•_doctor_love•11m ago•1 comments

I built a browser extension to block the FROST side-channel attack

https://github.com/HenBOMB/frost-guard/
1•henbomb•11m ago•0 comments

Enabling Evolutionary Database Development: Database Branching with Lakebase

https://www.databricks.com/blog/enabling-evolutionary-database-development-database-branching-lak...
2•kevin-h•11m ago•1 comments

SEC Charged Mark Cuban with Insider Trading (2008)

https://www.wired.com/2008/11/sec-charges-mar/
5•Caarticles•12m ago•0 comments

Wikipedia editors plot strike and banner sabotage after Wikimedia layoffs

https://www.theregister.com/software/2026/05/30/wikipedia-editors-plot-strike-and-banner-sabotage...
2•myth_drannon•14m ago•0 comments

GrapheneOS Speech Services version 2 released

https://discuss.grapheneos.org/d/36001-grapheneos-speech-services-version-2-released
1•pretext•14m ago•0 comments

Shifting Streams and AI Surges: What Our Data Reveals About the OTT Landscape

https://www.kentik.com/blog/shifting-streams-and-ai-surges-what-our-data-reveals-about-the-ott-la...
1•oavioklein•15m ago•0 comments

Relfair – relationship-aware counterfactual fairness testing

https://github.com/Archit1706/relfair
1•architrathod•15m ago•0 comments

LeanBox: Open-source inbox management agent

https://github.com/tunde-alao/leanbox
1•tonikami•18m ago•1 comments

How to Think About Investing in Korean Semiconductor Stocks

https://www.ooooo.law/board/5
1•haebom•19m ago•0 comments

The subjectively perfect shader pack [video]

https://www.youtube.com/watch?v=0QxKSjfyBRs
2•SimonLeclere•19m ago•0 comments

An agentic system from scratch to generate Google slide deck from templates

https://blog.owulveryck.info/2026/05/31/the-agentic-mesh-in-practice-anatomy-of-an-agent-product....
1•owulveryck•19m ago•0 comments

The Illusion of Perfect LLM Code

https://ariya.io/2026/05/the-illusion-of-perfect-llm-code/
2•pavel_lishin•20m ago•0 comments

AI in SRE: Where and how Google is deploying agentic AI to improve operations

https://cloud.google.com/blog/products/devops-sre/how-google-sre-is-using-agentic-ai-to-improve-o...
2•geoffbp•21m ago•0 comments

BrandOS – An AI Company Brain for Autonomous Marketing

https://www.getbrandos.site/
1•absmugz•21m ago•0 comments

Sandboxes that lie about their secrets

https://microsandbox.dev/blog/sandboxes-that-lie-about-their-secrets
2•makeboss•21m ago•0 comments

One Character in an HTTP Header Just Bypassed Authentication on 325M Servers

https://medium.com/@tbelbek/one-character-in-an-http-header-just-bypassed-authentication-on-325-m...
3•rdstrtwlkr•22m ago•1 comments

BNF Was Here

http://grammarware.net/writes/#BNF-WAS-HERE2012
1•t-3•22m ago•0 comments