A security researcher discovered a leaked Hugging Face token within the configuration files of an AI coding agent, specifically Claude Code and Visual Studio Code. The token, found in a `.mcp.json` file, was hardcoded and deployed with a development project. This exposure could allow unauthorized access to private datasets and services hosted on Hugging Face, as the token is used by the official Hugging Face Hub client and MCP server. AI
IMPACT Exposes a security risk in AI agent configurations, highlighting the need for secure handling of API tokens.
RANK_REASON The item details a security vulnerability related to the exposure of an AI agent's configuration and API token, which is a type of tool-related security issue.
- Claude Code
- create-oss-store
- HF_TOKEN
- Hugging Face
- leogra/oss-oopssec-store
- @llmindset/hf-mcp-server
- MCP
- Visual Studio Code
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →