Back to skill

Security audit

timer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward timer that runs a local Node.js countdown and asks the agent to relay the completion message to the user.

Install only if you are comfortable with the agent starting local background timer processes and sending you a chat message when they finish. Reminder text is printed in process logs, and macOS sound playback depends on afplay being available.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The code generally matches the broad timer/alarm domain, but it materially falls short of the declared behavior. The description promises that when a background timer completes, the user receives a system notification containing the reminder message. In contrast, this code only runs as a foreground command-line process, logs status updates to the console, and plays a local macOS sound effect at completion. There is no OS notification API usage, no background scheduling service, and no explicit mechanism to emit the reminder message as a notification payload. Therefore the description overstates the implemented notification behavior, making this a meaningful description-behavior mismatch.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dangerous_exec

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
timer.js:102