T09 · Insecure Skill Coding Practices
- Location
scripts/send.py:12- Finding
SMTP STARTTLS Does Not Explicitly Enforce Certificate and Hostname Verification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it says, but it handles email-sending credentials in ways that deserve review before use.
Review this before installing. Use a dedicated app password with minimal permissions, provide it through a protected environment or secret manager rather than the command line, and consider fixing the script to use a verified SSL context before trusting it with important email credentials.
scripts/send.py:12SMTP STARTTLS Does Not Explicitly Enforce Certificate and Hostname Verification
scripts/send.py:25SMTP Password Can Be Exposed Through Command-Line Arguments
The skill requires access to sensitive environment-based SMTP credentials (SMTP_USER/SMTP_PASS) but does not declare any explicit tool scope or permission boundary. That omission can cause the runtime or user to grant broader-than-necessary access implicitly, reducing transparency around secret use and increasing the chance of credential exposure or misuse.
The file content is entirely written in Vietnamese and directly addresses the user in that language, with no indication that other languages are supported or that Vietnamese is required for a region-specific purpose. This creates a natural-language locale policy issue because the skill implicitly enforces a specific language without user opt-in.