T09 · Insecure Skill Coding Practices
- Location
scripts/index.js:12- Finding
HTTPS Is Not Enforced for Sensitive WooCommerce Traffic
- Content
View full analysis
{ try { const url = `${OPENCLAW_STORE_URL}/wp-json/openclaw/v1/system/status`; const response = await axios.get(url); ``` ### Technical Analysis `OPENCLAW_STORE_URL` is taken directly from the environment and used to construct network destinations without parsing the URL or requiring the `https:` protocol. Although the documented example uses HTTPS, the implementation accepts an HTTP URL. The authenticated endpoints return order and customer information, including customer names, order contents, totals, dates, and status. When HTTP is used, request payloads, HMAC signatures, and response data are transmitted without transport confidentiality or server authentication. HMAC signing provides message authentication but does not encrypt traffic or prevent passive observation. The network communication is necessary for the declared WooCommerce connector functionality and is sent only to the operator-configured store. However, allowing plaintext transport exceeds secure minimum requirements for processing ...[truncated 1134 chars]- Remediation
View remediation
