Back to skill

Security audit

Email Management

Security checks for vulnerabilities and agentic risk

Overview

This email-management skill is a local, user-directed workflow aid with disclosed storage and approval gates for sensitive actions.

Before installing, decide whether you want this skill active only on explicit request or only for a specific account/project. Its local memory may contain email preferences, contacts, deadlines, and follow-up commitments, so keep the ~/email-management/ folder protected and avoid storing raw email dumps, passwords, tokens, or payment details.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · setup.md (reported line 17)May include surrounding context.

bash
mkdir -p ~/email-management/digests
touch ~/email-management/{memory.md,follow-ups.md,templates.md,vip-contacts.md}
chmod 700 ~/email-management
chmod 600 ~/email-management/{memory.md,follow-ups.md,templates.md,vip-contacts.md}
  1. If approved and memory.md is empty, initialize it from memory-template.md.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · setup.md (reported line 18)May include surrounding context.

mkdir -p ~/email-management/digests touch ~/email-management/{memory.md,follow-ups.md,templates.md,vip-contacts.md} chmod 700 ~/email-management chmod 600 ~/email-management/{memory.md,follow-ups.md,templates.md,vip-contacts.md}

text
2. If approved and `memory.md` is empty, initialize it from `memory-template.md`.
3. Continue with inbox triage or drafting immediately after setup.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation guidance recommends triggering on broad everyday terms like 'email', 'inbox', 'reply', or 'follow-up', which are likely to appear in many unrelated conversations. This can cause unintended skill invocation, leading to inappropriate access to email-related context, unnecessary persistence of user data, or confusing autonomous behavior outside the user's intended scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.