Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The script constructs a shell command containing the plaintext MySQL password and then echoes that command as part of execution. Even though it attempts to scrub the password with sed, this pattern is unsafe because credentials are still placed on the command line and the redaction is brittle; passwords may leak via process listings, logs, shell history, or malformed redaction behavior.
