yapi
Pass
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill initiates the download and installation of external software components.
- Fetches and installs the
@leeguoo/yapi-mcppackage globally using npm. - Installs a skill extension from the
leeguooooo/cross-request-masterGitHub repository. - Installs the
agent-browser-stealthruntime for browser automation tasks. - [REMOTE_CODE_EXECUTION]: Executes code provided by external registries or repositories.
- Uses
npxto dynamically execute the@leeguoo/yapi-mcppackage. - Contains a
yapi self-updatecommand, which is a mechanism for downloading and executing new versions of the CLI tool. - [COMMAND_EXECUTION]: Performs several shell-level operations to manage the environment and user data.
- Uses
rg(ripgrep) to programmatically read and extract values from local configuration files. - Invokes the
yapicommand-line interface for complex tasks like synchronization and authentication. - [DATA_EXFILTRATION]: Accesses and processes sensitive credential and configuration stores.
- Reads authentication secrets and tokens from
~/.yapi/config.tomland~/.yapi-mcp/auth-*.json. - Transmits local documentation content to remote YApi servers via the
docs-syncfunctionality. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its core documentation processing logic.
- Ingestion points: Fetches raw interface documentation and search results from potentially untrusted YApi servers using
yapi searchandyapi interface get(SKILL.md). - Boundary markers: No delimiters or protective instructions are used when passing external documentation content to the agent for summarization.
- Capability inventory: The agent has the ability to execute shell commands, install global packages, and write files to the system.
- Sanitization: No evidence of validation or sanitization of the fetched JSON/Markdown documentation before processing.
Audit Metadata