Back to skill

Security audit

SnapGrid

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a benign verdict with medium confidence: no AIG findings, and one install-command signature that Skillspector marked as not expected for the stated purpose.

The verdict is benign, but confidence is medium and Skillspector’s analysis is partial because it could not resolve references to palette sidecars described in the skill. Consider reviewing the flagged Git-based install source before installing.

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
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • 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
Findings (1)

YARA rule 'agent_skill_remote_bootstrap_execution': Remote script or code download followed by execution/bootstrap installation [agent_skills]

High
Category
YARA Match
Confidence
85% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

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

PEG-damaged — and rewrites it as clean pixel art on that grid, with a recovered palette. A sprite sheet or a folder of animation frames is estimated jointly, so every frame lands on one shared grid with one shared palette and frames cannot flicker or drift. If no clean grid can be proven, snapgrid abstains and writes nothing: a wrong grid is treated as worse than no answer.

Install

bash
pip install git+https://github.com/RakTikoo/snapgrid

This provides the snapgrid command.

Run

Snap a single image:

bash
snapgrid fix damaged.png --out fixed.png

Snap a sheet (frames in a grid) or a folder of frames, jointly:

bash
snapgrid sheet sheet.png --rows 2 --cols 4 --out fixed_frames/
snapgrid sheet frames_folder/ --out fixed_frames/

--max-colors N caps the palette (default 256) on both subcommands. Every successful run also writes the shared palette next to the output as .palette.gpl (GIMP palette) and .palette.json sidecars.

Reading the results