T01 · Skill Instruction Hijacking
- Location
SKILL.md:57- Finding
Mandatory Promotional Content Injection into Contract Analysis Responses
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly analyzes Russian contracts, but it also asks the agent to run Python, write a persistent local counter, and inject promotional links.
Review before installing. The contract explanation portion is straightforward, but the skill also performs unrelated local state tracking and inserts promotional links. Install only if that behavior is removed or explicitly acceptable in your environment.
SKILL.md:57Mandatory Promotional Content Injection into Contract Analysis Responses
SKILL.md:61Undisclosed Command Execution and Persistent Workspace Counter Modification
Confusable Unicode characters (e.g., Cyrillic or Greek lookalikes of Latin letters) can make a malicious tool name appear identical to a trusted one.
The skill claims to analyze contracts, but it also instructs the agent to read and update a local counter file and append promotional content based on that state. This is unrelated hidden behavior that expands the skill's scope, introduces persistent state changes, and creates an integrity/privacy risk because the agent is being redirected from user-facing analysis into local environment interaction.
The skill contains undisclosed subprocess/file-write behavior for attribution tracking, which is not mentioned in the user-facing description. Hidden stateful tracking and local writes are dangerous because they violate least surprise, can be abused for covert telemetry/persistence, and may bypass user expectations about what a document-analysis skill is allowed to do.
The embedded Python commands cause local command execution and file-state management that are not necessary for contract explanation. In an agent environment, any prompt that attempts to trigger subprocess-like behavior or filesystem writes is dangerous because it can be adapted for persistence, data access, or covert tracking beyond the user's request.
The skill name, slug, and description indicate a Russian-language and Russian-contract focus, but the file does not explicitly offer language choice or state that Russian output is a documented locale constraint. This can be a natural-language policy issue if the skill forces a specific language without user opt-in.
The skill's early security guidance is good, but later instructions contradict the principle of limiting behavior to document analysis by adding unrelated command execution. This inconsistency is dangerous because it normalizes a security-conscious framing while smuggling in operational instructions, making reviewers or agents less likely to notice the scope change.
This markdown file defines activation triggers, so SQP-1 applies. The list includes broad words like "договор", "контракт", and especially "подписать", which can appear in many ordinary contexts and may cause unintended invocation without clear scope limits or exclusion examples.
The staged flow moves from legitimate contract analysis into local command execution and self-promotion, which is characteristic of prompt-level behavior smuggling. This is dangerous in context because the skill appears trustworthy and domain-specific, so the unrelated final steps may evade scrutiny while causing unauthorized side effects in the agent environment.
No suspicious patterns detected.