Skip to content

Remove hardcoded service-role JWT from scripts #481

@Calebux

Description

@Calebux

Problem

A service role token is embedded directly in an npm script, creating credential leakage risk.

Evidence

  • ()

Scope

  • Move token to environment variable or local-only secrets file ignored by git
  • Add script validation for required env vars
  • Rotate leaked token if it was ever valid/shared

Acceptance Criteria

  • No hardcoded JWTs in repo scripts
  • Local audit script works with env-based secret injection
  • Security guidance updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions