Back to skill

Security audit

Reve AI Image Generation

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Reve AI image CLI that sends user-provided prompts and selected images to Reve's API and writes generated output files locally.

Install only if you are comfortable sending prompts and any chosen edit/remix images to Reve's external API. Do not use sensitive, confidential, regulated, or private images or prompts unless that use is approved under your own data-handling requirements.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill documentation indicates it uses environment variables for API keys and makes outbound requests to the Reve API, but it does not declare tool scope such as permissions or allowed-tools. That omission weakens transparency and policy enforcement, making it easier for an agent or user to invoke network and secret-accessing behavior without an explicit trust boundary.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill description says it generates and edits images via the Reve AI API, but it does not clearly warn that user prompts and uploaded input images are transmitted to a third-party external service. This can lead to inadvertent disclosure of sensitive text or images because users may assume processing is local or may not understand the privacy implications.

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/reve.ts (reported line 4)May include surrounding context.

ts
#!/usr/bin/env bun
/**
 * Reve AI Image Generation CLI
 * https://api.reve.com/console/docs
 */

import { parseArgs } from "util";

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The edit flow reads a local file, base64-encodes it, and sends it as reference_image in a POST request to the Reve API. While the code's purpose is image editing, the user-facing help text does not explicitly disclose that local image contents are uploaded to an external service, which is a privacy-relevant operation for code files under this rule.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The remix flow loads up to six local files and sends their base64 contents as reference_images to the remote /v1/image/remix endpoint. The command help describes inputs and prompt syntax, but it does not clearly warn that user-provided local images are transmitted off-system to a third-party API.

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/reve.ts:14