Back to skill

Security audit

Streme Token Launcher

Security checks for vulnerabilities and agentic risk

Overview

This Streme token launcher is mostly purpose-aligned, but it needs Review because it can run mainnet wallet transactions and upload local files to external hosts without strong scoping or confirmations.

Review this skill carefully before installing. Use a dedicated low-value deployment wallet, verify Base mainnet and all contract addresses, inspect the exact token parameters before signing, and do not run the upload helper on any path unless you are certain it is the intended public token image. Prefer adding pinned dependencies and a lockfile before supplying PRIVATE_KEY or provider API credentials.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/upload-image.ts:21
Finding

Unrestricted Local File Upload to External Hosting Services

Content
View full analysis
{ const formData = new FormData(); const file = fs.readFileSync(filePath); const blob = new Blob([file]); formData.append('file', blob, path.basename(filePath)); const response = await fetch('https://api.pinata.cloud/pinning/pinFileToIPFS', { method: 'POST', headers: { Authorization: `Bearer ${pinataJwt}`, }, body: formData, }); if (!response.ok) { throw new Error(`Pinata upload failed: ${response.statusText}`); } const data = (await response.json()) as PinataResponse; return `https://gateway.pinata.cloud/ipfs/${data.IpfsHash}`; } ``` Equivalent unrestricted reads and uploads also occur in the Cloudinary implementation at `scripts/upload-image.ts:56-58` and the imgBB implementation at `scripts/upload-image.ts:95-100`. ### Technical Analysis The image upload function accepts an arbitrary local path and reads its complete contents using `fs.readFileSync`. It does not verify that the target is a regular image file, inspect its actual MIME signature, enforce an extension allowlist, restrict access to an approved directory, or apply the documented five-megabyte size limit. Uploading a user-selected image to an external provider is necessary for the declared token-launching functionality. Reading and transmitting any file accessible to the process is broader than the minimum privilege required. The checks at `scripts/upload-image.ts:143-149` only verify that the path exists; they do not establish that the path refers to an acceptable image. The same issue affects all three supported providers. Pinata uploads the raw bytes, while Cloudinary and imgBB convert the bytes to Base64 before transmission. Merely labeli ...[truncated 1279 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/upload-image.ts:108
Finding

imgBB API Key Exposed in Request URL

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:100
Finding

Unpinned Runtime Tool Execution Through npx

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (24)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The skill is presented as a token launcher, but it also includes functionality to upload local image files to third-party services and send data off-host. That mismatch is dangerous because users may invoke the skill expecting only on-chain deployment steps, while it can also exfiltrate local content and use additional external services.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
PINATA_JWT=xxx npx ts-node scripts/upload-image.ts pinata ./token.png

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
PINATA_JWT=xxx npx ts-node scripts/upload-image.ts pinata ./token.png

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
PINATA_JWT=xxx npx ts-node scripts/upload-image.ts pinata ./token.png

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill demonstrates network access and likely environment-variable usage (e.g. PINATA_JWT, Cloudinary credentials) but does not declare a restrictive tool scope. In an agent setting, undeclared capabilities reduce transparency and can permit broader-than-expected external access or secret handling during execution.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest advertises broad trigger phrases such as 'any Streme token deployment task,' which can cause over-invocation in contexts the user did not intend. For a skill capable of network actions and potentially irreversible blockchain workflows, overly broad routing increases the chance of accidental execution or inappropriate recommendation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation instructs users on token deployment and related configuration without prominently warning that blockchain transactions are irreversible and may spend funds or create lasting on-chain artifacts. In an agentic setting, omission of that warning raises the risk of unsafe or accidental use by users who may treat the skill as low-risk automation.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
76% confidence
Finding

Using npx ts-node without pinning an exact package version creates a supply-chain risk because different versions may be fetched at runtime. If a malicious or compromised package version is resolved, the user could execute attacker-controlled code on the local machine.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
76% confidence
Finding

The unpinned npx ts-node invocation can resolve arbitrary package versions at execution time, which is a classic dependency/supply-chain weakness. In a workflow that may handle API credentials and local files, compromise of that tool can expose secrets or alter deployment behavior.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
76% confidence
Finding

This command repeats the same unpinned runtime dependency pattern with npx ts-node, leaving execution dependent on whatever version is fetched. That increases exposure to malicious package publication, typosquatting, or unexpected behavioral changes.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Query deployed tokens via:

text
GET https://api.streme.fun/api/tokens/deployer/{deployerAddress}

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Query deployed tokens via:

text
GET https://api.streme.fun/api/tokens/deployer/{deployerAddress}

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Query deployed tokens via:

text
GET https://api.streme.fun/api/tokens/deployer/{deployerAddress}

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/contracts.md (reported line 178)May include surrounding context.

Query deployed tokens via:

text
GET https://api.streme.fun/api/tokens/deployer/{deployerAddress}

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The usage example instructs operators to run the script via npx ts-node, which does not pin an exact package version. If ts-node is resolved from the network or an unexpected local/global installation, an attacker controlling package resolution or a compromised upstream release could cause execution of untrusted code before the deployment logic runs. This is more dangerous in this skill because the script is explicitly intended to handle a PRIVATE_KEY and perform on-chain deployment from a privileged wallet.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/upload-image.ts (reported line 27)May include surrounding context.

ts
const blob = new Blob([file]);
  formData.append('file', blob, path.basename(filePath));

  const response = await fetch('https://api.pinata.cloud/pinning/pinFileToIPFS', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${pinataJwt}`,

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/upload-image.ts (reported line 27)May include surrounding context.

ts
const blob = new Blob([file]);
  formData.append('file', blob, path.basename(filePath));

  const response = await fetch('https://api.pinata.cloud/pinning/pinFileToIPFS', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${pinataJwt}`,

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The script reads a local file and uploads it to external services such as Pinata, Cloudinary, and imgBB. Although the helper names indicate uploading, there is no explicit user-facing warning or confirmation in the CLI flow that local file contents will be sent off-device to third-party providers.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This code performs a network upload of user-supplied file contents to Cloudinary and relies on sensitive credentials from environment variables. The file header and usage text mention required variables, but they do not clearly warn the user that invoking the script transmits local data to a third-party service.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/upload-image.ts (reported line 77)May include surrounding context.

ts
formData.append('transformation', 'w_400,h_400,c_fill');

  const response = await fetch(
    `https://api.cloudinary.com/v1_1/${cloudName}/image/upload`,
    {
      method: 'POST',
      body: formData,

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/upload-image.ts (reported line 116)May include surrounding context.

ts
}

  const url = apiKey
    ? `https://api.imgbb.com/1/upload?key=${apiKey}`
    : 'https://api.imgbb.com/1/upload';

  const response = await fetch(url, {

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/upload-image.ts (reported line 117)May include surrounding context.

ts
}

  const url = apiKey
    ? `https://api.imgbb.com/1/upload?key=${apiKey}`
    : 'https://api.imgbb.com/1/upload';

  const response = await fetch(url, {

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The function uploads base64-encoded file contents to imgBB, but the CLI only lists the provider and optional API key without an explicit disclosure about third-party data transmission. For safety-sensitive operations involving external transfer of local files, a visible warning helps users understand the privacy impact.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/upload-image.ts:169