Back to skill

Security audit

定时提醒工具(免费版)

Security checks for vulnerabilities and agentic risk

Overview

The skill is presented as a timer helper, but it requests command execution and gives unsafe, overly broad instructions that could cause unintended commands or activation outside timer tasks.

Install only if you are comfortable granting command execution to a timer skill and can enforce safe argument handling yourself. The package should be revised to include the referenced timer implementation, remove unrelated writing/marketing triggers, drop unjustified write authority, and use a shell-free invocation pattern before normal users rely on it.

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 (1)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:41
Finding

Command Injection Through Unescaped Custom Reminder Text

Content
View full analysis
Remediation
View remediation
shell: false ``` 2. **Validate duration separately** - Parse duration as structured data rather than concatenating it into a command. - Accept only the documented forms: seconds, minutes, hours, plain numeric minutes, `MM:SS`, and `HH:MM:SS`. - Reject negative, malformed, excessively large, or trailing values. 3. **Treat reminder text only as data** - Pass reminder text as one argument without evaluating or reparsing it. - Apply a reasonable length limit and reject control characters where they are unnecessary. - Do not rely solely on quote replacement as a substitute for shell-free execution. 4. **Constrain the script path** - Resolve `{baseDir}/timer.js` from a trusted, fixed base directory. - Do not permit user input to influence the executable or script path. 5. **Apply least privilege** - Run timer processes under a restricted account or sandbox. - Limit filesystem access, environment-variable exposure, child-process creation, and network access to what the timer requires. 6. **Add security tests** - Test reminder values containing single and double quotes, semicolons, command substitutions, backticks, pipes, redirections, newlines, and platform-specific shell metacharacters. - Verify that each value arrives at the timer script as one literal argument and never causes an additional process to execute. 7. **Package the referenced implementation** - Include the referenced `timer.js` file so its behavior and input handling can be reviewed. - Document the exact safe execution API rath ...[truncated 61 chars]
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Vague Triggers

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The invocation scope is overly broad and inconsistent with the stated timer purpose, explicitly steering use toward marketing and writing tasks. In an agent environment, broad triggers can cause accidental or excessive activation of a skill that has exec, write, and background process abilities, making misuse more likely.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

The manifest-facing name, summary, and usage guidance are presented entirely in Chinese, including activation wording, without stating that the skill is Chinese-only or offering alternative language support. This can violate language/locale policy when a skill implicitly constrains interaction language without user opt-in.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The manifest and description present the skill as a timer/reminder utility, but they also instruct use for marketing copy, title optimization, and writing tasks unrelated to timer behavior. This scope mismatch can cause the agent to invoke the skill in the wrong contexts, increasing the chance of unintended exec/write actions under false pretenses.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documentation advertises generic operations such as create/query/export, modify/reset/import, and export/save/convert, which do not align with a simple timer tool. Overstating capabilities can mislead an agent into granting broader operational authority or invoking write/exec flows for actions the skill should not perform.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The coverage statement claims support for broad content-generation scenarios and includes many fragmented keywords unrelated to timing functions. This can distort routing and trigger the skill on unrelated user prompts, which is risky because the skill has exec capability and background process control.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The keyword coverage list includes vague trigger terms and broad content-creation phrases, which can cause accidental activation for unrelated prompts. Because the skill can spawn background processes and interact with process management, false activation is more dangerous than for a read-only skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill instructs the agent to start background subprocesses and terminate processes, but it does not prominently warn about system effects, lingering processes, or the implications of killing tasks. In a skill with exec access, missing safety boundaries can lead to unintended process creation, resource consumption, or disruption of other tasks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.