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!

How to open a file in Emacs

https://www.murilopereira.com/how-to-open-a-file-in-emacs
1•lr0•2m ago•0 comments

The cardinal sin of software architecture

https://functional.computer/blog/the-cardinal-sin-of-software-architecture
1•speckx•5m ago•0 comments

I set all 376 Vim options and I'm still a fool

https://evanhahn.com/i-set-all-376-vim-options-and-im-still-a-fool/
1•todsacerdoti•5m ago•0 comments

Diosdado Banatao, Chip Designer, Investor and Entrepreneur, Dies at 79

https://www.wsj.com/wsjplus/dashboard/articles/diosdado-bantao-chip-designer-dead-79-f205c32b
1•melling•5m ago•0 comments

Ask HN: Which system would you trust to run a business you can't afford to lose?

1•cutterlayers•6m ago•0 comments

Closing the Door on Net-NTLMv1: Releasing Rainbow Tables

https://cloud.google.com/blog/topics/threat-intelligence/net-ntlmv1-deprecation-rainbow-tables
1•linolevan•11m ago•1 comments

Technology and Wealth: The Straw, the Siphon, and the Sieve [video]

https://www.youtube.com/watch?v=OxvRx7sQNxc
1•measurablefunc•13m ago•0 comments

We're more patient with AI than one another

https://www.uxtopian.com/journal/were-more-patient-with-ai-than-one-another
2•lucidplot•14m ago•0 comments

Stop Pulling Yourself Down

https://buanasalf.com/blog/stop-pulling-yourself-down/
1•moh20•14m ago•0 comments

Human code review is a crutch

https://deadneurons.substack.com/p/human-code-review-is-an-outdated
1•nr378•14m ago•0 comments

Kusto Query Language

https://github.com/microsoft/Kusto-Query-Language
1•tosh•14m ago•0 comments

Show HN: I made a phone in between a smartphone and dumbphone

https://bouchardindustries.com
1•bouchardio•15m ago•1 comments

Fast Concordance: Instant concordance on a corpus of >1,200 books

https://iafisher.com/concordance/
1•evakhoury•15m ago•0 comments

Microsoft killing tech debt with agents [audio]

https://podcasts.apple.com/us/podcast/microsoft-killing-tech-debt-with-agents/id1621165150?i=1000...
1•azhenley•16m ago•0 comments

Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
2•theptip•16m ago•0 comments

Claude Code Scheduler

https://github.com/jshchnz/claude-code-scheduler
1•jshchnz•17m ago•0 comments

OpenAI Introduces Ads to ChatGPT

https://twitter.com/sama/status/2012253252771824074
3•strzalek•17m ago•1 comments

DuckDB's CSV Reader and the Pollock Robustness Benchmark

https://duckdb.org/2025/04/16/duckdb-csv-pollock-benchmark
1•tosh•17m ago•0 comments

Low-Tech

https://en.wikipedia.org/wiki/Low_technology
1•tux•18m ago•0 comments

Fastmail Is Down

https://fastmailstatus.com
2•safe_duck7727•22m ago•3 comments

Billionaires demand more babies but make parenthood unaffordable

https://www.aljazeera.com/opinions/2026/1/16/billionaires-demand-more-babies-but-make-parenthood-...
2•Qem•23m ago•0 comments

How children lost the right to roam in four generations

https://www.dailymail.co.uk/news/article-462091/How-children-lost-right-roam-generations.html
2•mhb•25m ago•0 comments

Ammobia says it has reinvented a century-old technology

https://techcrunch.com/2026/01/13/ammobia-says-it-has-reinvented-a-century-old-technology/
1•rmason•26m ago•1 comments

Polar Vortex Breakdown May Trigger Weeks of Extreme Cold

https://www.j-c-a.org/polar-vortex-breakdown-may-trigger-weeks-of-extreme-cold/
1•amichail•28m ago•0 comments

A16Z: The Power Brokers

https://www.notboring.co/p/a16z-the-power-brokers
1•rmason•28m ago•0 comments

Book Review: The Perfectionists by Simon Winchester

https://www.eleanorkonik.com/p/review-the-perfectionists-by-simon
1•paulpauper•28m ago•0 comments

The truth Elon left out

https://openai.com/index/the-truth-elon-left-out/
12•colesantiago•29m ago•5 comments

The Great Divergence

https://johnlawrenceaspden.substack.com/p/the-great-divergence
1•paulpauper•29m ago•0 comments

An app can be a meal kit

https://ammil.industries/log/an-app-can-be-a-meal-kit/
1•cjlm•31m ago•0 comments

Show HN: AI health agent that nags you on WhatsApp instead of a dashboard

https://app.vitalify.ai/
2•erenkaradag•36m ago•3 comments