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 (
~/.bashrcand~/.zshrc) to store theALAPI_TOKENpermanently. 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 inreferences/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.cnretrieved usingscripts/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 likergandprintenv. - Sanitization: No sanitization or validation of the API response content is specified before the agent processes and summarizes it.
Audit Metadata