Skip to content

crawl/sitemap-domain: robots.txt-declared cross-host sitemap flagged as wrong domain #2225

Closed

Description

@nc9

Source: MCP feedback fb_263 (run 01M7XFXQ6QSA4MJXV6DB5ES4J9, site kadeep.ai).

Seen. crawl/sitemap-domain (error) flagged 125 URLs of docs.kadeep.ai as wrong domain; it was the top finding and dragged the score to 48. https://kadeep.ai/robots.txt declares Sitemap: https://docs.kadeep.ai/sitemap-index.xml, and sitemaps.org allows a cross-host sitemap when robots.txt declares it.

Where. packages/rules/src/crawl/sitemap-domain.ts.

Expected. Skip URL sets from a sitemap listed in robots.txt (any host); flag only sitemaps that are neither robots-declared nor same-origin. Say in the message when the sitemap was robots-declared. Optionally info for a subdomain of the audited registrable domain.

Acceptance Criteria

  • Fixture: robots.txt lists a sitemap on another host; its URLs produce no crawl/sitemap-domain error.
  • A foreign-host sitemap not listed in robots.txt still flags.
  • The message states whether the sitemap was robots-declared.

nik

Activity

  1. added
    bug
    size: S
    rules
    on Nov 22, 2026
  2. added theissue type on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions