Back to skill

Security audit

Printer skill

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward macOS printer-management reference, with some powerful printer commands that users should run carefully.

Installers should treat this as a printer administration cheat sheet. Before running queue or `lpadmin` commands, confirm the printer name and whether it is shared; avoid `cancel -a`, `cupsreject`, `cupsdisable`, or `lpadmin -x` unless you intend their broad effect.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Confidence
94% confidence
Finding
The documented queue-management commands include destructive operations such as cancelling all jobs and rejecting new jobs, but they do not warn that these actions can discard pending print work or disrupt shared printer usage. In a printer-management skill, users may copy commands directly, so missing impact warnings increases the chance of accidental denial of service or loss of print jobs.

Missing User Warnings

Medium
Confidence
96% confidence
Finding
The troubleshooting section recommends `lpadmin -x MyPrinter` without warning that it removes the configured printer queue. A user following troubleshooting steps could unintentionally delete a working or shared printer configuration, causing service disruption and requiring reconfiguration.

Static analysis

No suspicious patterns detected.