audit-secrets-and-config
Skill4 starsChanged 2 months agoMITView on GitHub
Audit secrets, environment configuration, frontend bundles, startup validation, and webhook signature verification. Use when reviewing code for hardcoded API keys, exposed credentials, missing required environment variable checks, silent production misconfiguration, or forgeable webhook endpoints.
In this repository25 other files it gives its agents.
- audit-asset-pipelineSkill
- audit-auth-and-access-controlSkill
- audit-corsSkill
- audit-database-performanceSkill
- audit-input-validationSkill
- audit-rate-limitingSkill
- audit-resilience-and-observabilitySkill
- audit-type-safetySkill
- ios-prelaunch-checklistSkill
- security-reviewSkill
- code-review-loopSkill
- error-logging-reviewSkill
- hive-parallel-review-loopSkill
- hive-review-loopSkill
- input-contract-hardeningSkill
- microskills-review-generatorSkill
- microskills-review-runnerSkill
- parallel-code-review-loopSkill
- perf-optimizationSkill
- parallel-plan-implementationSkill
- phase-commit-reviewerSkill
- product-implementation-plannerSkill
- product-plan-compilerSkill
- test-quality-reviewSkill
- verified-commit-splitSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Search for committed secrets:
- Distinctive: line 24
Verify signature validation exists for providers such as Stripe, RevenueCat, GitHub, Apple, Google, Slack, and payment processors.
- Distinctive: line 25
Verify the raw request body is used when the provider requires it.
- Distinctive: line 26
Verify timestamp tolerance, replay protection where supported, and failure logging without leaking secrets.
- Very specific: line 30
Search for likely secret names and values with terms such as api_key, apikey, secret, token, password, passwd, private_key, client_secret, …
- Distinctive: line 32
Use secret-scanning tools when available, but manually review hits because allowlisted test keys and public publishable keys are common.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit Secrets And Config
Find credentials and configuration paths that can leak, fail silently, or allow forged external events.
Workflow
- Search for committed secrets:
- API keys, private keys, tokens, passwords, DSNs, OAuth client secrets, signing secrets, webhook secrets, database URLs, cloud credentials, and service account files.
- Include frontend source, mobile source, server code, tests, config examples, docs, generated bundles, deployment files, CI config, and scripts.
- Distinguish public identifiers from secrets:
- Public client IDs and publishable keys can be allowed when the provider documents them as public.
- Secret values in client or mobile bundles are always findings.
- Redact secret values in reports; show only enough prefix/context to identify the file.
- Inspect startup config validation:
- Required env vars should be validated at boot with clear failures.
- Production-only requirements should not silently fall back to development defaults.
- Config parsing should validate type, enum values, URLs, and numeric ranges.
- Inspect webhook endpoints:
- Verify signature validation exists for providers such as Stripe, RevenueCat, GitHub, Apple, Google, Slack, and payment processors.
- Verify the raw request body is used when the provider requires it.
- Verify timestamp tolerance, replay protection where supported, and failure logging without leaking secrets.
Useful Searches
Search for likely secret names and values with terms such as api_key, apikey, secret, token, password, passwd, private_key, client_secret, webhook, signing, DATABASE_URL, AWS_, GCP_, GOOGLE_, STRIPE_, REVENUECAT_, SENTRY_, and BEGIN PRIVATE KEY.
Use secret-scanning tools when available, but manually review hits because allowlisted test keys and public publishable keys are common.
Output
Report three sections:
- Exposed or hardcoded secrets.
- Missing or weak env var validation.
- Webhook signature verification gaps.
For each finding include file and line, secret type or config key, risk, remediation, and whether rotation is required. When a real secret appears committed, recommend immediate revocation/rotation and history cleanup without printing the full value.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

