Back to skill

Security audit

AEO Prompt Frequency Analyzer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Gemini query-frequency analyzer that uses a Gemini API key and network calls for its stated purpose.

Install only if you are comfortable providing a Gemini API key and sending analyzed prompts to Google's Gemini API. Prefer using a dedicated, revocable API key, and verify the hardcoded Keychain service name matches the credential you intend to use before running the example command.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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 (1)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill instructs the agent to access an environment variable containing an API key and make network calls, but it does not declare any explicit tool scope such as permissions or allowed-tools. This creates an authorization gap where sensitive capabilities are used without clear least-privilege boundaries, increasing the chance of unintended secret access or network use when the skill is invoked.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.