yapi
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads and installs the
@leeguoo/yapi-mcppackage from the NPM registry and theleeguooooo/cross-request-masterskill. It also triggers the installation ofagent-browser-stealthto support browser-based authentication flows. - [COMMAND_EXECUTION]: The skill's primary functionality is implemented through shell commands, including the
yapiCLI,npm/npxfor installation and execution, andrg(ripgrep) for inspecting local configuration files. - [CREDENTIALS_UNSAFE]: The skill reads and manages sensitive YApi authentication data stored in the user's home directory at
~/.yapi-mcp/auth-*.jsonand configuration at~/.yapi/config.toml. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it fetches and summarizes interface documentation from external YApi servers which may contain untrusted data.
- Ingestion points: Untrusted data enters the agent context via
yapi interface get,yapi search, andyapi interface list-menuinSKILL.md. - Boundary markers: The instructions lack delimiters or explicit instructions to ignore potentially malicious content embedded in the documentation.
- Capability inventory: The skill allows shell command execution through the
yapiCLI inSKILL.md. - Sanitization: No validation or sanitization is performed on the documentation content fetched from the remote server before the agent processes it.
Audit Metadata