T09 · Insecure Skill Coding Practices
- Location
SKILL.md:50- Finding
Secret values may be exposed through documented shell command construction
- Content
View full analysis
- Remediation
View remediation
&2 printf '%s' "$SECRET_VALUE" | node {baseDir}/scripts/envsafe.js \ --file /home/node/.openclaw/.env set OPENAI_API_KEY --stdin unset SECRET_VALUE ``` This interactive example is safer than a literal secret-bearing command, although a framework-provided protected stdin channel is preferable because shell tracing or instrumentation could still expose shell variables. ]]>
