Back to skill

Security audit

Pixr Cli

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward guide for using the local pixr image CLI, with disclosed persistent configuration behavior but no evidence of deception, exfiltration, or destructive actions.

Install this if you want Codex to operate the local pixr CLI. Be aware that commands such as setting the model, save directory, or profiles can persist under ~/.pixr and affect future pixr runs, and that generation uses your configured pixr/Gemini credentials and quota.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

External Model or Provider Selection

High
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · references/command-reference.md (reported line 77)May include surrounding context.

pixr profile list pixr profile show social pixr profile init social pixr profile init social --model gemini-3.1-flash-image-preview --save-dir "~/Pictures/pixr/social"

text

Notes:

Session Persistence

Medium
Category
Rogue Agent
Confidence
84% confidence
Finding

The skill encourages use of persistent home-directory state such as ~/.pixr/assets, ~/.pixr/config.json, and profile initialization, which can influence future runs outside the current session. In context this is expected CLI functionality, but without guardrails it enables an agent to create or change durable settings and assets that persist across tasks, making the behavior more dangerous than a purely ephemeral workflow.

Content

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

md
- "generate an image with pixr"
- "edit an image with pixr"
- "create variations with pixr"
- "set the pixr model"
- "save images to a default folder"
- "use the refs from ~/.pixr/assets"

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill enables implicit invocation but does not define a narrow, explicit trigger boundary. That means the agent may auto-select this skill for broad image-related requests and execute local CLI operations or configuration changes without sufficiently clear user intent, increasing the risk of unintended file writes, edits, or configuration manipulation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill explicitly recommends commands that persistently modify user configuration under ~/.pixr, including saved model, save directory, and profile defaults, but does not instruct the agent to obtain user confirmation before making those changes. This creates a session-persistence risk because an agent may silently alter future CLI behavior and filesystem destinations beyond the current task.

Content

No source excerpt is available for this finding.