Back to skill

Security audit

bs-retool-style-og

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scans report reference images may be uploaded during a quote, an unpinned CLI command, and a redirect issue that can reach internal services; analysis was also incomplete.

Consider the reported image-upload behavior, internal-network redirect risk, and unpinned CLI installation before installing. The scan was partial: it reports 42.9% coverage, with four files only partially inspected, so it cannot establish that the remaining behavior is safe.

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

Automatic redirects bypass external-reference URL restrictions

Content
View full analysis

Impact

An attacker can cause unauthenticated GET requests to internal or loopback services, including HTTP targets rejected by the initial validator. Internal image responses can additionally be transmitted to Skillry without the user selecting those internal resources. Arbitrary secret extraction 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 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 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 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 command uses npx --yes skillry-cli@latest, which can download and execute a changing package version without an installation confirmation. A compromised future release could execute with the agent's local privileges and access available files or credentials; image generation does not require trusting arbitrary future CLI releases.

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 documented read-only quote operation uploads reference images to the server.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

Despite its read-only documentation, skillryQuote calls uploadHttpReferences, which sends reference image bytes to the configured server before requesting a quote. Reference uploads are relevant to image generation, but performing them during a supposedly read-only pricing step can disclose private images earlier than users or callers expect.

Content

No source excerpt is available for this finding.

The supposedly read-only quote operation uploads reference images before user approval without disclosing that behavior.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

This duplicates the reference-upload issue in SDI-4: requireConfirmedRun invokes skillryQuote before raising the budget-confirmation error, and quoting uploads references when using HTTP authentication. Spending approval is not necessarily permission to transfer data; without a separate disclosure or existing authorization, sensitive reference images can leave the machine before the user approves the workflow.

Content

No source excerpt is available for this finding.

The OG-image skill includes an unrelated audio-processing capability.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The manifest limits the skill's purpose to creating Retool-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-media images.

Content

No source excerpt is available for this finding.