Back to skill

Security audit

Codex × WorkBuddy 控制

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report behavior that may exceed its stated coordination and read-only acceptance purpose, especially instructions to implement or repair business code.

Treat this as a review warning, not a claim that the author is malicious. Before installing, consider whether you are comfortable with the skill directing implementation work and submitting completion results, and review its declared tool scope. The report says all 21 listed components were covered, but static checks did not inspect the two binary icons; the separate AIG scan returned no findings. The overall evidence is therefore not a guarantee that the skill is safe.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The complete --result PASS invocation requests a workflow state change, which goes beyond the declared read-only acceptance and candidate-handoff scope. The supplied chunk does not itself rerun checks or demonstrate that the evidence statement is valid. The implementation of wb_bus.py is not supplied, so the assessment concerns the command's explicitly requested action rather than verified downstream effects.

Content

No source excerpt is available for this finding.

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/self_test.py (reported line 30)May include surrounding context.

python
def run(arguments: list[str], expected: int = 0) -> subprocess.CompletedProcess[str]:
    env = os.environ.copy()
    env["PYTHONDONTWRITEBYTECODE"] = "1"
    result = subprocess.run(arguments, text=True, capture_output=True, env=env, check=False)
    if result.returncode != expected:

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, 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.

S2 directs business-code implementation and repair despite the manifest limiting the skill to coordination, read-only acceptance, and candidate handoff.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest explicitly states that the skill does not replace business execution. However, the copy-ready S2 prompt instructs Codex to complete implementation, modify existing code, and repair failed tests, making business execution part of the skill's prescribed workflow rather than merely coordinating or reviewing it.

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/self_test.py (reported line 32)May include surrounding context.

python
def run(arguments: list[str], expected: int = 0) -> subprocess.CompletedProcess[str]:
    env = os.environ.copy()
    env["PYTHONDONTWRITEBYTECODE"] = "1"
    result = subprocess.run(arguments, text=True, capture_output=True, env=env, check=False)
    if result.returncode != expected:
        raise Failure(
            f"命令退出码应为 {expected},实际 {result.returncode}\n"