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

Ask HN: Why I can't enable Chrome Gemini Nano on my MacBook with M1?

1•denis4inet•1m ago•0 comments

Marissa Mayer's new startup Dazzle raises $8M

https://techcrunch.com/2025/12/23/marissa-mayers-new-startup-dazzle-raises-8m-led-by-forerunners-...
1•holografix•12m ago•0 comments

Eye blink monitoring to prevent dry eyes

https://www.blinkingmatters.com/download
2•predkambrij•26m ago•0 comments

A Guide to Claude Code 2.0 and getting better at using coding agents

https://sankalp.bearblog.dev/my-experience-with-claude-code-20-and-how-to-get-better-at-using-cod...
1•dejavucoder•26m ago•0 comments

'The Tree of Life' review: The ancestor at the root of it all

https://www.wsj.com/arts-culture/books/the-tree-of-life-review-the-ancestor-at-the-root-of-it-all...
1•hhs•30m ago•0 comments

Show HN: attainable – The fastest and easiest way to design and deploy APIs

https://attainable.dev
1•clintjhill•30m ago•0 comments

Toward Training Superintelligent Software Agents Through Self-Play SWE-RL

https://arxiv.org/abs/2512.18552
1•klipt•34m ago•0 comments

Direct Memory Access Cheat-Anticheat Evolution Timeline

https://isdmadead.com/
2•areoform•38m ago•0 comments

Why Reliability Demands Functional Programming

https://blog.rastrian.dev/post/why-reliability-demands-functional-programming-adts-safety-and-cri...
4•rastrian•38m ago•0 comments

Construction of ubiquitous surveillance has proceeded unhindered for many years

https://computer.rip/2025-12-26-Flock-and-Urban-Surveillance.html
2•macleginn•42m ago•0 comments

Claude on Rails

https://claudeonrails.dev/
2•handfuloflight•42m ago•0 comments

DHH is immortal, and costs $200M

https://danieltenner.com/dhh-is-immortal-and-costs-200-m/
3•avyfain•44m ago•2 comments

Insights from Paper: FoundationDB:A Distributed Unbundled Transactional KV Store

https://hemantkgupta.medium.com/insights-from-paper-foundationdb-a-distributed-unbundled-transact...
1•teleforce•48m ago•0 comments

Rediscovering an American court portraitist

https://www.nationalreview.com/magazine/2026/02/rediscovering-an-american-court-portraitist/
1•hhs•52m ago•0 comments

Shutting Down the Hoover Building

https://twitter.com/FBIDirectorKash/status/2004650061242789976
1•hbcondo714•53m ago•0 comments

US judge blocks detention of British social media campaigner

https://www.bbc.com/news/articles/c33mx6j5jrvo
4•rbanffy•1h ago•0 comments

Ukraine Is Winning the War at Sea

https://phillipspobrien.substack.com/p/weekend-update-164-ukraine-is-winning
3•JumpCrisscross•1h ago•1 comments

Does tax avoidance trickle down?

https://www.nber.org/papers/w34209
2•hhs•1h ago•1 comments

Show HN: I built opencode –> telegram notification plugin

https://github.com/Davasny/opencode-telegram-notification-plugin
3•davasny•1h ago•0 comments

Stress-induced sympathetic hyperactivation drives hair follicle necrosis

https://www.cell.com/cell/fulltext/S0092-8674(25)01247-4?_returnURL=https%3A%2F%2Flinkinghub.else...
2•PaulHoule•1h ago•0 comments

Notes about FoundationDB (2020)

https://pierrezemb.fr/posts/notes-about-foundationdb/
3•teleforce•1h ago•0 comments

Reminiscences of a Stock Operator (1923)

https://gutenberg.org/cache/epub/60979/pg60979-images.html
1•thomassmith65•1h ago•0 comments

Julia vs. NumPy performance: Strategy for For-loop?

1•northlondoner•1h ago•1 comments

With memory prices to rise another 45% in 2026, Lenovo may delay laptop launches

https://www.notebookcheck.net/With-memory-prices-expected-to-rise-another-45-in-2026-Lenovo-may-d...
5•akyuu•1h ago•0 comments

What Makes a Strategy Great

https://longform.asmartbear.com/great-strategy/
3•gmays•1h ago•1 comments

The Economics of Bicycles for the Mind

https://www.nber.org/papers/w34034
2•Rexxar•1h ago•0 comments

Show HN: Waycore – an open-source, offline-first modular field computer

16•DGrechko•1h ago•11 comments

MakerLinks – A free link-in-bio page for indie hackers and builders

https://www.makerlinks.page/
2•amamuwala•1h ago•1 comments

We Lost the Thread on the Data Lake

https://blog.matterbeam.com/we-lost-the-thread-on-the-data-lake/
2•mikepk•1h ago•1 comments

The Park Ranger Scenario (2025 manifesto)

https://legacybranch.substack.com/p/eat-drink-and-be-merry-for-tomorrow
2•legacybranch•1h ago•0 comments