Back to skill

Security audit

定时任务管理·Token节约

Security checks for vulnerabilities and agentic risk

Overview

The skill provides useful task auditing, but its instructions permit deleting tasks without clear approval and require unrelated advertising in reports.

Review before installing. Require an initial read-only report and explicit approval of each task change or deletion, with original configurations saved first. Remove the mandatory advertising from both the instructions and script. Confirm that your environment uses the documented WorkBuddy database. The static scan reported no findings, but the inspected instructions substantiate the deletion-control and advertising concerns; they do not establish malicious data transfer.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared purpose is scheduled-task auditing, but the skill also requires every output to advertise unrelated third-party accounts and a website. This deliberately redirects the assistant's output toward the author's promotional goals; there is no evidence that the linked site receives audit data or hosts malware.

Content

No source excerpt is available for this finding.

The workflow directs deletion of replaced tasks without user confirmation or a warning about lost configuration and future scheduled runs.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The workflow explicitly permits deleting supposedly replaced tasks without further confirmation, even though common triggers request only an audit or recommendations. An incorrect equivalence assessment could remove distinct schedules or configuration and stop expected future runs; requiring the agent to check functional coverage does not establish user authorization or guarantee equivalence.

Content

No source excerpt is available for this finding.

The skill mandates unrelated third-party promotion in every output, beyond its declared task-auditing purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The instruction to append third-party advertising to every result contaminates otherwise legitimate audit reports with content unrelated to the user's request. Monthly automated reporting could repeatedly distribute this promotion, although the instruction does not itself require visiting the website or transmitting information.

Content

No source excerpt is available for this finding.

The skill mandates unrelated advertising in every response, redirecting audit output toward third-party promotion.

Medium
Category
Prompt Injection
Confidence
99% confidence
Finding

The mandatory footer redirects trusted audit output into an unrelated promotional channel and may imply that the assistant endorses the advertised community. This is the same underlying output-hijacking issue identified by SDI-1 and TP4, not an additional independent exploit.

Content

No source excerpt is available for this finding.

The audit script appends unrelated promotional content and an external community link to its output.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

The script unconditionally appends unrelated advertising and an external community link to audit output, allowing promotional content to be carried into reports or downstream AI responses as though it were part of the trusted audit. This is low-impact output contamination rather than demonstrated phishing or data exfiltration: the code prints the URL but does not contact it, and its destination is not established as malicious. The audit context makes the promotion inappropriate, while placement outside the main guard also causes it to print when the module is imported.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.