Credential Access
High
- Category
- Privilege Escalation
- Content
# 方式一:环境变量(推荐,一次配置永久生效) export JUHE_IMAGE_KEY=你的AppKey # 方式二:.env 文件(在脚本目录创建) echo "JUHE_IMAGE_KEY=你的AppKey" > scripts/.env # 方式三:每次命令行传入
- Confidence
- 83% confidence
- Finding
- The documentation instructs users to write a live API key into scripts/.env, which can lead to credential exposure if that file is committed to source control, shared, backed up insecurely, or left with permissive filesystem access. In skill ecosystems, encouraging plaintext secret storage inside the project tree increases the chance that downstream tooling or users accidentally disclose the credential.
