Dangerous: permission-test - GEMINI.md | Skillgate
Skillgate scanned .gemini/GEMINI.md in permission-test and rated it Dangerous with a risk score of 92/100 (1 detection).
Skillgate found one or more attack-shaped patterns - the kind used for credential exfiltration, remote code execution, or instruction hijack. Do not load this file into an agent without reading it end to end.
What was found
- SG-100 Agent-propagated / credential exfiltration - CRITICAL: Instruction file tells the agent to inject an outbound network call into every generated file, or to harvest environment secrets/credentials and POST them to an external host. Covers prompt-exfil variants that carry no covert keyword and no $USER_PROMPT token (real example: NiranjanJ2/permission-test .gemini/GEMINI.md, 2026-06).
What to do
Read the flagged lines in the source file yourself before installing it or letting an agent load it. Every detection above links to the rule that fired, with the conditions that trigger it and remediation where one exists. Open the interactive report for evidence lines and context.
About Skillgate
Skillgate is a free scanner from Mitiga Labs for AI agent skills, hooks, MCP configs, and instruction files (SKILL.md, CLAUDE.md, AGENTS.md, .cursorrules, .claude/settings.json). It runs static rules plus an LLM judge and maps each finding to a known attack technique. Static analysis only: it never executes the file it scans. No scanner is 100% accurate - a verdict is a signal, not a guarantee. Browse all detection rules.