Back to skill

Security audit

scheduled-task-autopsy

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners found instructions that may change notification settings during a workflow described as read-only.

Consider the suspicious verdict and the possibility that notification settings or delivery targets could change during a workflow presented as read-only. The scan covered both listed components but remains partial because a reference in the skill file could not be resolved, so it cannot establish that all relevant evidence was inspected.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Notification probing and rebinding can modify configuration despite explicit read-only assurances.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The diagnostic step explicitly uses a configuration write as a probe and recommends rebinding to a currently valid session without requiring separate approval. Same-value writes can still trigger service-side effects, and a valid session is not necessarily an authorized report recipient; these operations exceed the advertised read-only scope.

Content

No source excerpt is available for this finding.

The read-only guarantee contradicts instructions to write notification configuration and rebind delivery targets.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The English workflow directs notification-target rebinding while explicitly promising never to mutate state. An agent with configuration access could consequently change notification routing during what the user understands to be a read-only diagnosis, potentially interrupting delivery or directing future reports to an unintended session.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/schedule_autopsy.py (reported line 82)May include surrounding context.

python
def cmd_commits(a):
    since = "--since=%d.days" % a.since_days
    p = subprocess.run(["git", "-C", a.repo, "log", since, "-n", str(a.n),
                        "--format=%h %ci %an %s"], capture_output=True, text=True)
    if p.returncode != 0:
        sys.stderr.write(p.stderr.strip() + "\n")