Back to skill

Security audit

Skill to OpenClaw

Security checks for vulnerabilities and agentic risk

Overview

The skill is a transparent converter, but it can carry known malicious payloads, exfiltration logic, or secrets into converted skills instead of requiring safe removal.

Use this only in an isolated workspace and only with sources you are prepared to review carefully. Do not use it to fully convert untrusted or high-risk skills unless you first require sanitization, secret redaction, and quarantine/removal of malicious or exfiltration-related content from the output.

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

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:28
Finding

Malicious Payload Preservation and EXTREME-Risk Conversion Bypass

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:28-32, SKILL.md:131, SKILL.md:253
Vulnerability Type: Unsafe skill instructions that preserve and permit conversion of malicious content
Risk Level: High

Relevant Instructions:

markdown
- If vetting returns EXTREME risk, stop and report findings. Do not proceed to conversion.
- If vetting returns HIGH risk, stop by default and report findings unless the user explicitly asks for a salvage-only review or another narrower non-conversion review scope.
- If vetting returns MEDIUM risk, continue only after classifying and annotating the flagged material, and the final summary must explain how it was handled.
- If vetting returns LOW risk, continue normally.
- Preserve source capabilities and source content by default during conversion. Do not remove a capability or source content merely because it is sensitive, advanced, high-impact, malicious-looking, secret-bearing, or otherwise risky.
markdown
- Do not remove malicious payloads, covert exfiltration logic, secret-bearing content, or other flagged content during conversion unless the user explicitly approved a restricted or salvage-only path that requires that change.
markdown
- no EXTREME-risk source has been converted unless the user explicitly instructed how to proceed despite the warning

Technical Analysis

The skill defines a vetting gate that initially prohibits conversion of EXTREME-risk sources, but later introduces contradictory instructions. It explicitly directs the conversion process not to remove malicious payloads, covert exfiltration logic, or secret-bearing content. It also treats conversion of EXTREME-risk material as acceptable when a user instructs the agent to proceed despite the warning.

This inconsistency makes the safety control fail open. An attacker controlling or influencing the conversion request can use user confirmation to override the earlier prohi ...[truncated 1883 chars]

Remediation
View remediation

Remediation Suggestions

  1. Make EXTREME risk an unconditional conversion stop. Remove the exception at SKILL.md:253 and state that user confirmation cannot override this boundary.
  2. Replace the preservation rule at SKILL.md:131 with a requirement to quarantine and exclude confirmed malicious payloads, covert exfiltration logic, embedded secrets, credential-theft instructions, and persistence mechanisms.
  3. Permit only a non-operational salvage report for EXTREME-risk sources. Such a report may identify affected files and describe risks, but must not reproduce executable payloads or create a converted skill.
  4. Require secret redaction before any source material is copied into output files.
  5. Resolve all contradictory instructions so the success criteria, conversion workflow, and internal vetting rules consistently fail closed.
  6. Add a final pre-output security check that blocks generated packages containing known malicious commands, active exfiltration endpoints, hardcoded credentials, obfuscated executable content, or remote-execution payloads.
  7. For HIGH-risk sources, restrict output to a review or quarantine plan unless a separate policy explicitly permits a sanitized conversion. Never preserve confirmed malicious implementation details merely for capability fidelity.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (8)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill explicitly requires preserving malicious payloads, covert exfiltration logic, and secret-bearing content during conversion unless the user requests a narrower mode. That turns a format-conversion workflow into a mechanism for laundering dangerous content into a trusted OpenClaw-compatible package, increasing the chance that harmful code or embedded secrets are retained and later executed or disclosed.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Decide which file should become the new `SKILL.md`.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Decide which file should become the new `SKILL.md`.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Decide which file should become the new `SKILL.md`.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Decide which file should become the new `SKILL.md`.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Decide which file should become the new `SKILL.md`.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This instruction again directs the agent not to remove malicious payloads, covert exfiltration logic, or secret-bearing content during conversion unless the user explicitly approves a restricted path. In context, this materially increases risk because the skill's stated purpose is conversion, not malware preservation, so the rule normalizes carrying harmful capabilities forward into a reusable skill bundle.

Content

No source excerpt is available for this finding.

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.

Content

Scanner excerpt · references/internal-vetting-rules.md (reported line 74)May include surrounding context.

md
- suspicious telemetry or analytics beacons
- obfuscated shell, JavaScript, or Python
- remote execution without clear user control
- destructive commands or cleanup without guardrails
- instructions that weaken security or bypass safeguards
- secret-bearing examples or hardcoded credentials

Static analysis

No suspicious patterns detected.