Skip to content

DOCS

SECRET-002

A secret sitting in an environment file the agent loads.

Why it matters

Environment files are easy to commit and easy to upload.

How to fix

Rotate the value and keep secrets out of files the scanner can see. A match whose location path contains env or environment is SECRET-002. Other config locations stay SECRET-001.

Current scanner

Current scans raise SECRET-002 at the same severity as the matching pattern.

Back to scan results.