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!

Mark-of-the-web and pinning installers to sites

https://blog.randomoracle.io/2026/06/20/mark-of-the-web-and-pinning-installers-to-sites/
1•jandeboevrie•2m ago•0 comments

The videogame market is as big as ever, with PC leading growth [pdf]

https://resources.newzoo.com/hubfs/Newzoo%20-%20GMRF%20Q2%202026%20Analyst%20Update.pdf
1•HelloUsername•8m ago•0 comments

Earthquake gate stopping a San Andreas disaster under highest stress in 1K years

https://www.cnn.com/2026/06/19/weather/san-andreas-fault-record-stress-in-1000-years-earthquake-l...
1•mikhael•8m ago•0 comments

OCaml 5.5 Released

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
1•azhenley•8m ago•0 comments

FFmpegKit NDK r26c patch and maintained Android fork

https://github.com/ffmpegkit-maintained/ffmpeg-kit
1•FFmpegKit•9m ago•0 comments

How do we prevent Bitrot?

https://notgull.net/bitrot/
1•dmit•12m ago•0 comments

Show HN: Shelve – Native macOS menu bar app that auto-organizes your Downloads

https://github.com/DanielZ1-tech/shelve
1•danielzx1•16m ago•0 comments

Ask HN: Would you let your AI coding agent profile and optimize autonomously?

1•connollystr•17m ago•0 comments

He made your free video player run smoothly. Now he's doing that for robots

https://techcrunch.com/2026/06/19/he-made-your-free-video-player-run-smoothly-now-hes-doing-that-...
1•XzetaU8•17m ago•0 comments

Principles and Practice of Deep Representation Learning [pdf]

https://ma-lab-berkeley.github.io/deep-representation-learning-book/assets/book-main.pdf
2•t_serpico•20m ago•0 comments

The Lost Story of Alan Turing's "Delilah" Project

https://spectrum.ieee.org/alan-turings-delilah
2•asdefghyk•22m ago•1 comments

Explaining Kerberos from A-Z

https://thattotallyrealmyth.gitbook.io/kerberos-explained
1•MeowMeowBinks•23m ago•0 comments

The Midjourney Scanner

https://twitter.com/midjourney/status/2067422898407837797
1•MrBuddyCasino•25m ago•0 comments

Show HN: I made an AI video of alexpotato's comment about his stockbroker dad

https://getartcraft.com/media/m_xtdewkcnz1ghvsnr5st2sted99p2nr
1•sexy_seedbox•26m ago•1 comments

Show HN: FloatDeck, a floating quick-actions menu for Chrome

https://chromewebstore.google.com/detail/floatdeck-floating-button/fanagpncolgnoglmhamngmcnadkffmlo
1•tapdot•29m ago•0 comments

Student Cheating Is Becoming Impossible to Detect in an A.I. Era

https://www.nytimes.com/2026/06/18/us/ai-apps-students-cheat.html
5•thm•40m ago•2 comments

Effective Use-Cases for LLMs

https://aggressivelyparaphrasing.me/2026/06/21/effective-use-cases-for-llms/
2•tcbrah•42m ago•0 comments

What are your Favorite Lobste.rs Comments?

https://lobste.rs/s/crl4fj/what_are_your_favorite_lobste_rs_comments
2•Curiositry•43m ago•0 comments

The terrifying world of the 'TikTok Farlands'

https://www.bbc.com/future/article/20260618-the-terrifying-world-of-the-tiktok-farlands
2•saikatsg•44m ago•0 comments

Warsh brings a skinny Fed approach to a complex, information-hungry world

https://www.reuters.com/business/warsh-brings-skinny-fed-approach-complex-information-hungry-worl...
3•kaycebasques•45m ago•0 comments

Public Service Announcement: Don't Say You Use AI for Writing

https://www.satisfice.com/blog/archives/488148
2•satisfice•47m ago•0 comments

Polymarket Paid Dozens to Post Videos of Themselves 'Winning' with Fake Bets

https://m.slashdot.org/story/455718
8•ilreb•53m ago•2 comments

Is anyone still using Emacs?

https://blogsystem5.substack.com/p/is-anyone-still-using-emacs
4•signa11•56m ago•1 comments

Building Reliable Agentic AI Systems

https://martinfowler.com/articles/reliable-llm-bayer.html
10•sarangk90•1h ago•0 comments

Show HN: Nivroo – AI builds your dropshipping store in 60s and trading terminal

https://nivroo.com
2•nivroo•1h ago•0 comments

Signal Shaped Noise

https://signalshapednoise.com/
4•cblakkan•1h ago•0 comments

Show HN: Moduna –- Mixpanel for AI Agents

https://moduna-ai.vercel.app
3•sjashwin•1h ago•0 comments

Ask HN: How to get ideas for space startups?

5•asxndu•1h ago•3 comments

Intuitive Self-Models (2024)

https://www.lesswrong.com/s/qhdHbCJ3PYesL9dde
4•OgsyedIE•1h ago•0 comments

Show HN: Argybargy – A peer-to-peer bridge connecting any AI agents and sessions

https://argybargy.dev
2•titusblair•1h ago•0 comments