T09 · Insecure Skill Coding Practices
- Location
scripts/query_logs.py:29- Finding
Unrestricted SLS Endpoint Allows Sensitive Authenticated Requests to an Attacker-Controlled Host
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it claims: it helps query Alibaba Cloud SLS logs, but users should treat the returned logs and cloud credentials as sensitive.
Install only in a dedicated virtual environment, use read-only Alibaba Cloud credentials scoped to the needed SLS projects and logstores, verify SLS_ENDPOINT points to the intended Alibaba Cloud endpoint, and avoid broad queries if logs may contain secrets, personal data, or internal tokens.
scripts/query_logs.py:29Unrestricted SLS Endpoint Allows Sensitive Authenticated Requests to an Attacker-Controlled Host
SKILL.md:15Unpinned Third-Party SDK Installation Creates a Supply-Chain Risk
Without declared permissions the skill's intent is opaque and cannot be validated.
The entire skill reference is written in Chinese and provides no indication that language selection is optional or that the skill is intentionally limited to Chinese-speaking users. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation.
The script retrieves remote logs from Alibaba Cloud SLS and prints each row directly to stdout as JSON, with no filtering, masking, or warning that the output may contain secrets, personal data, tokens, or internal application details. In an agent-skill context, this is more dangerous because downstream tooling, transcripts, or users may automatically capture and persist the output, increasing the chance of unintended sensitive-data disclosure.
The markdown uses Chinese-only headings and instructions such as "Python SDK 基本调用" and "安装", which imposes a specific language on users without any opt-in or justification. The policy allows locale constraints only when they are optional or clearly documented as necessary.
No suspicious patterns detected.