Back to skill

Security audit

agent-worklog-review

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: its reported purpose aligns with local conversation review and reporting, though scanners flagged mismatches with its local-only, read-only claims and some evidence is incomplete.

The verdict is benign, but that does not mean risk-free. Consider whether the reported network access and local file writes fit your expectations, especially given the stated no-network and read-only claims. Skillspector's analysis was partial because some referenced paths were missing, so the evidence does not cover every reference.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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
Findings (9)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Although cloning a repository can be a supporting installation step, the supplied command directly contradicts the description's unqualified no-network and read-only guarantees. The snippet does not show conversation uploads or establish what the downloaded skill subsequently does; the absence of analysis functionality alone is not the basis for this finding.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

WSL directory discovery is a relevant supporting step for locating agent conversation records. However, opening the cache with mode "w" and calling json.dump performs a filesystem write, directly contradicting the declared read-only restriction. The WSL UNC paths refer to local WSL access; this chunk shows no conversation upload or external network communication. Its lack of reporting functionality is not itself a mismatch because this is a helper script.

Content

No source excerpt is available for this finding.

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · scripts/adapters/dsh.py (reported line 135)May include surrounding context.

python
break
        except Exception:
            pass
        return prompt, ts0, cwd

    def collect_tokens(self):
        rows = []

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.

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

python
if not exe or not os.path.isfile(exe):
            continue
        try:
            r = subprocess.run([exe, "-c", "import zstandard"],
                               capture_output=True, timeout=15)
            if r.returncode == 0:
                return os.path.abspath(exe)

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

python
path = os.path.join(SCRIPTS, script)
    print(f"\n{'='*60}\n>>> {desc}  [{os.path.basename(exe)}]\n{'='*60}", flush=True)
    try:
        r = subprocess.run([exe, path], capture_output=True, text=True, timeout=1800)
        for line in (r.stdout or "").strip().splitlines()[-20:]:
            print("  " + line, flush=True)
        if r.returncode != 0:

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

python
try:
        if INTERACTIVE:
            # 交互模式:不捕获输出,让用户能看到提示并输入
            r = subprocess.run(cmd, timeout=timeout)
            ok = r.returncode == 0
        else:
            r = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout)

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

python
r = subprocess.run(cmd, timeout=timeout)
            ok = r.returncode == 0
        else:
            r = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout)
            for line in (r.stdout or "").strip().splitlines()[:8]:
                print("  " + line, flush=True)
            ok = r.returncode == 0

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.