Back to skill

Security audit

BrewPage Publish

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the scans report behavior broadly aligned with the skill’s apparent publishing purpose, while several scanner checks were partial or flagged lower-confidence concerns.

The verdict is benign, but confidence is medium and the scan is incomplete: 10 of 12 components were scanned, and some static checks could not fully evaluate content. Consider whether the skill’s detected shell, network, and file-writing capabilities fit your needs, and review its declared tool scope and any runtime permissions before installing.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · scripts/brewpage-lib.sh (reported line 374)May include surrounding context.

sh
bp_archive_gate() {
  local rc="$1" manifest="$2" zip="$3"
  if [ "$rc" -ne 0 ] && [ "$rc" -ne 2 ]; then
    [ -n "$zip" ] && rm -f "$zip"
    echo "FAILED: archive not verified (publish.mjs exit $rc) — nothing was uploaded"
    return 1
  fi

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.md (reported line 10)May include surrounding context.

Copy the entire brewpage-publish/ folder, including SKILL.md, scripts/, and references/, into one of these OpenClaw skill directories.

text
<workspace>/skills/brewpage-publish/SKILL.md     # project-local skill
~/.openclaw/skills/brewpage-publish/SKILL.md      # shared by local agents with default settings

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.md (reported line 11)May include surrounding context.

text
<workspace>/skills/brewpage-publish/SKILL.md     # project-local skill
~/.openclaw/skills/brewpage-publish/SKILL.md      # shared by local agents with default settings

Use brewpage-publish in the agent's skill allowlist if one is configured. The package includes its own runner. OpenClaw skill placement and allowlists

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/history.py (reported line 84)May include surrounding context.

python
def git(root, arguments, allowed=(0, 1)):
    # Named variables only: repo discovery, PATH and ignore files; nothing else reaches git.
    env = {name: os.environ[name] for name in GIT_ENV if name in os.environ}
    result = subprocess.run(['git', '-C', root] + arguments, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env={**env, 'LC_ALL': 'C'})
    if result.returncode not in allowed:
        raise ValueError('Git safety check failed; repair repository configuration before publishing')
    return result