Back to skill

Security audit

Prompt Optimizer Claude

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed prompt-optimization helper with no code execution, external access, persistence, or hidden data handling.

This appears safe to install for prompt optimization. Be aware it may activate on broad prompt-refinement requests, and you should review the optimized prompt before using it if wording, language, or constraints matter.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger description is very broad and matches generic requests such as optimization, refinement, and token saving across many domains. This can cause the skill to activate when the user did not explicitly request this skill, leading to prompt hijacking of normal conversations and unintended instruction shaping.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill claims applicability across a very wide range of scenarios without defining activation boundaries or disambiguation rules. In an agent environment, this increases the chance of unintended invocation over unrelated tasks, which can override more appropriate skills and alter user requests in ways the user did not ask for.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

The text says the skill will automatically detect Chinese/English and maintain language consistency, which imposes a language behavior automatically. Because it does not offer the user a language preference or opt-in, it may violate language or locale choice expectations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The instruction to output Chinese if input is Chinese and English if input is English is a fixed language policy. It does not mention any user override, so it constrains language choice without explicit consent.

Content

No source excerpt is available for this finding.