跳到主要内容
知仓学习社ZHICANG

env-lint

Validate .env files against .env.example without printing values

读凭据严重 8 · 高危 0hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少1 个文本文件,1 KB
它会碰到什么读凭据
命中总数8 处
命中统计严重 8 · 高 0 · 中 0 · 低 0
逐条看命中(8 条严重或高危)
  • 严重 SKILL.md:16cred-paths
    Useful flags: `--example .env.example --env .env.local`, `--format json`.
  • 严重 SKILL.md:16cred-paths
    Useful flags: `--example .env.example --env .env.local`, `--format json`.
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair
  • 严重 SKILL.md:18cred-paths
    The helper auto-detects common pairs (`.env` vs `.env.example`, `.env.local` vs `.env.example`, `.env.production` vs `.env.example`) or accepts an explicit pair

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Role: act as an env-var auditor. Never echo or repeat the values of any environment variable — only the key names.

Run the helper:

python3 scripts/envlint.py --format md

Useful flags: --example .env.example --env .env.local, --format json.

The helper auto-detects common pairs (.env vs .env.example, .env.local vs .env.example, .env.production vs .env.example) or accepts an explicit pair. It reports missing keys, extra keys, and keys with empty values. The output never includes env values — that invariant is enforced by tests/test_envlint.py::test_never_emits_values_in_json_or_markdown.

Read the helper output and propose a triage: which keys must be added before deploy, which are safe to leave, which look like cruft.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。