T09 · Insecure Skill Coding Practices
- Location
references/api-reference.md:61- Finding
StarRocks Administrator Password Exposed in Command-Line Arguments
- Content
View full analysis
/cmdline` or process-monitoring tools. - Shell history when a user manually runs or copies the documented command. - Agent tool-call and command-execution logs. - Terminal recordings, debugging traces, audit systems, and observability platforms. - Parent-process telemetry or endpoint monitori ...[truncated 1923 chars]- Remediation
View remediation
`. - Add a warning that example values must never be used as actual credentials. 5. **Harden temporary handling if a file is unavoidable.** - Create the file atomically in a trusted directory. - Set a restrictive `umask`, such as `077`, before creation. - Avoid predictable file names and symbolic-link-following behavior. - Remove the file in a cleanup handler on both success and failure. - Do not persist the file in project directories, shared storage, or diagnostic archives. 6. **Rotate potentially affected credentials.** - Change administrator passwords for instances created using copied example values or commands that may have be ...[truncated 114 chars]
