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!

Show HN: Lines of C, Beats QOI

https://github.com/OzzyMitchell/tinycodec
1•ozzymitchell•9m ago•0 comments

Why AI task-level productivity doesn't translate to organizational throughput

https://pub.towardsai.net/the-hamster-paradox-36dd0d950568
1•younss•9m ago•0 comments

Oversight Has Capacity: Calibrating Agent Guards to a Subjective Fatiguing Human

https://arxiv.org/abs/2606.08919
1•Jimmc414•12m ago•0 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
1•walrus01•16m ago•0 comments

Changelog to README: testing LLM update strategies

https://codecut.ai/readme-update-from-release-notes/
1•khuyentran1401•17m ago•0 comments

Meeting Buddy – A Cute Mascot That Parachutes in Before Your Meetings (macOS)

https://apps.apple.com/us/app/meeting-buddy-tiny-companion/id6811563656?mt=12
1•xuho•19m ago•0 comments

Gentle AI: AI Coding Ecosystem

https://gentle-ai.gentlemanprogramming.com/
1•OlivOnTech•27m ago•0 comments

Show HN: The Livability Map of Japan

https://kodawari.nimikko.co.jp/
1•asutekku•28m ago•1 comments

Organic Driven Development

https://github.com/stir084/organic-driven-development/blob/main/README.md
2•OlivOnTech•32m ago•0 comments

Why don't more developers "use the platform"?

https://nolanlawson.com/2026/10/03/why-dont-more-developers-use-the-platform/
21•vinhnx•36m ago•5 comments

What's the Future for Pure Math Research in the Age of AI? [Wolfram]

https://www.youtube.com/watch?v=gPrWX8i1htM
1•agnosticmantis•42m ago•0 comments

Show HN: SuperLocalMemory 4.0 "Governed Memory Operating System for AI Agents"

https://arxiv.org/abs/2608.08253
1•vpbhardwaj•50m ago•0 comments

Open ADS-B Telemetry and Flight Dynamics Registry for Flydubai FZ1073

https://evgeny1971.github.io/fz1073-investigation/
1•genvinnikov•51m ago•0 comments

Call It Evil: Understanding the Trump Era

https://wwnorton.co.uk/books/9781324131045-call-it-evil
2•hkhn•52m ago•0 comments

Show HN: LC3 VM in Golang

https://github.com/shraddhaag/toyvm
1•shraddhaag•1h ago•0 comments

The East Asian Fertility Disaster

https://twitter.com/MoreBirths/status/2097805266473324859
1•barry-cotter•1h ago•0 comments

Lego Machine Plays Tic-Tac-Toe

https://www.youtube.com/watch?v=soklpa_JZOI
1•suopspaces•1h ago•0 comments

Pi-based coding agent with hard budget caps

https://kimchi.dev/
1•testycool•1h ago•1 comments

Write Your Own Virtual Machine

https://www.jmeiners.com/lc3-vm/
2•shraddhaag•1h ago•0 comments

Forms in HTML Tables

https://forum.palemoon.org/viewtopic.php?t=33817
2•mimasama•1h ago•0 comments

AI can clone your indie game, but not its soul

https://twitter.com/robertvaradan/status/2106061989122334778
8•robertvaradan•1h ago•0 comments

Iran says it seized US underwater vehicle conducting 'espionage'

https://thearabweekly.com/iran-says-it-seized-us-underwater-vehicle-conducting-espionage
9•snarky-comments•1h ago•2 comments

Survival Ball Versus: The Sabbatical Sprint

https://lopespm.com/2026/10/04/survival_ball_versus.html
1•lopespm•1h ago•0 comments

Chalkboard and Avatar for AI Agents

https://github.com/zohayrslileh/more-space
1•zouhirdx•1h ago•1 comments

Give your AI agent awareness of what's happening around you

https://github.com/SyncSo-Inc/syncso
1•ts3479•1h ago•0 comments

Musk explains why Tesla Robotaxi isn't running at night, and Lidar is the answer

https://electrek.co/2026/10/03/tesla-robotaxi-pets-night-musk-lidar/
7•cisc•1h ago•0 comments

China's space plane appears to have released a mystery object in orbit

https://www.space.com/space-exploration/launches-spacecraft/chinas-space-plane-appears-to-have-re...
5•mooreds•1h ago•0 comments

What is the true reach of a human being?

https://www.echohive.ai/the-reach-of-being
1•echohive42•1h ago•0 comments

Ask HN: How different is Apple App Store and Play Store paid apps market

1•sahil423•1h ago•0 comments

What September's Employment Numbers Say [video]

https://www.youtube.com/watch?v=mlZg8gQAUTk
1•mooreds•1h ago•0 comments