Secrets & keys
Password, token or key written to the logslaunch.sensitive-console-log
Logs are copied to your host, error tracker and anyone with dashboard access, and are kept for weeks. A secret logged once is a secret shared with all of them.
- In force Rule launch.sensitive-console-log
- 3 clauses
At a glance
| Severity | medium |
|---|---|
| Certainty | Observed — the code as written is the problem |
| Looks at | your source code |
| When it runs | Runs on every scan |
How to fix it
Remove the value from the log call, or log a redacted form (e.g. the last 4 characters) only when debugging.
Check your own app
Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.
If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line launch.sensitive-console-log -- <why>.
Your code stays
on your machine
Only findings are uploaded, and only to your own dashboard.
ScanlyFix
Security, privacy pages, SEO and AI visibility checked in one scan, with fixes your AI editor can apply.
Home