T09 · Insecure Skill Coding Practices
- Location
scripts/kaiten.sh:5- Finding
Bearer Token Disclosure Through Unvalidated API Domain
- Content
View full analysis
- Remediation
View remediation
&2 exit 1 fi BASE="https://${domain}/api/latest" AUTH="Authorization: Bearer ${KAITEN_TOKEN}" ``` If custom Kaiten deployments must be supported, require an explicit allowlist rather than accepting an unrestricted environment-provided hostname. Protect `~/.openclaw/secrets/kaiten.env` with restrictive permissions and rotate the token if unauthorized modification or disclosure is suspected. ]]>
