frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y 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!

A potential successor to copper reverses a major bottleneck in chip scaling

https://www.nature.com/articles/s41586-026-11288-8
1•Bry789123•5m ago•0 comments

Vernor Vinge: The curse of the mummy's tomb (1992)

https://akkartik.name/post/straumli
1•akkartik•5m ago•0 comments

Boston lottery winner arrested by ICE a week after claiming US$1M prize

https://www.ctvnews.ca/world/article/a-man-in-boston-won-us1-million-in-the-lottery-then-ice-arre...
3•madihaa•7m ago•0 comments

Show HN: Seahelm – Native Mac app for running Claude Code agents in parallel

https://github.com/BetaYao/seahelm
1•zhoujinliang•12m ago•0 comments

AI Is Supercharging Your Top Students and Probably Harming the Rest

https://www.edutopia.org/article/does-ai-help-students-learn/
2•RRWagner•15m ago•1 comments

OCRia-Nano-1

https://www.llamaindex.ai/blog/introducing-ocria-nano-1
1•Retro_Dev•15m ago•0 comments

Cory Doctorow: New York vs. auto-enshittification

https://pluralistic.net/2026/11/25/empire-state-strikes-back/
7•catab•24m ago•1 comments

How can people make money as AI replaces intellectual jobs?

10•fairetjrs•27m ago•4 comments

Good Beginner

https://twitter.com/saranormous/status/2125466501226594642
2•gmays•33m ago•0 comments

SpaceX gets FCC approval for 1M satellites to build data centers in space

https://www.cbsnews.com/news/spacex-fcc-approval-data-centers-space/
1•qtqtqt•34m ago•1 comments

Catching crumbs from the table (2000) [pdf]

https://gwern.net/doc/fiction/science-fiction/2000-chiang.pdf
1•japalan•34m ago•0 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
2•hecmmm•35m ago•1 comments

macOS reverse Rosetta translation layer for Intel PCs removed from GitHub

https://github.com/tylertms/Stela/blob/main/README.md
2•rvz•37m ago•0 comments

Twig 1.18.2 – Copy, move or archive across folders, keep structure

https://github.com/dev2ex/twig/releases/tag/v1.18.2
1•dev2ex•41m ago•0 comments

Show HN: HookArmor – Self-hosted webhook queue that defeats 300s replay expiry

https://hookarmour.dev/
1•pkdoddamani•48m ago•0 comments

EFF: Outage Chaos: When Tech Is Too Big to Fail

https://www.eff.org/deeplinks/2026/11/outage-chaos-when-tech-too-big-fail
4•catab•49m ago•0 comments

Who wrote the Book of Mormon? Testing with pre-1830 language models

https://lifehug.com/book-of-mormon/
3•etherfuse•58m ago•2 comments

Study explains why radiation-triggered failures occur in electronics

https://news.ncsu.edu/2026/11/why-single-event-burnout-happens/
4•giuliomagnifico•59m ago•0 comments

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years

https://fosscomics.com/posts/17.%20Lions%27%20Commentary%20on%20Unix/
9•joonehur•1h ago•1 comments

Show HN: An insanely cool-looking app on iPhone Duo

https://apps.apple.com/cn/app/%E9%A3%9E%E8%88%9E%E7%B2%92%E5%AD%90-%E4%BA%94%E5%BD%A9%E6%96%91%E6...
1•lucakk•1h ago•0 comments

Precisely.ai Catalog – AI Studio Catalog of App, Agent, Skill and Server

https://precisely.ai/explore
1•peter_d_sherman•1h ago•0 comments

Show HN: Fattura – Parse credit card PDF statements and split family bills

https://www.usefattura.com.br/en
1•jonathasgouv•1h ago•0 comments

Yournotalone

https://mindpillars.app
1•reaganenoch•1h ago•0 comments

I Learned to Stop Worrying and Love the AI

2•ghastmaster•1h ago•1 comments

Tate Brothers extradition hearing delayed until mid January

https://www.independent.co.uk/news/uk/crime/andrew-tate-tristan-tate-extradition-hearing-b3085979...
2•illidan1000•1h ago•0 comments

Unconditional Integer Factorization in Subexponential Time

https://github.com/google-research/google-research/tree/4a7bc8ab0bc770e71a259b7966c500496b99010a/...
3•_alternator_•1h ago•0 comments

The Beauty of CSS Mixins

https://patrickbrosset.com/articles/2026-11-25-the-beauty-of-css-mixins/
1•todsacerdoti•1h ago•0 comments

How I deal with angry and misinformed people

https://citizen-first.org/2026/11/26/how-i-deal-with-angry-and-misinformed-people/
5•kguppta•1h ago•1 comments

But good sir, what is electricity? (2025)

https://blog.coredump.cx/p/but-good-sir-what-is-electricity
1•crescit_eundo•1h ago•0 comments

'Rejection Will Have Consequences': Inside Team Trump's Takeover of Intel

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
5•qlte•1h ago•2 comments