T09 · Insecure Skill Coding Practices
- Location
SKILL.md:49- Finding
Application API Credential Can Be Transmitted over Plaintext HTTP
- Content
View full analysis
- Remediation
View remediation
&2 return 1 ;; esac curl --fail-with-body --show-error --silent \ --proto '=https' \ --tlsv1.2 \ -X POST \ -u "jsonrpc:$token" \ -H "Content-Type: application/json" \ -d "{\"jsonrpc\":\"2.0\",\"method\":\"$method\",\"id\":1,\"params\":$params}" \ "${KANBOARD_URL}/jsonrpc.php" | jq . ``` - Do not disable TLS certificate validation. - Document that HTTPS with a valid, trusted certificate is mandatory. - Rotate the API token immediately if it may previously have been sent over plaintext HTTP. ]]>
