skills/wangyendt/wayne-skills/alapi/Gen Agent Trust Hub

alapi

Warn

Audited by Gen Agent Trust Hub on Oct 28, 2026

Risk Level: MEDIUMPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The skill instructs the agent to modify the user's shell configuration files (~/.bashrc and ~/.zshrc) to store the ALAPI_TOKEN permanently. This modification of environment profiles allows credentials to persist across sessions but represents a risk by modifying system-level configuration files.
  • Evidence: Found in the workflow and Token Handling sections of SKILL.md, and the 'Missing Token' section in references/auth-and-usage.md.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from an external API service and instructs the agent to summarize it, creating an attack surface where compromised API content could influence agent behavior.
  • Ingestion points: API responses from https://v3.alapi.cn retrieved using scripts/alapi_request.py.
  • Boundary markers: Absent; instructions tell the agent to summarize the response without delimiters or warnings to ignore embedded content.
  • Capability inventory: The agent can execute local Python scripts (alapi_request.py, generate_references.py) and standard shell commands like rg and printenv.
  • Sanitization: No sanitization or validation of the API response content is specified before the agent processes and summarizes it.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 28, 2026, 03:30 PM