Back to skill

Security audit

gpt-image-2-6

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious with medium confidence, mainly because local-photo workflows lack clear disclosure of external processing and the installation command uses an unpinned package; the scan was partial.

Before installing, consider whether you are comfortable with an unpinned installation command. Before using local or reference photos, check which services receive them and approve the transfer only if you are comfortable with their processing and storage. The scan was partial: it inspected all three listed components, but some local references could not be resolved, so the evidence is incomplete.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (11)

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The installation command executes an unpinned npm package and retrieves skill content without an immutable revision. A compromised future release or repository revision could introduce code or agent instructions with access to the user's environment; this is a supply-chain weakness, although the command is not itself an MCP server reference.

Content

No source excerpt is available for this finding.

Local-photo workflows lack a disclosure that user images are sent to third-party services.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The local-photo examples encourage an agent workflow that requires sending user images outside the local environment, without clearly explaining that transfer. Naming the services elsewhere provides some context, but does not establish informed approval to upload potentially sensitive photos.

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 135)May include surrounding context.

md
| 2048×2048, high | estimate first | 10.7¢ |
| Failed job | 0 | |

Check any request before you run it: `POST https://api.varg.ai/v2/estimate` with the same body, or
`estimate_cost` on the MCP. Follow the spend rules in the varg-ai skill (a cap, approved models,
estimate before every paid call).

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 170)May include surrounding context.

md
-H "Content-Type: image/png" --data-binary @photo.png

# text to image (Flare)
curl -s -X POST https://api.varg.ai/v2/image -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" -d '{
  "model": "gpt_image_2_6",
  "prompt": "…",

Local-photo upload instructions lack a privacy warning about external storage and processing.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The instructions explicitly upload a local image to external storage and return a public_url, but provide no privacy checkpoint before the agent performs the transfer. Sensitive image content or metadata could leave the user's control, and the access restrictions and retention of the returned URL are unspecified.

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 · SKILL.md (reported line 158)May include surrounding context.

md
It returns `url`, `job_id` and `cost_credits`. An edit adds `"files": [{"url": "https://s3.varg.ai/…"}]`
to `input`. To use a local file, upload it first: `create_upload({"media_type": "image/png", "size":
<bytes>})`, then `curl -X PUT -H "Content-Type: application/octet-stream" --data-binary @photo.png
"https://api.varg.ai$proxy_url"` with the `proxy_url` it returned; the answer has the file's
`public_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 · SKILL.md (reported line 166)May include surrounding context.

bash
# upload a local image -> {"url": "https://s3.varg.ai/...", ...}
curl -s -X POST https://api.varg.ai/v2/files -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: image/png" --data-binary @photo.png

# text to image (Flare)

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.

md
}'

# edit on Sunburst, custom size
curl -s -X POST https://api.varg.ai/v2/image -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" -d '{
  "model": "fal:openai/gpt-image-2.6/sunburst/edit",
  "prompt": "…",

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 188)May include surrounding context.

}'

each image call answers 202 with {"id": "job_…"}; poll until "completed"; the image is output.outputs[0].url

curl -s https://api.varg.ai/v2/jobs/JOB_ID -H "Authorization: Bearer $VARG_API_KEY"

text

Model spec with every option: https://varg.ai/models/gpt_image_2_6.md. JSON schema (no key):

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 192)May include surrounding context.

text

Model spec with every option: https://varg.ai/models/gpt_image_2_6.md. JSON schema (no key):
https://api.varg.ai/v2/tools/image?model=gpt_image_2_6.

## 7. Prompting text-heavy layouts

Photo-editing recipes instruct submission of user images without warning about third-party processing.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The recipes direct agents to submit user reference images through a remote editing workflow without explaining the privacy implications or requiring approval for external processing. The later requirement to obtain a depicted person's agreement is helpful, but does not explicitly address external storage, downstream processors, or retention.

Content

No source excerpt is available for this finding.