T09 · Insecure Skill Coding Practices
- Location
scripts/new-post.sh:65- Finding
Long-Lived Ghost Admin API Secret Transmitted as an Authorization Credential
- Content
View full analysis
- Remediation
View remediation
` header. 4. Never transmit, print, log, or return the signing secret. 5. Redact authorization headers in reverse-proxy, application, and diagnostic logs. 6. Rotate any Admin API key that has already been used by the current implementation. 7. Add automated tests confirming that the raw key and its secret portion never appear in outbound requests. 8. Prefer protected environment or secret-manager injection. Remove the `--api-key` command-line option because command-line values can be retained in shell history or exposed through process inspection. ]]>
