Back to skill

Security audit

RaspAP

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed RaspAP diagnostics helper, with sensitive network access called out and guarded by read-only defaults.

Install this only if you want an agent to inspect your local RaspAP router/AP status. Configure your own host and key file, keep the API key secret, avoid raw config output unless necessary, and approve any service reloads or restarts only when you understand the network impact. Also confirm the referenced raspap-api helper is present and from a trusted source because it is not included in this artifact.

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

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 71)May include surrounding context.

md
## Troubleshooting

If `:8081` is closed, check `restapi.service` on the Raspberry Pi. A `systemd` status of `217/USER` usually means the unit's `User=` does not exist; change it to a real local user, then run `sudo systemctl daemon-reload` and restart the service.