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!

ARK's Price Target for Tesla in 2025 (2021)

https://www.ark-invest.com/articles/valuation-models/tesla-price-target-2
1•kklisura•1m ago•0 comments

3D printing my laptop ergonomic setup

https://www.ntietz.com/blog/3d-printing-my-laptop-ergonomic-setup/
1•kurinikku•3m ago•0 comments

Scandal: Various Organizations Leaked America's Biggest Math Test

https://tatler.lakesideschool.org/5784/showcase/scandal-how-various-organizations-leaked-americas...
1•paulpauper•3m ago•0 comments

Europe Contends with a Big New Threat: The U.S.

https://www.wsj.com/world/europe/europe-contends-with-a-big-new-threat-the-u-s-b76d26eb
1•doener•4m ago•0 comments

Batoto: Closing One Chapter

https://old.reddit.com/r/Batoto/comments/1qhgm2t/closing_one_chapter/
1•ValentineC•4m ago•0 comments

FelPawns – My first attempt to turn RimWorld into AI-Dungeon

https://captain-fel.itch.io/felpawns
1•walterfreedom•9m ago•1 comments

Vivo Time

https://lopespm.com/product/2026/01/19/vivotime.html
2•lopespm•9m ago•0 comments

Share Your Reminders to Yourself

https://herbertlui.net/share-your-reminders-to-yourself/
1•herbertl•10m ago•0 comments

Four Years of War in One Field – WW1 Documentary (No AI) [video]

https://www.youtube.com/watch?v=wrwUDqdW0Ds
1•vinnyglennon•10m ago•0 comments

OpenAI: A business that scales with the value of intelligence

https://openai.com/index/a-business-that-scales-with-the-value-of-intelligence/
1•PankajGhosh•13m ago•0 comments

Ask HN: How would you design for this scale today?

4•phs318u•13m ago•0 comments

Render meshes using realtime traditionally hand-painted textures

https://github.com/Rink37/BOBJECT_engine
1•hydrolox•14m ago•0 comments

The catch-22 with Apple security (2016)

https://www.infoworld.com/article/2248024/the-catch-22-with-apple-security.html
1•mooreds•15m ago•0 comments

Controlinfra – Free AI-powered Terraform drift detection

https://www.controlinfra.com/https:/controlinfra
1•lbenagha•18m ago•1 comments

I built an AI to catch my own revenge trading

https://m1nd.app/blog/ai-psychology-detection
1•timoslav•21m ago•0 comments

Show HN: Stream full Windows system audio to Google Nest speakers (no cloud)

https://www.pcnestspeaker.app
1•kepners•23m ago•0 comments

LLMs and Your Career

https://notes.eatonphil.com/2026-01-19-llms-and-your-career.html
1•cod1r•26m ago•0 comments

Only Known Photos of Computing Pioneer Ada Lovelace Join UK National Collection

https://news.artnet.com/art-world/ada-lovelace-daguerreotypes-uk-national-portrait-gallery-2735593
2•gnabgib•30m ago•0 comments

Show HN: Bubblewrap TUI – makes bubblewrap's command lines less terrifying

https://github.com/reubenfirmin/bubblewrap-tui
1•smallerfish•30m ago•1 comments

Geoff Huntley, creator of the Ralph loop, goat farmer, prophet

https://www.youtube.com/watch?v=lQ2ihlUzlfs
2•claudiacsf•30m ago•0 comments

OpenSplitDeck

https://github.com/tommybee456/OpenSplitDeck
1•euazOn•30m ago•1 comments

A fun trick for getting discovered by LLMs and AI tools

https://cassidoo.co/post/ai-llm-discoverability/
2•mooreds•30m ago•0 comments

The Problem with Lying Is Keeping Track of All the Lies

https://materialize.com/blog/keeping-track-lies/
2•transpute•31m ago•1 comments

30-Days Growth Challenge

https://docs.google.com/forms/d/e/1FAIpQLSe0zS7tIGAOLvKNJ-m6GWW_t-CKCadkKuS97tTdeG4UhmYiAA/viewfo...
1•shurman81•35m ago•1 comments

Ask HN: Where Are the Primary Sources?

4•lionkor•36m ago•0 comments

Show HN: NPM/uv for Claude Code – install skills from GitHub with one command

https://github.com/kasperjunge/agent-resources/blob/main/README.md
1•juunge•37m ago•0 comments

Iran's partial internet shutdown may be a windfall for cybersecurity Intel

https://www.csoonline.com/article/4116890/irans-partial-internet-shutdown-may-be-a-windfall-for-c...
2•bookofjoe•39m ago•0 comments

Can Highlighting Help GitHub Maintainers Track Security Fixes?

https://arxiv.org/abs/2411.11646
1•walterbell•42m ago•0 comments

Ask HN: Is your email inbox also filled with Zendesk reply spam?

6•TazeTSchnitzel•43m ago•4 comments

If you want to understand any society, look at what it creates

https://notes.philippdubach.com/0009
1•7777777phil•50m ago•0 comments