YARA rule 'agent_skill_prompt_injection_hidden_instructions': Prompt injection or hidden instructions embedded in AI agent skill text [agent_skills]
- Category
- YARA Match
- Confidence
- 80% confidence
- Finding
YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
- Content
json cepts", "evals": [ { "id": 1, "prompt": "Our support agent keeps returning answers in slightly different shapes and our parser breaks every few calls. The prompt just says 'respond in JSON'. What's wrong and what do we change?", "expected_output": "Identify concept 6 (output formatting) + 18 (JSON mode) as the missing layer: a bare 'respond in JSON' gives no schema, so the model invents keys and shapes. Fix by shipping the exact shape with types, a required-keys list, and one example output; forbid extra keys and markdown fences; validate the parse in code (try/except + schema check) rather than trusting the model. Optionally add 2-3 few-shot examples of input -> exact JSON to stabilise the shape (concept 2), and keep temperature low (concept 7) since this is extraction, not ideation.", "expectations": [ "Diagnoses the missing schema as the root cause, not model quality", "Provides a concrete example shape with types and required keys",
