Back to skill

Security audit

Gifgrep

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward gifgrep helper skill, with disclosed local download and Finder reveal behavior and a normal but mutable external CLI dependency.

Install only if you are comfortable trusting the upstream gifgrep Homebrew tap or Go module. Use --download and --reveal only when you intend to create files in ~/Downloads or open Finder, and provide Giphy or Tenor API keys only for the providers you want to use.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:15
Finding

Unpinned Third-Party Executable Dependency

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 15–27
Vulnerability Type: Mutable and insufficiently verified third-party dependency
Risk Level: Medium

Complete Code Snippet:

yaml
        "install":
          [
            {
              "id": "brew",
              "kind": "brew",
              "formula": "steipete/tap/gifgrep",
              "bins": ["gifgrep"],
              "label": "Install gifgrep (brew)",
            },
            {
              "id": "go",
              "kind": "go",
              "module": "github.com/steipete/gifgrep/cmd/gifgrep@latest",
              "bins": ["gifgrep"],
              "label": "Install gifgrep (go)",
            },
          ],

Technical Analysis

The Skill defines installation methods that obtain executable software from a custom Homebrew tap or from a Go module using the mutable @latest selector. It does not pin an immutable release or commit and does not specify checksum or signature verification.

Consequently, the code installed at deployment time may differ from the code that existed when the Skill was audited. The @latest selector expressly resolves to a release selected at installation time. The custom Homebrew formula is likewise not pinned to an immutable, integrity-verified artifact in this configuration. This creates a supply-chain trust gap: compromise of the upstream repository, module release process, Go module distribution path, or Homebrew tap could introduce attacker-controlled executable content.

This finding does not establish that the current gifgrep package or its maintainer is malicious. The vulnerability is the use of mutable, unverified installation sources.

Attack Path

  1. An attacker compromises an upstream maintainer account, repository, release pipeline, or custom Homebrew tap, or otherwise gains the ability to publish a malicious version.
  2. The attacker publishes a malicious ...[truncated 1259 chars]
Remediation
View remediation

Remediation Suggestions

  1. Replace @latest with a specifically reviewed semantic version or, preferably, an immutable commit or content digest.
  2. Pin the Homebrew installation to a reviewed formula revision and immutable release artifact rather than relying on the current state of a custom tap.
  3. Publish expected SHA-256 checksums for release artifacts and verify them before installation.
  4. Where supported, verify signed releases or provenance attestations against a documented trusted maintainer identity.
  5. Use automated dependency monitoring to identify security advisories while requiring review before updating pinned versions.
  6. Perform installation and execution with least privilege, avoiding administrative execution unless strictly necessary.
  7. Document the exact trusted version, artifact source, integrity value, and update procedure in the Skill metadata.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

This markdown file describes operations that write files to the local system and reveal them in Finder, which can affect user data location and trigger OS UI behavior. While the behavior is described functionally, there is no explicit warning or caution to the user about saving files locally or opening Finder.

Content

No source excerpt is available for this finding.