Back to skill

Security audit

API Doc Writer

Security checks for vulnerabilities and agentic risk

Overview

This is a simple API documentation template skill with no executable behavior, though users should avoid copying real passwords or personal data into examples.

Install only if you want a Chinese-language REST API documentation template. Treat all example names, phone numbers, emails, tokens, and passwords as placeholders; replace them with synthetic or redacted values before sharing or committing generated docs.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 209)May include surrounding context.

| POST | 创建 | POST /users | | PUT | 完整更新 | PUT /users/1 | | PATCH | 部分更新 | PATCH /users/1 | | DELETE | 删除 | DELETE /users/1 |

URL命名规范

markdown

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The skill includes example request/response payloads with sensitive-looking fields such as email, phone, and especially a plaintext password, but it does not warn users not to paste real credentials or personal data into generated documentation. In a documentation-writing skill, users may copy production examples directly, which can lead to accidental disclosure of secrets or personal data in docs, chats, or repositories.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.