Back to skill

Security audit

IndexNow Setup

Security checks for vulnerabilities and agentic risk

Overview

This skill sets up an IndexNow submission script that sends a website's sitemap URLs to the official IndexNow endpoint, which matches its stated purpose.

Install only for websites you control. Before running it, confirm the SITE_URL and IndexNow key are correct, make sure the key file is intentionally public, and review the sitemap so staging, admin, private, or unintended URLs are not submitted to search engines.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Confidence
82% confidence
Finding
The skill instructs the agent to submit site URLs to external search-engine infrastructure but does not explicitly warn the user that URLs from the site's sitemap will be transmitted off-platform. In an agent setting, this can lead to unanticipated disclosure of internal, staging, or otherwise sensitive URLs if the sitemap is misconfigured or the user did not intend outbound sharing.

External Transmission

Medium
Category
Data Exfiltration
Content
The script:
1. Fetches `sitemap.xml` from the site
2. Extracts all `<loc>` URLs
3. POSTs them to `https://api.indexnow.org/IndexNow`

For non-Node projects, invoke the script directly:
Confidence
90% confidence
Finding
This is a real external-transmission behavior: the workflow posts discovered URLs to https://api.indexnow.org/IndexNow. In context this is the skill's intended function, but it still carries security and privacy risk because it can expose site structure and URLs to third-party services, especially if pointed at non-public environments or a sitemap containing sensitive endpoints.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/submit-indexnow.mjs:1