T09 · Insecure Skill Coding Practices
- Location
SKILL.md:55- Finding
Hardcoded Gemini API Credential Exposed in Skill Documentation
- Content
View full analysis
- Remediation
View remediation
&2 exit 1 fi uv run ~/.openclaw/workspace/skills/nano-banana-pro/scripts/generate_image.py \ --prompt "..." \ --filename "..." \ --resolution 2K ``` 5. Provision the value through a secret manager or protected deployment configuration. 6. Restrict the replacement key to only the required APIs, applications, environments, and quotas. 7. Add automated secret scanning to pre-commit and CI checks. 8. Replace documentation values with non-secret placeholders such as `${GEMINI_API_KEY}`. ]]>
