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

UnifyBio: Power Tools for Translational Data Science – Benjamin Kamphaus [video]

https://www.youtube.com/watch?v=HU-uwSUZETw
1•todsacerdoti•49s ago•0 comments

Show HN: Dbzero – Code as if you have infinite RAM (Python persistence engine)

https://github.com/dbzero-software/dbzero
1•dbzero•2m ago•1 comments

What's new in Swift: December 2025 Edition

https://www.swift.org/blog/whats-new-in-swift-december-2025/
1•g0ld3nrati0•5m ago•0 comments

Capital One is wary about its rising Amazon cloud AI costs

https://www.businessinsider.com/nvidia-memo-capital-one-explores-aws-alternatives-ai-control-cost...
1•cebert•5m ago•0 comments

2025 was the beginning of the end of the TV brightness war

https://www.theverge.com/tech/841054/tv-brightness-hdr-2025
1•jnord•6m ago•0 comments

James Webb Space Telescope confirms first 'runaway' supermassive black hole

https://www.space.com/astronomy/black-holes/james-webb-space-telescope-confirms-1st-runaway-super...
1•jnord•7m ago•0 comments

Intel's new Arizona fab, where the chipmaker's fate hangs in the balance

https://www.cnbc.com/2025/12/19/intel-aims-to-find-clients-and-catch-tsmc-with-new-chip-fab-in-ar...
1•giuliomagnifico•12m ago•0 comments

OpenAI might train on responses API data

1•kissgyorgy•12m ago•0 comments

(Generational) Shenandoah GC (Low Latency) Support in GraalVM Native Images

https://github.com/oracle/graal/issues/12237
1•lichtenberger•13m ago•0 comments

Tips for Buying Servers in 2026

https://blog.rackout.net/buying-servers-2026-tips-surviving-ram-ssd-price-spikes
2•matt-p•21m ago•3 comments

Show HN: SoundlyFM, a minimal radio app for background listening

https://soundlyfm.com/
1•onecookie•24m ago•0 comments

How I Made My Own Apple Watch – In China [video]

https://www.youtube.com/watch?v=DsWTz8NrXOY
1•xbmcuser•24m ago•0 comments

LoongArch Promoted to Being an Official Architecture for Debian 14

https://www.phoronix.com/news/Debian-LoongArch64-Official
2•rbanffy•26m ago•0 comments

Building a Multi- Site Kubernetes Cluster with BGP Anycast

https://kyriakos.papadopoulos.tech/posts/multi-site-kubernetes-bgp/
1•voxadam•26m ago•1 comments

Why Some Men Pretend to Work 80-Hour Weeks (2015)

https://hbr.org/2015/04/why-some-men-pretend-to-work-80-hour-weeks
2•dvfjsdhgfv•27m ago•1 comments

You Are Not the Code

https://double-dissent.fika.bar/you-are-not-the-code-01KBYRMJG8W0PC853BHAKW5JC4
1•txus•28m ago•0 comments

With Less Regulation, Your Oura Ring Could Do More

https://www.wsj.com/opinion/with-less-regulation-your-oura-ring-could-do-more-af90a76d
1•Bostonian•28m ago•1 comments

Hackers Stole Pornhub Users' Data for Extortion

https://www.wired.com/story/security-news-this-week-hackers-stole-millions-of-pornhub-users-data-...
3•fleahunter•33m ago•0 comments

Deploy your podcast server fed from from YouTube channels

https://github.com/n0vella/yt2podcast
2•n0vella•36m ago•1 comments

This Rocket Engine Wasn't Designed by Humans [video]

https://www.youtube.com/watch?v=6Xx1GXjRbMk
1•zeristor•42m ago•1 comments

Y Combinator

https://twitter.com/tsoding/status/2002207228070105287
2•throwaway2027•44m ago•0 comments

Airbus moving critical systems away from AWS, Google, and MS

https://old.reddit.com/r/europe/comments/1pqucbz/airbus_moving_critical_systems_away_from_aws/
5•taubek•45m ago•1 comments

delete me babeh

1•casenmgreen•49m ago•0 comments

Qntm's Power Tower Toy

https://qntm.org/files/knuth/knuth.html
1•ravenical•50m ago•0 comments

Do You Know What Time It Is? If You're on Mars, Now You Do

https://www.universetoday.com/articles/do-you-know-what-time-it-is-if-youre-on-mars-now-you-do
1•rbanffy•50m ago•0 comments

Building the AI Factory Datacenter

https://www.nextplatform.com/2025/12/18/building-the-ai-factory-datacenter/
1•rbanffy•52m ago•0 comments

Revenge of the Dilettantes

https://contraptions.venkateshrao.com/p/revenge-of-the-dilettantes
1•jger15•53m ago•0 comments

Making Contrails Visible: AI Insights into Aviation's Climate Impact Using Sat

https://zenodo.org/records/17534712
1•complex_pi•59m ago•1 comments

Computer Crime in 1980 at DePaul University [video]

https://www.youtube.com/watch?v=Z8eh4v7z2Rk
1•SirFatty•1h ago•2 comments

Amstrad PPC 640 cyberdeck gets a Raspberry Pi makeover

https://www.raspberrypi.com/news/amstrad-ppc-640-cyberdeck-gets-a-raspberry-pi-makeover/
1•rcarmo•1h ago•0 comments