Back to skill

Security audit

Mail Sender (Jaskies)

Security checks for vulnerabilities and agentic risk

Overview

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.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/send.py:12
Finding

SMTP STARTTLS Does Not Explicitly Enforce Certificate and Hostname Verification

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/send.py:25
Finding

SMTP Password Can Be Exposed Through Command-Line Arguments

Content
View full analysis
`. 2. The secret becomes part of the process argument vector and may also be recorded in shell history or automation logs. 3. Another local user, monitoring agent, administrator, or log reader retrieves the argument while the process is running or from retained history. 4. The observer reuses the SMTP credential to authenticate to the configured mail service. 5. The attacker performs actions allowed by the compromised account, such as sending impersonated messages. ### Impact Assessment Successful exploitation discloses the SMTP password to an actor with access to process metadata, shell history, or execution logs. The resulting privileges are limited to those granted by the SMTP credential, but may include sending messages as the account owner and, depending on provider configuration, broader access to the associated email account. This could enable impersonation, phishing, spam distribution, and reputational harm. ]]>
Remediation
View remediation
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

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.

Content

No source excerpt is available for this finding.