Skip to content
Leaked secrets Write-up Beginner

**We scanned 15,543+ MCP servers… and found 443 real secrets sitting in their GitHub repos.**

A large-scale scan of MCP server GitHub repositories found hundreds of real secrets committed to source code, including API keys, tokens and private keys. Anyone with access to those public repositories could use the exposed credentials to reach the associated services.

Vikrant Karvir Follow

Published on cybersecuritywriteups.com

Over the last month, we pointed Armor1’s analyzers at what we believe is the largest MCP server catalog in existence today: 15,543+ MCP servers.

Vikrant Karvir, on cybersecuritywriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely developers committed credentials directly into source code instead of using secret managers or environment variables.

Impact

The exposed secrets could allow attackers to access cloud APIs, third-party tools and private keys, creating a supply-chain risk for users of those MCP servers.

What the attacker needed

Public GitHub repository; committed secrets

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Many developers store passwords and access keys in their code by mistake. If that code is public on GitHub, anyone can read those keys and use them to log in to services as the developer. This scan looked at thousands of AI tool servers and found hundreds of such leaked keys.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.