Back to skill

Security audit

Unzip Files with WinRAR

Security checks for vulnerabilities and agentic risk

Overview

This RAR helper is mostly purpose-aligned, but it teaches risky password handling and persistent environment changes without enough guardrails.

Install only if you are comfortable supervising commands before execution. Avoid putting real archive passwords directly in command arguments, prefer interactive prompts or approved secret handling, do not allow persistent PATH changes unless you intend them and know how to undo them, and verify any downloaded WinRAR/RAR installer through trusted channels before running 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

Warning
Location
SKILL.md:113
Finding

Archive Passwords Exposed Through Command-Line Arguments

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (7)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · references/winrar-quick-reference.md (reported line 97)May include surrounding context.

md
- `a`: add files to archive
- `-p`: provide password
- `-ibck`: background mode on Windows
- `-o+`: overwrite existing files
- `-y`: answer yes to prompts

## Encoding tip for Chinese paths on Windows

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill description is broad enough to activate on general archive-related tasks, not just narrow RAR/WinRAR operations. That can cause the agent to apply risky behaviors from this skill—such as PATH modification, installer download guidance, and password-bearing command construction—in situations where a safer or more appropriate archive workflow should have been used.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill recommends persistent PATH modification via setx PATH without warning about system-wide side effects or validating the added directory. Persistent PATH changes can break other tooling, create long-lived environment drift, and increase risk if an unintended or attacker-controlled directory is inserted ahead of trusted executables.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill normalizes downloading platform binaries/installers directly from URLs as an operational fallback, with no integrity verification, trust warning, or requirement for user consent. This encourages supply-chain risk and unsafe execution behavior, especially in automated contexts where an agent may move from missing dependency detection to software acquisition and potential execution.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The template demonstrates passing an archive password directly on the command line (-p"p@ss!word"), which can expose the secret through shell history, process listings, logs, screenshots, or copied terminal transcripts. In this skill's context, the risk is elevated because it is an execution template intended for automation and copy-paste use, making insecure secret-handling practices more likely to be propagated into real workflows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The reference includes commands that place archive passwords directly on the command line (for example -pPASSWORD and concrete password examples) without warning that CLI arguments may be exposed through shell history, logs, job runners, telemetry, and process listings. In an automation-focused skill, this is especially risky because users may copy these patterns into CI jobs or shared systems where secrets can be disclosed to other users or retained in audit trails.

Content

No source excerpt is available for this finding.

Excessive Permissions

Low
Category
Privilege Escalation
Confidence
80% confidence
Finding

Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.

Content

Scanner excerpt · SKILL.md (reported line 286)May include surrounding context.

md
### Permission denied
Fix:
- Change the output directory
- Elevate privileges when appropriate
- Use a writable working directory

### Multipart extraction failure