Back to skill

Security audit

bs-mixpanel-style-og

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it reports an unsafe image-reference redirect and undisclosed uploads during quoting, alongside an unpinned install command; analysis of several scripts was incomplete.

Consider the privacy implications of reference images being uploaded during quoting, the internal-endpoint redirect risk, and the mutable package install command before installing. Several scripts were only partially inspected, so the scan evidence is incomplete; the verdict is suspicious and does not establish malicious intent.

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/lib/skillry-media.mjs
Finding

Reference-image redirects bypass destination restrictions

Content
View full analysis

Impact

An attacker-controlled public HTTPS reference can redirect to an internal HTTP endpoint, causing an unauthorized GET request from the agent host. Internal responses containing accepted image data can also be processed and uploaded as references. Arbitrary secret disclosure and code execution are not established.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (22)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
nce.** Use the user-selected provider from the options above: Skillry API Key (`scripts/generate.mjs`, default), Codex built-in `image_gen` (if in Codex), or cu

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/generate.mjs \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Before delivery, run `scripts/validate-output.mjs` with `--require-format

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 684)May include surrounding context.

js
status: 'SUBMITTED',
    updatedAt: new Date().toISOString(),
  };
  delete state.error;
  const submitError = payloadError(submitted);
  if (submitError) {
    state.providerStatus = 'SUBMISSION_RESPONSE_ERROR';

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 714)May include surrounding context.

js
adoptedAt: new Date().toISOString(),
  });
  state.updatedAt = state.adoptedAt;
  delete state.error;
  writeJsonAtomic(taskPath, state);
  process.stdout.write(`Adopted existing FAL request ${requestId}.\n`);
  return state;

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 789)May include surrounding context.

js
syncDirectoryBestEffort(dirname(temporaryPath));
    }
    state.status = 'COMPLETED';
    delete state.temporaryOutputPath;
    delete state.error;
    state.updatedAt = new Date().toISOString();
    writeJsonAtomic(taskPath, state);

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 790)May include surrounding context.

js
}
    state.status = 'COMPLETED';
    delete state.temporaryOutputPath;
    delete state.error;
    state.updatedAt = new Date().toISOString();
    writeJsonAtomic(taskPath, state);
    process.stdout.write(`Recovered completed output: ${state.outputPath}\n`);

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 804)May include surrounding context.

js
unlinkSync(temporaryPath);
  syncDirectoryBestEffort(dirname(state.outputPath));
  state.status = 'COMPLETED';
  delete state.temporaryOutputPath;
  delete state.error;
  state.updatedAt = new Date().toISOString();
  writeJsonAtomic(taskPath, state);

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 805)May include surrounding context.

js
syncDirectoryBestEffort(dirname(state.outputPath));
  state.status = 'COMPLETED';
  delete state.temporaryOutputPath;
  delete state.error;
  state.updatedAt = new Date().toISOString();
  writeJsonAtomic(taskPath, state);
  process.stdout.write(`Recovered downloaded output: ${state.outputPath}\n`);

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 925)May include surrounding context.

js
temporaryOutputPath: temporaryPath,
    updatedAt: new Date().toISOString(),
  });
  delete state.error;
  writeJsonAtomic(taskPath, state);
  finalizeLocalResult(state, taskPath, temporaryPath);
}

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 967)May include surrounding context.

js
`FAL task reported an error: ${statusError}. The task record is preserved; do not submit a replacement without approval.`
      );
    }
    delete state.error;
    if (state.providerStatus === 'COMPLETED') state.status = 'READY';
    else if (['FAILED', 'CANCELLED'].includes(state.providerStatus)) {
      state.status = state.providerStatus;

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 1052)May include surrounding context.

js
temporaryOutputPath: temporaryPath,
      updatedAt: new Date().toISOString(),
    });
    delete state.error;
    delete state.approvalUrl;
    writeJsonAtomic(taskPath, state);
    finalizeLocalResult(state, taskPath, temporaryPath);

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 1053)May include surrounding context.

js
updatedAt: new Date().toISOString(),
    });
    delete state.error;
    delete state.approvalUrl;
    writeJsonAtomic(taskPath, state);
    finalizeLocalResult(state, taskPath, temporaryPath);
  } catch (error) {

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · scripts/generate.mjs (reported line 1014)May include surrounding context.

js
createdAt: now,
        updatedAt: now,
      };
  delete state.error;
  writeJsonAtomic(taskPath, state);
  const norm = normalizeImageSize(requested.inputSummary.image_size, 'gpt-image-2');
  const expectedDims = PRESET_DIMENSIONS.get(requested.inputSummary.image_size);

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

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.

MCP server referenced without pinned version: 'npx --yes skillry-cli'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The suggested npx --yes skillry-cli@latest mcp command downloads and executes a mutable package version without an installation confirmation. A compromised future release or package account could execute code with the agent process's filesystem and credential access; its optional promotional placement reduces exposure but does not remove that risk.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · scripts/generate.mjs (reported line 853)May include surrounding context.

js
state.updatedAt = new Date().toISOString();
    writeJsonAtomic(taskPath, state);
    throw new Error(
      `FAL result contains an error: ${resultError}. The task record is preserved; do not submit a replacement without approval.`
    );
  }

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · scripts/generate.mjs (reported line 964)May include surrounding context.

js
state.error = statusError;
      writeJsonAtomic(taskPath, state);
      throw new Error(
        `FAL task reported an error: ${statusError}. The task record is preserved; do not submit a replacement without approval.`
      );
    }
    delete state.error;

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · scripts/generate.mjs (reported line 982)May include surrounding context.

js
}
    if (['FAILED', 'CANCELLED'].includes(state.status)) {
      throw new Error(
        `FAL task ended as ${state.status}. The task record is preserved; do not submit a replacement without approval.`
      );
    }
    const sleepMs = Math.min(

The quote function is documented as read-only but uploads reference images to the server.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

Despite being described as read-only, skillryQuote calls uploadHttpReferences, which reads supplied references and POSTs their bytes to the configured server before requesting a quote. Reference images are legitimate inputs for an OG-image skill, but callers relying on the read-only description could disclose confidential images during price estimation, before authorizing generation; this is not evidence of malicious exfiltration.

Content

No source excerpt is available for this finding.

The supposedly read-only quote step uploads reference images without disclosing that transfer.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The quote implementation transmits supplied reference images even though its documentation presents the operation as read-only and places spending approval afterward. This creates a potential privacy-consent gap for confidential design assets, although the surrounding caller may already have obtained upload consent; it is the same underlying issue as SDI-4, not an additional independent vulnerability.

Content

No source excerpt is available for this finding.

The skill includes audio-processing capabilities unrelated to creating OG images.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The manifest limits the skill to creating Mixpanel-style OG images, but applyAudioSpeed writes MP3 files and invokes ffmpeg to change audio playback speed. This exported audio transformation capability has no direct role in producing static social-sharing images.

Content

No source excerpt is available for this finding.