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!

Superlogical Public Testing

https://www.superlogical.com/updates/public-testing-beginning
1•hmokiguess•3m ago•0 comments

Show HN: CLI for Vedic Astrological Charts (local calculations)

https://github.com/dhruvkar/kundali
1•dhruvkar•3m ago•0 comments

The New Age of Reading

https://www.newyorker.com/magazine/2026/10/26/james-daunt-profile
1•gmolau•3m ago•0 comments

ECS, ECS or ECS? What's the Difference?

https://www.immibis.com/blog/ecs-vs-ecs
2•immibis2•5m ago•0 comments

Deepfake of Washington County, Oregon, Candidate Goes Viral Nationwide

https://www.oregonjournalismproject.org/deepfake-of-washington-county-oregon-candidate-goes-viral...
2•aliasxneo•7m ago•0 comments

Bringing AI into business is hard

https://pindexis.github.io
2•pindexis•8m ago•0 comments

I Built a Stereo Vision Board for Hardware Hackers

https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/
1•machinehum•8m ago•0 comments

Customer Service Chatbots Must Be Stopped

https://www.nytimes.com/2026/10/20/opinion/mamdani-ai-rule-customer-service-doom-loop.html
1•motionlessveloc•9m ago•0 comments

ChatGPT Dot Review: Your Chief of Staff Is Still an Intern

https://metedata.substack.com/p/chatgpt-dot-review-your-chief-of
1•young_mete•11m ago•0 comments

US bans DeepSeek from federal agencies, prompting angry response from China

https://www.techspot.com/news/114269-us-bans-deepseek-ai-tools-built-models-federal.html
1•messpoiun•14m ago•1 comments

Lectronz – marketplace for DIY/open electronic music instruments

https://lectronz.com/
1•gregsadetsky•15m ago•0 comments

Certifi bundles emSign root CAs with compromised intermediate CA keys

https://github.com/advisories/GHSA-6q48-6c7w-9gw2
1•codingjoe•16m ago•1 comments

Relagram: Story of RL Research

https://nevolodia.com/thoughts/001/
1•nevolodia•17m ago•0 comments

Prometheus: Meta's Journey to a Gigawatt-Scale Supercluster

https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-sca...
1•gmays•17m ago•0 comments

Xkcd: Random Number

https://xkcd.com/221/
1•hasheddan•18m ago•1 comments

Despite Spyware Attacks on Its Own Officials, EU Response Falls Short

https://www.techpolicy.press/despite-spyware-attacks-on-its-own-officials-eu-response-falls-short/
2•jruohonen•19m ago•0 comments

Show HN: TapRev – Your phone rings for every sale, across 11 payment platforms

https://apps.apple.com/us/app/taprev-saas-revenue-tracker/id6758924195
1•yazeedaloyoun•20m ago•0 comments

Show HN: Classic Ads – A Chrome extension I made to make ads look like ads again

https://classic-ads.com/
1•sampenny•21m ago•0 comments

Judge Orders Meta to Name Employees Who Approved Torrenting

https://torrentfreak.com/judge-orders-meta-to-name-employees-who-approved-torrenting-annas-archiv...
11•franczesko•22m ago•1 comments

SpaceX's data centre deals boost revenue by 161%

https://www.ft.com/content/f2a2a578-5a2e-42ff-b4c9-8bafff271b37
2•JumpCrisscross•23m ago•0 comments

Musk Ordered Starlink Slowdown That Blindsided Ukraine

https://www.wsj.com/world/ukraine-starlink-elon-musk-trump-dbc49193
16•jaredwiener•25m ago•1 comments

Devvit – Release 0.15.0: API Updates and Expanded Mode Improvements

https://www.reddit.com/r/Devvit/comments/1xau8ru/release_0150_api_updates_expanded_mode/
1•katzenberg•25m ago•0 comments

Learn everything about protein engineering

https://grimoire.bio/protein-engineering
1•ibobev•26m ago•0 comments

How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?

https://arxiv.org/abs/2609.40303
1•ibobev•28m ago•0 comments

Current policy might be harmful for the representation of constituents

https://civicpivot.blogspot.com/2026/10/protocol-over-bureaucracy-replacing.html
1•civicpivot•29m ago•0 comments

Ask HN: Will AI = extreme concentration of power?

1•atleastoptimal•31m ago•3 comments

Show HN: Agent-Zero – Starter template for AI-native coding projects

https://github.com/amorey/agent-zero
1•andres•33m ago•0 comments

Declarative WASM GC Types

https://blog.veritates.love/decl-wasm-types
1•ibobev•34m ago•0 comments

What's on That Access Port?

https://danielmangum.com/posts/whats-on-that-access-port/
1•hasheddan•37m ago•0 comments

Emudrahahahahaha

https://github.com/Fluepke/emudrahahahahaha
1•hasheddan•38m ago•0 comments