query-index-optimizer

Pass

Audited by Gen Agent Trust Hub on Nov 15, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data from AEM query indexes and sitemaps which could potentially harbor malicious instructions.
  • Ingestion points: External JSON and XML files fetched via scripts/index-report.mjs.
  • Boundary markers: SKILL.md provides explicit instructions to the agent to treat processed content strictly as data and ignore any embedded instructions.
  • Capability inventory: The skill uses fetch and curl for network operations and JSON parsing.
  • Sanitization: The script implements an onHost validation function that restricts network requests to the original site domain, preventing SSRF and data exfiltration to third-party hosts.
  • [COMMAND_EXECUTION]: The skill uses standard command-line tools including Node.js to run its local auditing script and curl for retrieving AEM site configuration. These actions are aligned with the skill's purpose.
  • [SAFE]: Secret handling for the AEM_ADMIN_TOKEN is performed via environment variables, following industry best practices. The instructions explicitly forbid the agent from printing or exposing the secret.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 15, 2026, 09:14 PM