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!

Geely's AI fast charging 'heals' EV batteries for 20% more cycle life

https://electrek.co/2026/09/25/geely-ai-fast-charging-heals-ev-batteries-pulse-restoration/
1•MilnerRoute•4m ago•0 comments

Marginalia Search

https://marginalia-search.com/
1•thunderbong•4m ago•0 comments

Utilizing Enzymes to Help Treat Tuberculosis

https://www.caltech.edu/about/news/utilizing-enzymes-to-help-treat-tuberculosis
1•gmays•12m ago•0 comments

Sousveillance

https://en.wikipedia.org/wiki/Sousveillance
1•xeonmc•14m ago•0 comments

Agentic Hacker News

https://hackernews-agentic.pages.dev/
2•measurablefunc•17m ago•0 comments

Why Red Hat Dropped Btrfs and Standardized on XFS in RHEL

https://pbxscience.com/why-red-hat-dropped-btrfs-and-standardized-on-xfs-in-rhel/
2•cromka•23m ago•1 comments

I woke up to see 580 CVE's in 16 deployments

https://farshid.co.uk/entry/i_woke_up_to_see_580_cve_s_in_16_deployments
2•rodmena•26m ago•0 comments

Screw Is Needed for Missiles and Planes. Buying One Can Take Years

https://www.nytimes.com/2026/09/26/business/ball-screws-military-production.html
1•jonah•31m ago•1 comments

What do you do now as a software engineer?

2•fawazali•32m ago•2 comments

Fast poker hand evaluation via hardware synthesis and bitslicing

https://roderickgreen.com/posts/fast-poker-hand-eval/
1•rgreen•34m ago•1 comments

Credence – Jev-style typed decisions from a local GGUF model

https://github.com/bulyaki/Credence
1•naughtiusmax•34m ago•0 comments

The history of Big Tech (it's darker that you think)

https://www.youtube.com/watch?v=lLHl1_Sz7A8
1•louwrentius•37m ago•0 comments

Practical lessons on building software with LLMs and automated governance

https://banes-lab.com/
2•jay-baleine•39m ago•0 comments

ShinyHunters hackers say they stole psychiatric and medical records of FBI staff

https://www.reuters.com/world/shinyhunters-hackers-say-they-stole-psychiatric-medical-records-fbi...
1•wyclif•41m ago•0 comments

"can't a guy walk down the street anymore without being harassed by AI" [video]

https://bsky.app/profile/cabel.panic.com/post/3mwgo5kml3r2z
3•LeoPanthera•42m ago•0 comments

Show HN: Detailed Guide to Agent Memory

https://www.cognee.ai/agent-memory
2•vasa_•49m ago•0 comments

What reversing, modernising old games tells us about the economic impact of AI

https://this.os.isfine.org/blog/posts/what-reverse-engineering-and-modernising-an-old-war-game-te...
1•keeda•50m ago•1 comments

344,799 Bible cross-references

https://trekhleb.dev/bible-cross-references/
1•trekhleb•59m ago•0 comments

Universe, Drawn in ASCII

https://gcdatlas.vercel.app/
2•abetusk•1h ago•1 comments

First ever 3D animation (40 year old 3D computer graphics Pixar 1972)

https://www.youtube.com/watch?v=T5seU-5U0ms
3•nmstoker•1h ago•0 comments

Things You Notice Rewatching Ed, Edd N Eddy as an Adult

https://noxluneworld.com/darkest-cartoon-network-episodes/
2•makic•1h ago•0 comments

If Frank Lloyd Wright's Falling Water Was a Tree House (2012)

https://weburbanist.com/2012/03/17/if-wrights-falling-water-were-a-tree-house/
2•WarOnPrivacy•1h ago•1 comments

Top AI companies probing security incidents

https://www.axios.com/2026/09/26/openai-anthropic-thousands-ai-security-incidents
4•Balgair•1h ago•0 comments

react-html-3.2

https://jkosoy.github.io/react-html-3.2/
1•jkosoy•1h ago•2 comments

Laser Weapons Will Be Deployed at Cape Canaveral Spaceport to Take Down Drones

https://www.twz.com/news-features/space-force-getting-lasers-to-kill-drones-over-cape-canaveral-s...
2•cisc•1h ago•0 comments

Interpolating Between Neural Networks

https://flx.ai/2026/interpolating-between-neural-networks
1•flxai•1h ago•0 comments

Allegations of sexual harassment and rape at Bay Area AI party houses

https://www.kron4.com/news/technology-ai/report-details-allegations-of-wild-parties-sexual-harass...
8•lukewarm707•1h ago•0 comments

The Duo. No, the Other Duo

https://morrick.me/archives/10418
2•_Microft•1h ago•0 comments

Ask HN: Any books, list of papers, or articles to understand LLM's

1•forkbomb123•1h ago•0 comments

BubbleRumble: The new social for crypto by Jae Kwon

https://bubblerumble.net
2•arielhavila•1h ago•2 comments