T09 · Insecure Skill Coding Practices
- Location
SKILL.md:128- Finding
SeaArt Authentication Token Is Printed to Terminal and Agent Logs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly does what it claims, but its instructions can expose the user's SeaArt authentication token in logs.
Review this skill before installing. Do not let an agent run `echo $SEAART_TOKEN`; use a non-printing presence check instead. Only install the Python dependency from a trusted source, preferably in a virtual environment, and use this skill only if you trust SeaArt with your prompts and account session token.
SKILL.md:128SeaArt Authentication Token Is Printed to Terminal and Agent Logs
README.md:10Unpinned Runtime Installation of the Requests Dependency
The skill requires access to a sensitive environment variable and makes authenticated network requests, but it declares no explicit tool scope or permission boundary. This increases the chance an agent can use env and network capabilities without transparent user review, which is risky here because the skill handles a token explicitly described as password-like.
The skill hard-codes English as the locale via the accept-language: 'en' header and a lang='en' cookie. This imposes a specific language setting on all requests without offering the user a choice or documenting a justified region-specific requirement.
The manifest and earlier documentation state the default model is 'SeaArt Infinity', but the usage instructions later say to default to 'WAI-ANI-NSFW-PONYXL'. These are materially different generation behaviors, so the documentation does not consistently describe what the skill is intended to do.
The aspect-ratio table uses Chinese-only or Chinese-first labels such as 方图, 竖图, 横图, and 手机竖屏, and the example usage is also partly presented in Chinese. While not severe, this can reflect a locale-specific presentation without explicitly stating that users may interact in any language or choose their preferred locale.
The skill manifest context describes an image-generation capability on SeaArt, and the file's security manifest documents only access to SEAART_TOKEN. However, the code also reads SEAART_DEFAULT_MODEL_NO and SEAART_DEFAULT_MODEL_VER to control behavior, which is an extra configuration capability not disclosed in the documented environment-variable access for this skill file.