T09 · Insecure Skill Coding Practices
- Location
SKILL.md:584- Finding
Default SSH Private Key Exposed Through Command-Line Argument Expansion
- Content
View full analysis
- Remediation
View remediation
` option and read the file internally without printing its contents. 4. Verify that the selected file is a regular file, is owned by the invoking user, and has restrictive permissions such as mode `0600`. 5. Recommend generating a dedicated Coolify deployment key instead of reusing `~/.ssh/id_rsa`. 6. Require explicit user confirmation before reading any private-key file. 7. Avoid returning private-key material in command output or API error messages. 8. Where supported by the API, prefer references to keys already registered in Coolify rather than repeatedly transmitting raw private-key material. ]]>
