alapi

Fail

Audited by Snyk on Apr 10, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill explicitly instructs constructing and issuing commands like python3 "$SCRIPT" --json call {path} --token {用户的token} and prioritizes an explicit --token over environment variables, which requires the LLM to insert the user's secret token verbatim into generated commands/requests (an exfiltration risk) despite advising not to echo tokens in final replies.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).


MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The skill's runtime CLI (scripts/alapi.py) performs live requests to https://v3.alapi.cn/openapi/{id}.json (and related https://v3.alapi.cn frontend/api endpoints) to fetch OpenAPI specs and search results which are ingested at runtime and directly drive prompt-driven code generation, so this external URL is a required runtime dependency that can control agent outputs.

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
HIGH
Analyzed
Apr 10, 2026, 08:48 AM
Issues
3
Security Audit — snyk — alapi