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!

LG monitors silently install software through Windows Update without consent

https://videocardz.com/newz/lg-monitors-silently-install-software-through-windows-update-without-...
1•baranul•14s ago•0 comments

US lawmakers urge Trump administration to ban Chinese memory chips

https://www.ft.com/content/9e7cdf3c-2e52-492f-afeb-b63d86a53ce6
1•giuliomagnifico•42s ago•0 comments

IEA Warns World Has Just Weeks to Avoid Hormuz Economic Shock

https://oilprice.com/Latest-Energy-News/World-News/IEA-Warns-World-Has-Just-Weeks-to-Avoid-Hormuz...
2•baranul•6m ago•0 comments

Show HN: GPT-5.6 Sol vs. Claude Fable 5 in CNC Red Alert 2

https://system-2-arena.vercel.app/showcase/ra2?war=sol-vs-fable-lake
1•masterchef2209•7m ago•0 comments

Billion-dollar California salad company exploits undocumented migrants (2014)

https://www.theguardian.com/us-news/2014/nov/23/billion-dollar-california-salad-company-exploits-...
1•cramer4next•7m ago•0 comments

Show HN: Fable 5 vs Kimi K3 in CNC Red Alert 2

https://system-2-arena.vercel.app/showcase/ra2?war=fable-vs-kimi-1
1•masterchef2209•8m ago•0 comments

Detroit ranked as having the worst air quality in the world

https://www.clickondetroit.com/news/local/2026/07/16/detroit-ranked-as-having-the-worst-air-quali...
1•geox•10m ago•0 comments

India's largest nuclear power plant Kudankulam exposed in data breach

https://www.reuters.com/world/india/files-relating-indias-largest-nuclear-power-plant-kudankulam-...
1•thunderbong•12m ago•0 comments

The cost of forming an LLC in every US state (in 2026)

https://www.incorpassist.com/blog/us-states/real-cost-to-form-an-llc-by-state
1•incorpassist•13m ago•1 comments

Ask HN: Will Oracle's fall from grace be good for Open Source

1•lifeisstillgood•15m ago•0 comments

Math Corps 2026

https://alexkontorovich.wordpress.com/2026/07/18/math-corps-2026-visiting-day-directors-remarks/
1•mathgenius•18m ago•0 comments

Amnesty UK self-reports to watchdog after calling women's centre 'anti-rights'

https://www.theguardian.com/society/2026/jul/16/amnesty-uk-self-reports-to-watchdog-calling-women...
2•padda•19m ago•0 comments

GoodJsCode, a practical guide to writing cleaner JavaScript

https://github.com/pH-7/GoodJsCode
1•phenrys•20m ago•0 comments

'AI code is insane trash' – David Gerard [video]

https://www.youtube.com/watch?v=EwLW11Ucnps
1•baranul•20m ago•0 comments

Show HN: PrettyShot – A fast, local-first screenshot beautifier

https://www.prettyshot.site
1•prassamin•22m ago•0 comments

Conversation Steganography

https://github.com/nethical6/conversation-steganography
1•throwaway_19sz•24m ago•0 comments

We Built Our Knowledge Base

https://www.cerebras.ai/blog/how-we-built-our-knowledge-base
1•samuel246•31m ago•0 comments

Strip-Searched at the Serbian Border

https://psychotechnology.substack.com/p/strip-searched-at-the-serbian-border
2•eatitraw•32m ago•0 comments

Show HN: Go Micro – An agent harness and service framework in Go

https://github.com/micro/go-micro
1•asim•33m ago•0 comments

Screwing Up

https://www.seangoedecke.com/screwing-up/
1•gfysfm•35m ago•0 comments

Show HN: Workaround – Unstar GitHub Repos in Bulk

https://workaround.run/
1•yusveng•39m ago•0 comments

Where Your Mind Goes When You Stop

https://lanternhours.substack.com/p/where-your-mind-goes-when-you-stop
1•cuongvtran•40m ago•0 comments

Google workers demand layoff protections amid AI boom in petition to CEO

https://www.theguardian.com/technology/2026/jul/16/google-workers-layoff-protections-ai
3•tcp_handshaker•43m ago•0 comments

The Open-Soruce Big Bang

https://webaligo.bearblog.dev/the-open-soruce-big-bang/
1•ilreb•44m ago•0 comments

Ukraine's Dr. Strangelove – a rocket designer with dubious past sets out to

https://www.theatlantic.com/national-security/2026/07/ukraine-denys-shtilerman-drone-missile/687931/
2•bell-cot•44m ago•1 comments

Avoidance 1.0: Making Every Run Fairer

https://simonskinner.me/blog/avoidance-1-0-making-every-run-fairer
1•vultuk•46m ago•0 comments

Beaver who escaped to find mate welcomes first kit

https://www.bbc.com/news/articles/c70gz4zpv97o
3•1659447091•47m ago•0 comments

Trump administration is dictating access to frontier AI models

https://www.cnbc.com/2026/07/17/white-house-ai-access-anthropic-openai.html
4•tosh•48m ago•1 comments

Warum fällt Abnehmen ab 35 plötzlich so schwer?

https://substack.com/profile/524692702-ketosana94/note/c-296895670
1•ketosana94•49m ago•0 comments

Pelican on a bicycle is a good benchmark, right?

https://playcode.io/blog/macbook-svg-benchmark
2•ianberdin•51m ago•0 comments