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

Saudi Arabia Backs Elon Musk's XAI with Data Center Deal

https://www.nytimes.com/2025/11/19/technology/saudi-arabia-elon-musk-xai.html
1•fleahunter•42s ago•0 comments

Meta Segment Anything Model 3

https://ai.meta.com/blog/segment-anything-model-3/?_fb_noscript=1
1•alcinos•1m ago•0 comments

Ask HN: Image Recognition

1•davidajackson•1m ago•0 comments

To Evade Sanctions, the Kremlin Turns to Convicted Money Launderer Ilan Shor

https://www.lawfaremedia.org/article/to-evade-sanctions--the-kremlin-turns-to-a-convicted-money-l...
2•sigwinch•3m ago•0 comments

Breaking the Drone Speed World Record in Dubai [video]

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

Global Privacy Control

https://en.wikipedia.org/wiki/Global_Privacy_Control
1•amelius•5m ago•0 comments

Elaris UI

https://github.com/ambystechcom/Ambystech.Elaris.UI
1•tavobarrientos•5m ago•0 comments

Slicing Is All You Need: Towards a Universal One-Sided Distributed MatMul

https://arxiv.org/abs/2510.08874
1•matt_d•6m ago•0 comments

Server virtualization market heats up to win VMware refugees

https://www.theregister.com/2025/11/17/gartner_server_virtualization_guide/
1•speckx•7m ago•0 comments

Specialized CSV readers for Rust leveraging hybrid SIMD techniques

https://docs.rs/simd-csv/latest/simd_csv/
1•todsacerdoti•7m ago•0 comments

Show HN: Terminal roguelike using Entity-Component-System in pure Ruby

https://github.com/Davidslv/vanilla-roguelike
1•davidslv•8m ago•1 comments

Not redefining Chrome, but fixing the workflow

https://chromewebstore.google.com/detail/tapone-—-all-in-one-short/cgjeegkgkbnfldccmknbacfaaejd...
1•kii9999•9m ago•0 comments

Show HN: I built a 100ml shot with 25 g protein and 100 calories

https://protein.inc/#flavors
1•aakiverse•9m ago•0 comments

What Most Americans Don't Know About NAFTA's Wreckage South of the Border

https://conradkottak.substack.com/p/what-most-americans-dont-know-about
4•bryanrasmussen•13m ago•0 comments

Comparative Analysis of Media Bias in 8 Western Media Outlets

https://www.mediabiasmeter.com/framing-gaza-media-bias-report-2025
3•pbiggar•13m ago•0 comments

Enshittification of Google Docs

https://sergey.substack.com/p/enshittification-of-google-docs
7•neural_thing•15m ago•0 comments

Bigger datasets aren't always better

https://news.mit.edu/2025/bigger-datasets-arent-always-better-1118
3•tzury•15m ago•0 comments

Show HN: ChunkBack – A Fake LLM API server for testing apps without paying

https://github.com/4shub/chunkback
3•forthwall•16m ago•0 comments

Throwing the Flying Spaghetti Monster at the Wall

https://heatherburns.tech/2025/11/17/throwing-the-flying-spaghetti-monster-at-the-wall/
2•hn_acker•16m ago•0 comments

Ask HN: What is the current state of the art in BIG (>5TB) cloud backups?

3•jacobwilliamroy•16m ago•0 comments

WhoSampled Is Joining Spotify

https://www.whosampled.com/news/2025/11/19/whosampled-is-joining-spotify/
2•saeedesmaili•16m ago•0 comments

Bright and Dark States of Light: The Quantum Origin of Classical Interference

https://link.aps.org/doi/10.1103/PhysRevLett.134.133603
2•stevenjgarner•17m ago•0 comments

Delete Social Media

https://deletesocialmedia.idontknowhatimdoing.com/
3•daRepo90•17m ago•0 comments

Dumb Ways to Die: Printed Ephemera

https://ilovetypography.com/2025/11/19/dumb-ways-to-die-printed-ephemera/
2•jjgreen•18m ago•0 comments

Monarch Tractor sued over tractors that were 'unable to operate autonomously'

https://techcrunch.com/2025/11/18/monarch-tractor-sued-over-tractors-that-were-unable-to-operate-...
2•pseudolus•18m ago•0 comments

Games industry's self-induced traumatic brain injury

https://pluralistic.net/2025/11/17/stop-killing-games-again/
3•hn_acker•20m ago•0 comments

YouTube Is Awful. I'm Not Posting There Anymore

https://joshgriffiths.site/youtube-is-awful-im-not-posting-there-anymore/
6•speckx•21m ago•2 comments

Public greenspaces unevenly distributed in many U.S. communities

https://phys.org/news/2025-10-greenspaces-unevenly-communities-residents-walkable.html
6•PaulHoule•23m ago•0 comments

Managing spatial tables in Data Lakehouses with Iceberg

https://sedona.apache.org/latest/blog/2025/10/21/managing-spatial-tables-in-data-lakehouses-with-...
2•MrPowers•23m ago•0 comments

Seastar: High performance server-side C++ application framework

https://github.com/scylladb/seastar
3•klaussilveira•24m ago•0 comments