Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Scans .env files and source code for env var references, flags missing or hardcoded secrets, and generates redacted .env.example templates.
84% 88%+4 ptsof test cases passed
Passed 22 of 25 test cases with the skill, and 21 of 25 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
.env* 变量清单、对比源码引用找出缺失配置、检查 .gitignore 与客户端前缀泄露(如 NEXT_PUBLIC_ / VITE_)、生成安全的 .env.example 与校验 Schema。security-audit;第三方依赖 CVE 核查 → dep-auditor。.env* 文件时只提取变量名、来源文件和是否为空,严禁在终端输出、报告、.env.example 或聊天记录中打印任何真实 API Key / Token / 密码原文。.env。 生成或更新 .env.example、校验 Schema 或修改真实 .env 前先展示差异并取得用户确认;严禁自动删除疑似未使用的环境变量。.env / .env.example 时,必须显式声明 encoding="utf-8",避免 CP936/GBK 编码报错或乱码。.env* 文件(.env / .env.local / .env.development / .env.production / .env.example),仅提取变量名与赋值状态(已设 / 为空),不输出值内容。.gitignore 是否正确忽略了包含真实凭据的 .env* 文件,并用 git ls-files ".env*" 检查是否已被误提交进版本库。process.env.XXX、import.meta.env.XXX、os.environ["XXX"]、os.getenv("XXX")、os.Getenv("XXX")、env::var("XXX") 等)。文件:行号)。NEXT_PUBLIC_、VITE_、REACT_APP_、NUXT_PUBLIC_、VUE_APP_ 前缀暴露到浏览器 Bundle。.env.example 与真实环境变量名清单的差异。经用户确认目标文件后:
.env.example(仅包含变量名、安全占位符与中文注释,严禁填入真实密钥)。.env.schema.json)或 CI Secrets 清单。env_file 挂载与子包加载建议。Next to this one in the catalogue, plus more from the same author.