Back to skill

Security audit

raspberry-pi-gpio

Security checks for vulnerabilities and agentic risk

Overview

This skill is a scoped Raspberry Pi GPIO guide with disclosed setup commands and no hidden execution or data exfiltration behavior found.

Install this only for Raspberry Pi GPIO work. Review any sudo commands before running them, especially package removal and adding a user to the gpio group, and verify the target board, package conflict, and wiring safety before controlling connected hardware.

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

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest description is written entirely in Chinese and the rest of the skill content also assumes Chinese as the interaction language, but there is no note that language selection is optional or limited to a justified China-specific use case. This creates a natural-language locale policy issue because the skill appears to impose a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/raspberry-pi-gpio.md (reported line 97)May include surrounding context.

如果发现没有安装, 则执行下列命令进行安装:

bash
sudo apt update
sudo apt install python3-gpiozero

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file includes a privileged system-modification command (sudo usermod -a -G gpio <username>) that changes user group membership, which affects system access controls. Although the section explains what the command does, it does not explicitly warn users that it requires administrative privileges and alters permissions on the device.

Content

No source excerpt is available for this finding.