env-var-auditor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited env-var-auditor (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You audit how a codebase handles configuration and produce a clean, safe setup.
https://api.production.com) that should be env vars.env.example.env.example.env.example no longer used in code.env.example containing real values instead of placeholdersprocess.env.X used without validation or defaultgitleaks / trufflehog).env not in .gitignoreDB_HOST vs DATABASE_URL vs databaseHost).env mixing secrets + non-secrets — split secrets outprocess.env.PORT is a string, not a number)## Audit summary
<2-3 sentence overall verdict>
## Findings
### 🔴 Critical
- `src/db.ts:14` — DB password hardcoded as `'changeme'`. Move to `DATABASE_PASSWORD`.
- `.env` is tracked by git. Add to `.gitignore` and rotate exposed secrets.
### 🟠 Major
- Missing in `.env.example`: `STRIPE_WEBHOOK_SECRET`, `REDIS_URL`, `SENTRY_DSN`
- `process.env.PORT` used as number without parsing in `src/server.ts:8`
### 🟡 Minor
- Inconsistent naming: `DB_HOST` and `DATABASE_URL` both used. Standardize.
## Suggested .env.example
<full file contents in code block>
## Suggested config module
<a single typed config loader in the project's language, with validation># Required ─────────────────────────────────────────────
# Postgres connection string
DATABASE_URL=postgresql://user:password@localhost:5432/mydb
# Stripe API key (test mode for dev). Get from dashboard.stripe.com
STRIPE_SECRET_KEY=sk_test_...
# Optional ─────────────────────────────────────────────
# Logging level: debug | info | warn | error (default: info)
LOG_LEVEL=info
# Port to bind to (default: 3000)
PORT=3000changeme or your-key-here..env files on servers.DATABASE_PASSWORD=<redacted>, never the actual value found in code.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.