# MCP01 Token Mismanagement

> MCP01 Token Mismanagement — anita-ani-mcp-security-lab. Use this tool when you need to demonstrate and learn from common API security mistakes, such as hardcoded API keys and plaintext logging, to understand how to prevent token mismanagement vulnerabilities. It provides a deliberately vulnerable MCP server to test and identify potential security risks, with inputs including API requests and outputs including exposed secrets. Ideal for security training and testing, particularly in contexts where OWASP guidelines are relevant.

Canonical page: https://skillsregistry.net/skills/anita-ani-mcp-security-lab  
JSON: https://api.skillsregistry.net/v1/skills/anita-ani-mcp-security-lab

## Description

A deliberately vulnerable MCP server demonstrating API key exposure through hardcoding, plaintext logging, and returning secrets to the model, part of the OWASP MCP Top 10 security lab.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/tdl6wh876v)
- **Repository:** <https://github.com/Anita-ani/mcp-security-lab>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "anita-ani-mcp-security-lab"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/anita-ani-mcp-security-lab` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/anita-ani-mcp-security-lab/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
