Back to skill

Security audit

KiCad Preflight

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the reported Git-based install step is a supply-chain risk, but the scanners found no evidence of malicious intent and judged the skill’s other reviewed behavior appropriate; coverage was partial.

The verdict is benign, not risk-free. Before installing, consider reviewing the source and pinning the install to a reviewed commit or vetted package, and use an isolated environment without sensitive credentials. Skillspector scanned the listed Markdown component but marked analysis partial because a referenced local path was missing; the findings do not establish that unreviewed material is safe.

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
87% confidence
Finding

The installation command retrieves code from a mutable GitHub repository without pinning a reviewed commit; pip may execute package-controlled build code during installation. A compromised repository or malicious upstream update could therefore execute with the installing agent's permissions. Installing a CLI is legitimate in this context and there is no evidence of malicious intent, but the tool's offline operation and standard-library-only claim do not protect its installation path.

Content

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

a standalone BOM CSV from any EDA tool) and gives one plain-English report — PASS, CAUTION, or BLOCK — from deterministic checks: schematic ↔ PCB agreement, BOM sanity, and offline part-risk flags. Every finding names the exact part and the values that disagree. The same project always gets the same answer, and project files are only parsed, never executed or modified.

Install

bash
pip install git+https://github.com/RakTikoo/kicad-preflight

This provides the kicad-preflight command (standard library only).

Run

Check a KiCad project folder:

bash
kicad-preflight path/to/project-folder

Check a lone BOM CSV (BOM checks only, any EDA tool):

bash
kicad-preflight path/to/bom.csv

Machine-readable report: add --format json. Other formats: --format md and --format sarif. The target may also be a single .kicad_pro, .kicad_sch or .kicad_pcb file inside a project.

Reading the results

The exit code is the verdict:

  • 0 — PASS: no find