Report security issues privately via GitHub Security Advisories on RepoGraph-Protocol.
Do not open public issues for undisclosed vulnerabilities.
- Never commit
.npmrc, tokens, or OTP codes to the repository. - Never paste tokens in chat, issues, or CI logs.
- Publish using a short-lived token in environment variables only:
$env:NPM_TOKEN = "npm_..." # Automation or granular token with publish scope
$env:SKIP_BUILD = "1" # optional, after local bundle
pnpm publish:cli- Revoke it immediately: npm Access Tokens
- Create a new Automation token (bypass 2FA for CI) or Granular token scoped to
@repographprotocol/* - Store the new token only in:
- Your local shell environment, or
- GitHub repository secret
NPM_TOKEN(for automated releases)
For publishing from CI, add repository secret:
| Secret | Purpose |
|---|---|
NPM_TOKEN |
Publish @repographprotocol/cli |
Composite Action consumers do not need npm tokens; they install the public package.