Back to skill

Security audit

Code Explainer Tool

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple code-explanation prompt with no bundled executable code, persistence, credential access, or hidden behavior.

Installers should understand that any code or file they ask this skill to explain may be read by the agent for analysis. The referenced scripts/explain_code.py file is not included, so treat the script command as documentation that may need a separate implementation rather than a reviewed bundled tool.

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
Category
Not specified by scanner
Confidence
95% confidence
Finding

The usage examples include very generic trigger phrases like 'explain this code' and 'what does this do?' that can overlap with normal conversation and unintentionally invoke the skill when a user did not explicitly intend to use it. In an agent environment, broad activation patterns can cause incorrect routing of user requests, leading to unintended processing of arbitrary pasted content.

Content

No source excerpt is available for this finding.