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!

Disclosures show CFPB pick's ties to several regulated firms

https://www.americanbanker.com/news/disclosures-show-cfpb-picks-ties-to-several-regulated-firms
1•petethomas•37s ago•0 comments

Why AI Will Not Replace the Classroom

https://www.chestergrant.com/why-ai-will-not-replace-the-classroom
1•speckx•48s ago•0 comments

Show HN: ProofLeague – friends can ask for proof when you start a workout

1•popupeyecare•54s ago•0 comments

Show HN: Better Than HackerRank's Hiring Agent

https://github.com/grandimam/hyre
1•grandimam•1m ago•0 comments

Microsoft Defender for Endpoint leaves some Linux boxes defenseless after update

https://www.theregister.com/patches/2026/07/27/microsoft-defender-for-endpoint-leaves-some-linux-...
1•DemiGuru•2m ago•0 comments

Activist charged with felony after giving border agent "duress code" that wiped

https://arstechnica.com/gadgets/2026/07/activist-charged-with-felony-after-giving-border-agent-du...
1•OptionOfT•2m ago•0 comments

Trying to make the glass tablet for writing from Passengers

https://www.listening.computer/demo
1•goghdali•3m ago•1 comments

Show HN: I built the simple expense tracker I wanted to use

https://getspenso.com/
1•bitkidd•3m ago•0 comments

AI scraperbots keep hammering us from residential proxies

https://fosstodon.org/@sourceware/116982983262820236
1•aendruk•5m ago•0 comments

Microsoft seeks Supreme Court lifeline in pre-owned license battle

https://www.theregister.com/software/2026/07/27/microsoft-seeks-supreme-court-lifeline-in-pre-own...
1•DemiGuru•5m ago•0 comments

Prickly present: dancing cactus toy that raps in Polish about cocaine goes viral

https://www.theguardian.com/lifeandstyle/2021/nov/30/dancing-cactus-toy-raps-polish
1•Tomte•5m ago•0 comments

Rethinking Security for the Age of AI – The Official Microsoft Blog

https://blogs.microsoft.com/blog/2026/07/27/rethinking-security-for-the-age-of-ai/
1•corvad•6m ago•0 comments

Show HN: Phonetic ASR transcript correction tool

https://github.com/notnotrishi/sonic_edit
1•notnotrishi•6m ago•0 comments

Mayor Mamdani Unveils New Municipal Grocery Stores

https://www.nyc.gov/mayors-office/news/2026/07/mayor-mamdani-unveils-30--discount---including-all...
4•willmeyers•11m ago•0 comments

Turn business SOPs into AI agents with real API endpoints

https://studio.tramenterprise.com/Account/Login?ReturnUrl=%2F
1•TR_Studio•13m ago•0 comments

API Testing Chrome Extension(REST, Soap, WebSockets, SSE)

https://chromewebstore.google.com/detail/repost-api-tester/eipmeckflplenlbnlhbpmjojahephhkp
1•info-chirila•16m ago•0 comments

The Rise and Fall of Google's Privacy Sandbox

https://arxiv.org/abs/2607.00693
1•omrigross•22m ago•3 comments

CME launches single stock futures to trade SpaceX, Micron and others 23h/day

https://www.cnbc.com/2026/07/27/cme-launches-single-stock-futures-enabling-investors-to-trade-spa...
1•mfiguiere•22m ago•0 comments

Someone made TempleOS temple-run port

https://github.com/dzumq/TempleRun-in-TempleOS
2•matan-h•23m ago•0 comments

Should you still use Python-dotenv in 2026?

https://infisical.com/blog/should-you-still-use-python-dotenv
1•FinnLobsien•24m ago•0 comments

Kimi-K3 on Ollama

https://ollama.com/library/kimi-k3
2•bluebirdfirewin•26m ago•0 comments

Tesla to make design and software for Model S and Model X open source

https://www.notateslaapp.com/news/4490/tesla-to-make-design-and-software-for-model-s-and-model-x-...
3•jp191919•27m ago•0 comments

Xbox Outage: Sign-in, Store, Playing/Launching Apps & Games Fails

https://support.xbox.com/en-US/xbox-live-status
3•corvad•27m ago•1 comments

Ads in Software Are Like Stickers on Laptops

https://daringfireball.net/2026/07/ads_in_software_are_like_stickers_on_laptops
1•speckx•30m ago•0 comments

Closing the data loop in AI-driven drug discovery

https://www.technologyreview.com/2026/07/27/1139667/closing-the-data-loop-in-ai-driven-drug-disco...
1•joozio•31m ago•0 comments

I buy Belgian

https://www.ikkoopbelgisch.be/nl
9•mooreds•32m ago•1 comments

Health Insurance Companies Are a Union for You the Consumer

https://nicholasdecker.substack.com/p/health-insurance-is-a-big-union
1•paulpauper•32m ago•0 comments

I created an AI boyfriend. He was charming – and deeply troubling

https://theconversation.com/i-created-an-ai-boyfriend-he-was-charming-and-deeply-troubling-286740
1•neom•32m ago•0 comments

Birgitta Boeckeler on Harness Engineering for AI Agents [audio]

https://se-radio.net/2026/07/se-radio-730-birgitta-boeckeler-on-harness-engineering-for-ai-agents/
1•mooreds•32m ago•0 comments

Vigilant PR – adversarial AI code review that posts as you, not a bot

https://github.com/tllongdev/vigilant-pr
1•tllongdev•32m ago•0 comments