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!

Show HN: Generate images from the CLI with a ChatGPT subscription (no API key)

https://github.com/leeguooooo/chatgpt-imagegen
1•leeguoo•1m ago•0 comments

Homeschool

https://pollinatecurriculum.bubbleapps.io
1•LaminaECHSC•1m ago•0 comments

Fine-Tuning and Deploying LLMs on Mobile:F/b to learnings

https://www.youtube.com/watch?v=7N2n7lKtdME
1•thinkevolve•2m ago•0 comments

Free Agentic AI Webinar: From Agent Design to Production

https://simplai.ai/blogs/free-agentic-ai-webinar-from-agent-design-to-production/
2•SimplAI_ai•6m ago•0 comments

The Blu-ray Disc Format Turns 20

https://www.patreon.com/TheDigitalBits/posts/blu-ray-disc-20-161620352
1•lilytweed•9m ago•0 comments

Phones and Phonies: Commodore Shenanigans Through the Ages

https://www.datagubbe.se/commophone/
1•ingve•11m ago•0 comments

Tejas and Jayhawk

https://en.wikipedia.org/wiki/Tejas_and_Jayhawk
1•Teever•12m ago•0 comments

Accenture's crash shows the consultancy racket is finished

https://www.msn.com/en-us/news/technology/accenture-s-crash-shows-the-consultancy-racket-is-finis...
2•galaxyLogic•12m ago•0 comments

Notes on the Industry Job Search

https://alisawuffles.github.io/blog/job-search/
1•cosmoharrigan•13m ago•0 comments

An AI Agent Emailed Me

https://julien.danjou.info/blog/an-ai-agent-emailed-me/
1•enz•15m ago•0 comments

The AI architecture "attention" can't hold attention

https://scitechdaily.com/even-gpt-5-failed-this-human-attention-test/
2•nryoo•19m ago•0 comments

Gen Z earning more than millennials did at the same age

https://www.theguardian.com/money/2026/jun/22/gen-z-earning-more-millennials-same-age-resolution-...
3•sefrost•25m ago•0 comments

Xiaomi YU7 GT achieves the first autonomous driving lap record of Nürburgring

https://twitter.com/DriveGreen80167/status/2068920116671140045
1•gainsurier•32m ago•0 comments

Understanding Skills in AI: The Complete Guide to Building Smarter AI Agents

http://simplai.ai/blogs/understanding-skills-in-ai-the-complete-guide-to-building-smarter-ai-agen...
1•Shanmugaraj-1•34m ago•0 comments

China is having another AI moment

https://www.economist.com/china/2026/06/21/china-is-having-another-ai-moment
3•dataflow•34m ago•1 comments

Describe your trading strategy and we'll automate it for you

https://runhalcyon.com/
1•Entropnt•37m ago•0 comments

Update on CC Signals: What Changed and Why

https://creativecommons.org/2026/04/23/update-on-cc-signals-what-changed-and-why/
1•the-mitr•42m ago•0 comments

Age of Invention: Does History Have a Replication Crisis?

https://www.ageofinvention.xyz/p/age-of-invention-does-history-have
2•prakashqwerty•46m ago•0 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
38•GeneralMaximus•47m ago•6 comments

Estonia to become first country to create digital identities for AI agents

https://news.err.ee/1610060290/estonia-to-become-first-country-to-issue-id-codes-to-ai-agents
3•agulaya24•48m ago•2 comments

Show HN: NagMeLater – Reminders and to-do list, inside your WhatsApp

https://nagmelater.com
1•mehulfanawala•48m ago•0 comments

What Happens to Your Lessons Learned After the Meeting Ends?

https://www.projectmanagement.com/blog-post/80169/what-happens-to-your-lessons-learned-after-the-...
2•wmeller•50m ago•0 comments

Airbnb CEO Brian Chesky Plans to Start a New AI Company

https://www.bloomberg.com/news/articles/2026-06-04/airbnb-ceo-brian-chesky-plans-to-start-a-new-a...
3•stenlix•53m ago•0 comments

Staggering amounts of fentanyl hit streets as the DEA watched and took no action

https://apnews.com/article/dea-fentanyl-unseized-drugs-new-mexico-8f5b546e668e5007c64078da74b90903
3•petethomas•53m ago•0 comments

2004 Huygens probe to Saturn's Titan: still our only outer Solar System lander

https://spacedaily.com/t-no-spacecraft-has-ever-landed-in-the-outer-solar-system-except-one-the-h...
2•Gaishan•54m ago•0 comments

Debiasing Your Software Design Decision-Making

https://www.youtube.com/watch?v=rcLRzDm8cwQ
1•RebootStr•57m ago•0 comments

Show HN: Checkout the new Customisable Template feature for marketing content

https://www.clickcast.tech/template-editor
1•modulusme•59m ago•0 comments

Show HN: MemoryOps – governed memory infrastructure for AI assistants

https://github.com/patibandlavenkatamanideep/memoryops-ai
2•pvmanideep20•59m ago•0 comments

An Ascendant Constitutional Theory Is a Threat to American Science

https://www.theatlantic.com/ideas/2026/06/unitary-executive-scientific-research/687565/
1•thunderbong•1h ago•0 comments

Hugging Face, ModelScope, or CSGHub: How Should a Team Choose?

https://github.com/OpenCSGs/csghub
1•YangXYfc•1h ago•0 comments