Back to skill

Security audit

AI Prompt Optimization

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only prompt-writing helper with broad wording, but no hidden code, network access, persistence, or credential handling.

This skill is reasonable to install for prompt-writing help. Review generated prompts before use in sensitive areas, and avoid using it to optimize harmful, evasive, or policy-bypassing requests. Consider revising its chain-of-thought examples to request concise reasoning summaries instead of full hidden reasoning.

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 (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description is very broad and can match many ordinary 'help me write/improve a prompt' requests without clear routing boundaries. Over-broad activation increases the chance the agent applies this skill in unintended contexts, which can override more specific safety-aligned skills or inject prompt-engineering behaviors where they are not appropriate.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The instruction 'When users seek prompt optimization assistance, provide the following services' is operationally vague and does not constrain scope, inputs, or prohibited uses. In practice this can cause the skill to engage too readily and provide prompt-construction help for risky or disallowed objectives, especially because prompt optimization is a general capability applicable across many domains.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill explicitly recommends chain-of-thought prompt patterns such as 'Before giving your final answer, please think through the following steps,' without instructing the model to keep reasoning internal or summarize briefly. This can encourage exposure of intermediate reasoning, which may conflict with policies that prohibit revealing hidden reasoning and can also make prompt outputs easier to manipulate through reasoning-targeted attacks.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The translation template hard-codes 'You are a professional translator proficient in [source language] and [target language],' which constrains output to specified languages without any explicit user opt-in or alternative language handling guidance. This is a mild natural-language policy concern because it can force a language configuration rather than presenting it as a user choice.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.