Back to skill

Security audit

refactoring-specialist

Security checks for vulnerabilities and agentic risk

Overview

This is a refactoring guidance skill with no executable code, hidden persistence, credential handling, or unrelated behavior.

Install this only if you want an agent to help analyze and refactor code. Because it can guide broad code changes, review proposed diffs, tests, and any commits before accepting them.

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
  • 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)

Vague Triggers

Medium
Confidence
93% confidence
Finding
This markdown file describes behavior 'When invoked' but never specifies what exact user phrases, contexts, or conditions should activate the skill. Without explicit trigger scope or exclusion conditions, the skill could be invoked too broadly for general refactoring-related requests.

Static analysis

No suspicious patterns detected.