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!

Skybridge: TypeScript Framework for ChatGPT Apps

https://github.com/alpic-ai/skybridge
1•smurda•1m ago•0 comments

Samsung announces Exynos 2600, the first 2nm mobile chip

https://semiconductor.samsung.com/processor/mobile-processor/exynos-2600/
1•akyuu•5m ago•0 comments

What Is a DNS Leak?

https://www.dnsleaktest.com/what-is-a-dns-leak.html
1•Aldipower•6m ago•0 comments

Can Claude teach me to make coffee?

https://www.lesswrong.com/posts/aZYr5MBhxEbPQSt5N/can-claude-teach-me-to-make-coffee
1•A_Duck•6m ago•1 comments

Earth's Seasons Are Strangely Out of Sync, Scientists Discover from Space

https://www.sciencealert.com/earths-seasons-are-strangely-out-of-sync-scientists-discover-from-space
1•QueensGambit•6m ago•0 comments

Null References: The Billion Dollar Mistake – Tony Hoare

https://www.youtube.com/watch?v=ybrQvs4x0Ps
1•Brysonbw•7m ago•0 comments

Fine Have Your Windows in iPadOS, but Remember This House Was Built on Apps

https://wormsandviruses.com/2025/12/fine-have-your-windows-in-ipados-but-remember-this-house-was-...
1•robenkleene•11m ago•0 comments

The End of Reason

https://thehonestsorcerer.substack.com/p/the-end-of-reason
2•ambientenv•13m ago•1 comments

Decentralized YouTube Alternative PeerTube Adds Creator Mode

https://itsfoss.com/news/peertube-8-release/
1•MilnerRoute•14m ago•0 comments

I built a Telegram bot that creates tokens and liquidity pools in 60 seconds

https://ebpchain.com/
1•ebpbot•14m ago•1 comments

PyFrontKit – Create web pages from Python with minimal code

2•Edybrown•16m ago•0 comments

Autoland Saves King Air, Everyone Reported Safe

https://avbrief.com/autoland-saves-king-air-everyone-reported-safe/
1•bradleybuda•19m ago•0 comments

Our brains reboot at four key ages. This is how it feels

https://www.thetimes.com/uk/science/article/science-ageing-five-lifespan-epochs-8kkh35vkt
1•stevenjgarner•19m ago•0 comments

Show HN: Pixen 6 – New release of longstanding macOS pixel art editor

https://pixenapp.com/mac/
1•albertru90•22m ago•0 comments

Climate change has reduced U.S. income by an estimated 12%

https://news.arizona.edu/news/climate-changes-hidden-price-tag-drop-our-income
2•giuliomagnifico•23m ago•0 comments

A Price War Is Looming for Electric Vehicles

https://oilprice.com/Energy/Energy-General/A-Price-War-Is-Looming-for-Electric-Vehicles.html
2•PaulHoule•23m ago•0 comments

At Rome's New Subway Stations, Peruse Ancient Relics While Catching a Train

https://www.nytimes.com/2025/12/16/world/europe/rome-subway-stations-museum-archaeology.html
1•bookofjoe•24m ago•1 comments

Neural Basis of Schizophrenia and Bipolar Disorder

https://pubs.aip.org/aip/apb/article/9/3/036118/3364154/Machine-learning-enabled-detection-of
1•stevenjgarner•25m ago•0 comments

Local RAG

https://github.com/Andrej997/local-rag-workspaces
1•andrej_km•26m ago•0 comments

Chasing Your Tail

https://xania.org/202512/19-tail-call-optimisation
1•ibobev•30m ago•0 comments

Lessons learned streaming building a Scheme-like interpreter in Go

https://notes.eatonphil.com/2023-01-30-livescheme.html
1•ibobev•30m ago•0 comments

From Geometric to Coordinate Form: Understanding the Dot Product

https://www.4rknova.com//blog/2013/05/03/dot-product
2•ibobev•31m ago•0 comments

The WhatsApp Whisperer

https://www.whatsprivcy.com/
15•RyanJB•35m ago•5 comments

Is resumable LLM streaming hard? No, it's just annoying

https://stardrift.ai/blog/streaming-resumptions
2•gmays•40m ago•0 comments

Using Vectorize to build an unreasonably good search engine in 160 lines of code

https://blog.partykit.io/posts/using-vectorize-to-build-search/
1•ColinWright•40m ago•0 comments

Documents related to early Unix history before V7

https://github.com/thaliaarchi/unix-history
2•naves•41m ago•0 comments

China, Russia pulling ahead of NATO in Arctic drone capabilities: report

https://www.cbc.ca/news/politics/drones-arctic-russia-china-nato-9.7020149
1•Teever•44m ago•0 comments

Lend-Lease: How America Looted the British Empire During World War II [video]

https://www.youtube.com/watch?v=LMy3BAJYi54
7•thelastgallon•46m ago•0 comments

ELF Crimes: Program Interpreter Fun

https://nytpu.com/gemlog/2025-12-21
12•nytpu•47m ago•2 comments

Textpattern CMS 4.9.0

https://textpattern.com/weblog/textpattern-490-released-php-85-mysql-84-features-fixes-fine-tunin...
2•petecooper•51m ago•0 comments