# Hardcoded MCP credentials found in public GitHub files

DevFeed: [Hardcoded MCP credentials found in public GitHub files](<https://devfeed.tech/articles/hardcoded-mcp-credentials-found-in-public-github-files-50624.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/09/18/hush-security-mcp-credential-exposure-report/>)

Author: Anamarija Pogorelec

Published: 2026-09-18T05:30:26Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Security](<https://devfeed.tech/topics/security.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [Repository](<https://devfeed.tech/topics/repository.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [github](<https://devfeed.tech/tags/github.md>), [identity-protection](<https://devfeed.tech/tags/identity-protection.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [news](<https://devfeed.tech/tags/news.md>), [non-human-identities](<https://devfeed.tech/tags/non-human-identities.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [security](<https://devfeed.tech/tags/security.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

A Hush Security study of about 82,000 publicly accessible MCP configuration files on GitHub found hardcoded credentials in 12% of credential slots. The researchers describe the results as lower-bound estimates and say no raw secrets were retained.

## Source excerpt

Hardcoded API keys, access tokens and other credentials used by AI coding tools have been found in publicly accessible MCP configuration files on GitHub, according to research from Hush Security's The State of MCP Configuration: The Identity Security Gaps report. The company analyzed around 82,000 configuration files and found that 12% of credential slots contained a hardcoded credential literal, potentially exposing credentials for connected services and systems. How the exposed credentials were identified Researchers searched ... More -> The post Hardcoded MCP credentials found in public GitHub files appeared first on Help Net Security.