Skip to content

CLI: prove a start URL's userinfo never reaches any cloud endpoint during a signed-in audit #2341

Backlog

Description

@nc9

A start URL like https://user:pw@host/ should have its credentials stripped from every request the CLI sends to squirrelscan cloud endpoints, while local crawling keeps using them for HTTP auth to the audited site. There is no end-to-end test of this today.

Acceptance Criteria

  • A fake-cloud test runs a full signed-in audit of a start URL with user:pw@ and asserts the credentials appear in no request body, URL or header sent to any cloud endpoint (run register, render, metadata, technologies, publish, usage)
  • Each cloud-bound request builder strips userinfo (and secret-looking query values) from the start URL at its entry, reusing the existing URL redaction helper
  • Local crawling still sends the user-supplied credentials to the audited site, covered by a test
  • docs/cli/audit.mdx says credentials in a start URL are used only for the local crawl and are never sent to squirrelscan cloud

Activity

  1. added
    enhancement
    size: M
    on Nov 25, 2026
  2. added theissue type on Nov 25, 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

    clienhancementsize: M

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions