Back to skill

Security audit

Config Rollback

Security checks for vulnerabilities and agentic risk

Overview

The skill is openly designed to protect config edits, but it uses broad privileged rollback commands and scheduled tasks that can overwrite system configuration after the session ends.

Install only if you are comfortable with an agent scheduling host-level rollback commands. Before use, require the agent to show the exact file, backup path, service reload command, scheduled job ID, and cancellation check; avoid using it on SSH, firewall, DNS, or production configs unless you have another recovery path.

Vulnerability Patterns
  • System PersistenceInstalls backdoors, hooks, services, or scheduled tasks that survive the run
  • 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)

T06 · System Persistence

Error
Location
SKILL.md:37
Finding

Privileged Cross-Session Rollback Task Creates System Persistence

Content
View full analysis
``` The Skill further specifies: ```text The restore timer is a system-level scheduled task (`at` / `crontab`). It does NOT depend on your shell session, SSH connection, or any application. Even if you brick the service, the timer still fires. ``` ### Technical Analysis The Skill explicitly instructs the Agent to register an `at` job that continues executing after the initiating shell, application, or SSH session ends. The scheduled command later overwrites an active service configuration and reloads the affected service. A delayed rollback is relevant to the declared recovery functionality, but the instructions apply broadly to nginx, SSH, firewall, DNS, proxy, and arbitrary service configurations. They do not require: - Validation or canonicalization of the target path. - An allowlist of permitted files or services. - Confirmation of the exact delayed command before registration. - Verification of the account under which the task will execute. - Reliable capture and storage of the scheduled job ID. - Verification that cancellation succeeded. - Secure backup permissions and cleanup. - Restrictions against substituting a persistent `crontab` entry. The mechanism does not independently obtain elevated privileges; it executes with the permissions of the account that registers the job. However, modifying files under `/etc` and reloading system services will commonly require root or equivalent administrative authority. When invoked with those privileges, ...[truncated 1952 chars]
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The trigger phrase is overly broad for a skill that performs privileged filesystem changes and schedules a system-level rollback task. In a wide range of config-editing conversations, this could cause the agent to initiate backup, restoration, or service reload actions without sufficiently scoped confirmation about the target file, service, timing, or host.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The package description is written entirely in Chinese, which signals a language-specific experience without indicating any user choice or opt-in. The policy requires flagging language or locale constraints when they are imposed without offering an alternative or documenting a justified region-specific scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The title, story, and example invocation prominently use Chinese language content and Chinese trigger wording, with no statement that the user can choose their preferred language. Under the policy for natural-language violations, forcing or assuming a specific language without opt-in can be a locale-policy issue.

Content

No source excerpt is available for this finding.