Back to skill

Security audit

Skill Preflight

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local SKILL.md preflight checker with a real validation bug, but its behavior is disclosed, purpose-aligned, and does not show malicious or high-impact authority.

Install only if you want a lightweight local preflight helper. Treat ok:true as a convenience signal, not a security guarantee, until the YAML/frontmatter parsing bug is fixed with proper hierarchy-aware validation.

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
scripts/preflight.py:43
Finding

Required dependency declaration validation can be bypassed

Content
View full analysis
` checks are then created. If all other checks pass, the final `all()` validation gate can emit `ok: true`, even though `metadata.openclaw.requires.bins` is absent. This is a fail-open validation flaw and contradicts the documented outcome contract that `ok:true` means every specified manifest check passed. ### Attack Path 1. An attacker or Skill ...[truncated 1298 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 (2)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`SKILL.md` passed *every* check below — nothing more, nothing less.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The listed natural-language triggers include phrases like "check my skill before publishing" and "validate this SKILL.md," which are fairly broad and do not define clear activation boundaries or exclusions. The file does not provide negative examples or narrower scope constraints for when these phrases should or should not invoke the skill.

Content

No source excerpt is available for this finding.