T09 · Insecure Skill Coding Practices
- Location
SKILL.md:14- Finding
Lidarr API Key May Be Transmitted over Plaintext HTTP
- Content
View full analysis
- Remediation
View remediation
&2 echo "Configure HTTPS or explicitly enable an insecure local-network override." >&2 exit 1 ;; *) echo "Error: Lidarr URL must use HTTPS." >&2 exit 1 ;; esac ``` 3. If compatibility with HTTP-only local deployments is essential, require an explicit opt-in such as `allowInsecureHttp: true` and display a prominent warning. The secure default should remain HTTPS. 4. Configure TLS directly in Lidarr or place Lidarr behind a trusted HTTPS reverse proxy. Validate certificates normally; do not add `curl --insecure`. 5. Replace the realistic-looking example API key with an unmistakable placeholder to prevent accidental reuse or confusion: ```json "apiKey": "REPLACE_WITH_YOUR_LIDARR_API_KEY" ``` 6. Document restrictive permissions for the credential file: ```bash chmod 600 ~/.clawdbot/credentials/lidarr/config.json ``` 7. Rotate any API key that may previously have been transmitted over an untrusted plaintext connection, and restrict network access to the Lidarr API using firewall rules or network segmentation. ]]>
