Back to skill

Security audit

markdown-toc-generator

Security checks for vulnerabilities and agentic risk

Overview

This skill generates a Markdown table of contents from a user-provided file and does not show hidden network, persistence, or privilege behavior.

Before installing, understand that the bundled script generates a TOC preview rather than safely replacing a marked section by itself. Only allow write-back to documents you intend to edit, and review the generated TOC before accepting changes.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The skill claims it will insert or refresh a TOC under a marker comment, but the documented execution only prints generated output to stdout and does not locate or update an in-file marker. This mismatch can mislead users or downstream automation into believing a document was modified safely in place when it was not, creating integrity and workflow risks, especially if other steps assume the file has already been updated.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.