Back to skill

Security audit

modular-skills

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because a scanner confirmed a broad command that changes file permissions, while analysis was partial and some referenced paths could not be resolved.

Review the permission-repair instructions before installing and consider whether granting execute permission to every file under `scripts/` is acceptable. The scan covered all nine listed components, but was marked partial because several referenced paths were missing from the bundle; evidence about those paths is incomplete.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · modules/optimization-techniques.md (reported line 68)May include surrounding context.

md
- Merge similar functions with parameterization
- Replace code blocks with structured data where appropriate
- Implement progressive loading for non-essential content
- Update skill documentation to reference external tools

### Phase 4: Validation
- Verify line count <300 (target: 150-200)

The permission-repair command recursively makes every file under scripts/ executable without warning about its broad scope.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The recursive permission-repair command adds executable permission to every regular file under scripts/, including non-tool files and nested content that have not been individually reviewed. Troubleshooting execution failures is legitimate, but this unnecessarily broad change can enable accidental execution of unintended files; it does not itself execute them or grant elevated privileges.

Content

No source excerpt is available for this finding.