one-mail
Analysis
This mail skill is coherent, but it needs review because it handles powerful mailbox credentials and contains unsafe command/code construction that could run unintended commands from crafted inputs.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
local raw_emails=$(eval "$gog_cmd") ... echo "$body" | eval "$gog_cmd"
The script builds gog_cmd from values such as query, recipient, subject, attachment path, and reply target, then executes it through eval.
python3 - <<EOF ... msg['Subject'] = '$subject' ... msg.attach(MIMEText('''$body''', 'plain', 'utf-8')) ... with open('$attach', 'rb')User/account values are interpolated directly into generated Python source without escaping or structured serialization.
bash scripts/send.sh --to "recipient@example.com" --subject "Hello" --body "Email content" ... --attach "/path/to/file.pdf"
Outbound mail with optional local-file attachments is a core, disclosed feature, but the artifacts do not show an explicit confirmation or dry-run requirement before sending.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
CREDS=$(cat "$CREDS_FILE")
export CREDSThe full credentials file is loaded and exported, so child tools launched by the scripts inherit all stored mailbox secrets.
Outlook | OAuth 2.0 (Graph API) | 需要 Mail.ReadWrite + Mail.Send 权限 ... 网易 163 ... 需要开启 IMAP 并使用应用密码
The skill asks for mailbox-wide OAuth permissions and app passwords, while the registry metadata declares no primary credential or required config path.
