T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:127- Finding
Overly Broad Wildcard Permissions for Tencent Cloud Resources
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a disclosed Tencent Cloud Lighthouse manager, but it needs Review because it recommends overly broad cloud permissions and exposes destructive or billable actions without enough safeguards.
Install only if you are comfortable giving the skill Tencent Cloud authority to create, renew, modify, and delete Lighthouse instances. Do not use the wildcard CAM policy as written; create a least-privilege sub-user, remove unused VPC permissions, scope resources where possible, and add a human confirmation step before deletion. Never paste or display config/.env contents in shared logs or chats, and prefer an isolated virtual environment with pinned dependencies.
SKILL.md:127Overly Broad Wildcard Permissions for Tencent Cloud Resources
SKILL.md:165Unpinned Dependencies Installed Outside Package-Management Protections
SKILL.md:307Troubleshooting Command Can Print Cloud Credentials in Plaintext
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- ✅ 使用子用户密钥,不用主账号
- ✅ 设置最小权限
- ✅ .env 文件妥善保管
- ✅ 定期轮换密钥 (90 天)
- ❌ 不要提交密钥到 Git
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- ✅ 使用子用户密钥,不用主账号
- ✅ 设置最小权限
- ✅ .env 文件妥善保管
- ✅ 定期轮换密钥 (90 天)
- ❌ 不要提交密钥到 Git
The troubleshooting step tells users to run 'cat config/.env', which can print API credentials directly to the terminal, logs, screen recordings, or shared support transcripts. Even though intended for debugging, this creates a realistic secret-exposure path during operational support or collaborative troubleshooting.
cat config/.env
python3 src/verify_config.py
The skill explicitly advertises server deletion capability but does not pair it with a clear warning that deletion can permanently destroy data and may be irreversible. In an infrastructure-management skill, omission of that warning increases the chance of accidental destructive actions by users or downstream agents.
The code exposes an irreversible instance-termination operation with no confirmation prompt, dry-run mode, safeguard flag, or explicit warning to the caller. In an agent/skill context, accidental invocation, parameter confusion, or prompt-induced misuse could permanently delete cloud resources and associated data, creating a real operational security risk.
The setup section includes a concrete .env example containing API credential variable names and placeholder secret values, but the adjacent configuration text does not clearly emphasize secret-handling precautions at the point of use. This can normalize insecure storage or copying of sensitive credentials, especially when users follow setup snippets mechanically.
The top-level docstring presents the skill description entirely in Chinese, which effectively fixes the interaction/documentation locale without any opt-in or alternative. Under the stated policy, forcing a specific language without user choice is a natural-language policy concern.
No suspicious patterns detected.