Back to skill

Security audit

god-of-slop

Security checks for vulnerabilities and agentic risk

Overview

This is a quality-control skill, but it needs review because it can ask users to upload broad debugging artifacts such as full HAR files without privacy or redaction warnings.

Install only if you are comfortable with the agent asking for diagnostic artifacts. Before sharing HAR files, console logs, screenshots, recordings, documents, audio, or file paths, review and redact cookies, authorization headers, tokens, account identifiers, internal URLs, and confidential content; prefer screenshots or selected request details before full exports.

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
references/artifact-recipes.md:16
Finding
Unredacted HAR Collection May Expose Authentication Secrets and Private Data<![CDATA[ ## Vulnerability Details **File Location**: `references/artifact-recipes.md:16-18` (invoked by `SKILL.md:65-67`) **Vulnerability Type**: Sensitive information exposure through excessive artifact collection **Risk Level**: Medium ### Vulnerable Code `references/artifact-recipes.md:16-18`: ```markdown ## What a page actually requested (HAR) Any browser: `F12` → Network tab → reproduce the problem → right-click any row → "Save all as HAR with content" → send the file. ``` The recipe is explicitly incorporated into agent behavior by `SKILL.md:65-67`: ```markdown | Modality gap / feedback gap (needs their eyes) | User | Request the artifact + the fastest recipe to produce it (pre-written: `{baseDir}/references/artifact-recipes.md` — copy the recipe, don't improvise one) | ``` ### Technical Analysis The Skill directs the agent to copy a recipe asking users to export and send an entire HAR file “with content.” Such files can contain substantially more information than is necessary to diagnose a particular request, including: - `Authorization` headers and bearer tokens - Session cookies and anti-CSRF tokens - API keys embedded in headers or URLs - Sensitive query parameters - Request and response bodies - Personal, financial, or proprietary application data - Internal hostnames, endpoints, and infrastructure metadata The recipe provides no warning, redaction procedure, scope restriction, or instruction to inspect the file before uploading it. Because `SKILL.md` tells the agent to copy the recipe rather than improvise safer guidance, this unsafe collection behavior may be reproduced consistently. This exceeds minimum necessary access when a screenshot, selected request metadata, sanitized request export, or a narrowly filtered HAR would answer the diagnostic question. There is no evidence that the data is deliberately sent to an attacker-controlled endpoint; the risk is unintended disclosure to the chat provider, agent environment, logging systems, ...[truncated 1551 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Remove “Save all as HAR with content” as the default diagnostic route. 2. Prefer lower-sensitivity evidence first: - A screenshot of the relevant Network panel entry - The request URL with secret query parameters removed - HTTP method, status code, timing, and non-sensitive headers - A single relevant request rather than the complete browser session 3. If a HAR is essential, instruct the user to: - Record only the minimum reproduction window. - Log out of unrelated services and close unrelated tabs first. - Remove `Authorization`, `Cookie`, `Set-Cookie`, API-key, and proxy-authentication headers. - Remove tokens, passwords, email addresses, account identifiers, and secret query parameters. - Remove or replace sensitive request and response bodies. - Review the sanitized file in a text editor before upload. 4. Warn users that HAR files may contain active session credentials and private content. 5. Recommend revoking or rotating any credential accidentally included in an uploaded HAR. 6. Update the Skill instruction so agents adapt the recipe to the minimum artifact required instead of copying unsafe collection guidance verbatim. 7. Add a verification checkpoint requiring the agent to confirm that requested artifacts are proportionate and include explicit sanitization guidance. A safer replacement would be: ```markdown Ask for a screenshot or selected metadata from the relevant Network request first. If a HAR is strictly necessary, record only the minimum reproduction, remove authorization headers, cookies, tokens, secret query parameters, and sensitive bodies, then inspect the sanitized file before sending it. Never upload an unreviewed HAR from an authenticated session. ``` ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
94% confidence
Finding
The opt-out trigger includes the phrase "just write it," which is broad, colloquial language that can easily appear in normal user requests unrelated to disabling safeguards. An attacker or even an ordinary user could unintentionally suppress the pre-flight safety behavior, causing the skill to skip checks for missing inputs, modality gaps, or unverifiable assumptions and increasing the chance of unsafe or low-integrity outputs.

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The guidance tells users to export and send HAR files, console output, file paths, and arbitrary documents without any warning that these artifacts can contain sensitive data such as cookies, authorization headers, personal documents, local usernames, or internal URLs. In a skill specifically designed to collect debugging artifacts quickly, this omission increases the chance that users will overshare sensitive information to the agent or service handling the chat.

Static analysis

No suspicious patterns detected.