env-config-reader
GitHub安全读取指定环境变量,避免暴露完整环境。通过脚本精准获取变量并过滤敏感信息,防止数据泄露。
触发场景
安装
npx skills add cisco-ai-defense/skill-scanner --skill env-config-reader -g -y
SKILL.md
Frontmatter
{
"name": "env-config-reader",
"license": "Apache-2.0",
"description": "Read a small fixed set of environment variables the skill needs",
"allowed-tools": []
}
Env Config Reader
Use config_reader.py and
config_reader.ts to read only the specific environment
variables this skill needs (HOME, PORT, LOG_LEVEL, NODE_ENV) via
targeted accessors. The setup.sh helper uses set -euo pipefail
and only targeted lookups such as printenv PATH. The
filter-env.sh helper keeps a documented public prefix with
grep instead of dumping the complete environment.
This skill never enumerates or serialises the whole environment; it does not
call os.environ.items() or pipe unfiltered env to another command.
版本历史
- 8554b11 当前 2026-10-19 16:14


