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

The Adventures of Reemo Green [video]

https://www.youtube.com/watch?v=5bYA2Rv2CQ8
1•tantalor•1m ago•0 comments

Field-Programmable Logic 2025 Best Paper Awards and FPL Community Award

https://2025.fpl.org/program/best-paper-awards/
1•gnabgib•2m ago•0 comments

Godot 4.5, making dreams accessible – Godot Engine

https://godotengine.org/releases/4.5/
1•makepanic•3m ago•0 comments

ChatPerson, our new RI (real intelligence) service

https://www.mcsweeneys.net/articles/introducing-chatperson
2•Geekette•5m ago•1 comments

What problems are worth solving?

1•KopyWasTaken•5m ago•0 comments

Rustlantis: Randomized Differential Testing of the Rust Compiler

https://plf.inf.ethz.ch/research/oopsla24-rustlantis.html
2•mooreds•7m ago•0 comments

Deaths are projected to exceed births in 2031

https://www.cbo.gov/publication/61390
4•johntfella•7m ago•0 comments

CLion Introduces Constexpr Debugger

https://blog.jetbrains.com/clion/2025/09/introducing-constexpr-debugger/
2•vitaut•7m ago•0 comments

Show HN: Blocks – Dream work apps and AI agents in minutes

https://blocks.diy
1•shelly_•9m ago•0 comments

Stategraph – Terraform without the state file bottleneck

https://stategraph.dev
1•lawnchair•9m ago•0 comments

Widespread Data Theft Targets Salesforce Instances via Salesloft Drift

https://cloud.google.com/blog/topics/threat-intelligence/data-theft-salesforce-instances-via-sale...
1•mooreds•10m ago•0 comments

Ghost Kitchens Are Dying. Here's the $15B Lesson Every Restaurateur Must Learn

https://davidrmann3.substack.com/p/ghost-kitchens-are-dying-heres-the
2•mooreds•10m ago•1 comments

The importance of sandboxing and access control in AI agents

https://gr1m0ire.xyz/articles/sandboxing_ai_agents
1•gemini-15•10m ago•0 comments

Elon Musk Promises Full Self-Driving "Next Year" [2014-2024]

https://www.youtube.com/watch?v=B4rdISpXigM
5•JumpinJack_Cash•14m ago•0 comments

One-Third of the Internet Is Bots Now

https://www.vice.com/en/article/yep-one-third-of-the-internet-is-just-bots-now/
4•bookofjoe•16m ago•1 comments

Nano BiBi – a free, AI creation platform powered by Google's Nano Banana

https://nanobibi.com/en
1•jokera•17m ago•1 comments

Show HN: Httpjail – HTTP(s) request filter for processes

https://github.com/coder/httpjail
2•ammario•18m ago•0 comments

I wrote an algorithm that matches you with an IRL group of nearby friends

https://klatchmaker.com/
1•v_dixon•18m ago•1 comments

Iron Vector: 50% Cost Reduction for Apache Flink Workloads

https://irontools.dev/blog/introducing-iron-vector/
1•matthewhelm•20m ago•0 comments

A Look at Not an Android Emulator

https://hackaday.com/2025/09/10/a-look-at-not-an-android-emulator/
2•wicket•20m ago•0 comments

TikTok deal 'framework' reached with China, Trump and Xi will finalize it Friday

https://www.cnbc.com/2025/09/15/trump-tiktok-china.html
3•rmason•20m ago•1 comments

"Null" breaks Swift bank transfer

https://twitter.com/matthieunapoli/status/1967559805025009931
3•bfoks•26m ago•0 comments

Lite and Text Only News and Other Websites

https://bmk.neocities.org/
3•Bender•28m ago•0 comments

Scryer Prolog Meetup 2025

https://hsd-pbsa.de/veranstaltung/scryer-prolog-meetup-2025/
3•aarroyoc•28m ago•0 comments

I'm Back, Bb

https://littlefeelings.substack.com/p/im-back-bb
1•martialg•28m ago•0 comments

A Figma plugin for Laser Cutting

https://www.heyraviteja.com/post/portfolio/laser-cuts/
1•catchmeifyoucan•32m ago•0 comments

I Am Rich (iPhone App)

https://en.wikipedia.org/wiki/I_Am_Rich
8•jethronethro•37m ago•0 comments

Beli Ate Yelp

https://www.nytimes.com/2025/09/15/dining/beli-restaurant-app.html
1•frenchman_in_ny•37m ago•0 comments

Cagot

https://en.wikipedia.org/wiki/Cagot
1•thunderbong•38m ago•0 comments

Elon Musk Buys $1B in Tesla Stock as Board Defends His Pay New York Times

https://www.nytimes.com/2025/09/15/business/elon-musk-buys-tesla-shares.html
4•janandonly•38m ago•1 comments