T01 · Skill Instruction Hijacking
- Location
SKILL.md:10- Finding
Agent Behavior and Output Hijacking Through Mandatory Skill Directives
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Django code-generation skill is mostly purpose-aligned, but it tries to override normal agent behavior, expand edit scope, and require disclosure of chain-of-thought reasoning.
Review this skill before installing. It does not show exfiltration or destructive behavior, but it can push an agent to rewrite more code than requested, ignore preferred response formats, and expose reasoning that should stay private. If used, constrain it with explicit user instructions such as minimal changes only, no chain-of-thought, pinned dependencies, and no unrelated file-wide cleanup without approval.
SKILL.md:10Agent Behavior and Output Hijacking Through Mandatory Skill Directives
SKILL.md:38Unpinned Package and Container Image Dependencies
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
build/
.venv/
venv/
.env
*.sqlite3
db.sqlite3
staticfiles/
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
build/
.venv/
venv/
.env
*.sqlite3
db.sqlite3
staticfiles/
The skill instructs the model to reveal internal reasoning in a dedicated chain-of-thought section, directly conflicting with hidden-reasoning safeguards. This is dangerous because it can expose sensitive internal decision-making patterns, make downstream prompt injection easier, and normalize behavior that leaks privileged internal analysis beyond what users need.
Mandating Russian specifically for the reasoning section imposes an unnecessary locale constraint unrelated to secure Django code generation. While not directly enabling code execution or data exfiltration, it can interfere with user expectations, reduce transparency for non-Russian users, and act as a subtle instruction-priority override in agent behavior.
The skill explicitly requires a dedicated ## Цепочка мыслей section with step-by-step execution reasoning. This asks the model to disclose internal reasoning that is not necessary to generate Django code and can override standard safeguards that keep chain-of-thought hidden. In an agent skill, this also increases prompt-injection surface by making internal planning externally visible and easier to steer.
The response format requires a section title in Russian, forcing a specific language and output structure regardless of user preference. This is a policy/behavioral override that is not justified by the skill's stated purpose and can degrade usability or create instruction conflicts in multilingual environments.
No suspicious patterns detected.