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!

Corporate profits hit highest share since WWII, as worker payouts wilt

https://www.ft.com/content/6f3ada65-c56c-499c-8eb6-008fac58949d
3•marojejian•1m ago•1 comments

Show HN: A retirement planner in one HTML file, works offline, nothing uploaded

https://www.torsalis.com
2•rachelb1331•1m ago•0 comments

PC Tweaker, a Windows tweaker with per-change rollback

https://pctweaker.app/
2•xn0time•2m ago•0 comments

Ask HN: Open-source Grok bot anyone?

2•shafkathullah•4m ago•0 comments

People Are Saving Up Their Vacation Days to Binge 'Grand Theft Auto VI'

https://www.wsj.com/arts-culture/people-are-saving-up-their-vacation-days-to-binge-grand-theft-au...
2•kensai•4m ago•1 comments

Fellow Vim users help me build aeovim a better way to handle AI CLI

https://github.com/s2xon/aeovim
2•s2xon•7m ago•0 comments

I Design with AI

https://ref.tools/blog/how-i-design-with-ai
3•reactiverobot•9m ago•0 comments

Show HN: I'm auctioning 12 laser-etched logo spots on my next MacBook

https://lidbrand.com
3•phegler•10m ago•0 comments

Secrets of the Atomic City

https://longreads.com/2026/08/06/radiation-paducah-atavist/
2•mooreds•11m ago•0 comments

How An Atlanta Suburb Shares Flock Data with More Than 2k Organizations

https://www.wired.com/story/how-an-atlanta-suburb-ended-up-sharing-flock-data-with-more-than-2000...
2•dkobia•11m ago•0 comments

DHS Proposal to Eliminate 60-Day Nonimmigrant Grace Period Clears Federal Review

https://www.fragomen.com/insights/united-states-dhs-proposal-to-eliminate-60-day-nonimmigrant-gra...
2•samaysharma•11m ago•1 comments

The Executive Loop

https://www.rubick.com/the-executive-loop/
3•sciurus•12m ago•0 comments

Alternative to Openrouter

https://github.com/ConiferKit/use-conifer
3•v11climbs•13m ago•1 comments

BotBase for Operators: A clearer path to joining Cloudflare's bot directory

https://blog.cloudflare.com/botbase-for-operators/
2•dzulp0d•13m ago•0 comments

Bitcoin is great (for systemic theft of aid money)

https://www.ft.com/content/38d95298-8b9b-486a-96d3-0c6616972abb
2•JumpCrisscross•16m ago•0 comments

OpenAI: Luna Reserve

https://help.openai.com/en/articles/20001499-luna-reserve-in-codex-and-chatgpt-work
3•tosh•16m ago•0 comments

Freedom for Hacking!!1 - Renewing DMCA exemptions for software freedom

https://sfconservancy.org/news/2026/aug/27/dmca-renewal-submission-2026/
3•hn_acker•17m ago•0 comments

Show HN: Watermarks Remover: Clean LLM watermarks from text and files

https://github.com/guillaumemeyer/watermarks-remover
2•gmeyer•18m ago•0 comments

How Are You?

https://joshholtz.com/blog/2026/08/27/how-are-you.html
2•ricobecks•18m ago•1 comments

PerPageFax

https://www.perpagefax.com/
3•welsenesbros•22m ago•0 comments

Navigator n2: Frontier Computer Use at a Fraction of the Cost

https://yutori.com/n2
2•abhshkdz•23m ago•0 comments

South Korea leans toward military conscription for women

https://www.dw.com/en/south-korea-leans-toward-military-conscription-for-women/a-78547426
1•Teever•24m ago•0 comments

Narwhals document atlantification of East Greenland

https://www.science.org/doi/10.1126/sciadv.adr1424
2•croes•25m ago•0 comments

If you can't fix the models you use, fix your workflows

https://kolesnik.io/blog/fix-your-workflows
2•opwizardx•25m ago•0 comments

Single CRISPR Treatment Slashed LDL Cholesterol for a Year

https://www.nytimes.com/2026/08/28/science/an-experimental-single-time-treatment-slashed-choleste...
3•marojejian•25m ago•1 comments

The Machine Age Fund – Andreessen Horowitz

https://a16z.com/the-machine-age-fund/
2•thm•26m ago•0 comments

The teenage girls behind a $25 minimum wage fight in rural Alaska

https://19thnews.org/2026/08/nome-alaska-minimum-wage-november-ballot/
8•mooreds•26m ago•0 comments

The Download: a secretive antiaging drug and joining virtual power plants

https://www.technologyreview.com/2026/08/28/1143113/the-download-antiaging-drug-joining-virtual-p...
2•joozio•26m ago•0 comments

I Asked 100 Companies for My Data. I Got Deletion Notices Instead

https://www.wired.com/story/i-demanded-my-data-from-over-100-companies-deletion-notices-started-a...
4•speckx•27m ago•1 comments

PlaytestQuest – Discord Quests for indie game devs and players

https://playtestquest.com
1•firmgrove•27m ago•0 comments