client-secret-exposure-audit
Skill by sickn33
Audits a deployed web app for secrets exposed to the browser. It is for developers and security reviewers who are authorized to test the site.
Install client-secret-exposure-audit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/client-secret-exposure-audit ~/.claude/skills/client-secret-exposure-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install client-secret-exposure-audit in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/client-secret-exposure-audit ~/.gemini/antigravity-cli/skills/client-secret-exposure-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install client-secret-exposure-audit in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Client-side secret and sensitive-file exposure audit is a defensive, read-only skill for checking a deployed web app for credentials visible to the browser. It looks for hardcoded API keys and tokens in JavaScript, secrets in HTML meta tags, attributes and comments, and publicly reachable source, config and deploy files. It also reviews response headers and CORS settings.
The workflow fetches only resources the server already serves to anonymous visitors, using unauthenticated GET requests. It probes common paths against a single-page-app fallback baseline, scans sourcemaps, and scores findings by blast radius. It reports redacted evidence with remediation and rotation advice. It is meant for people auditing sites they own or are authorized to test.
Written from the project's SKILL.md and checked against it.
What it can do
- Header reviewFlags missing security headers and CORS misconfiguration in the page response.
- HTML secret scanReports candidate secrets in meta tags, data attributes and comments as redacted fingerprints.
- Script and sourcemap scanChecks discovered scripts and .js.map files for hardcoded keys and tokens.
- Sensitive file probeChecks common paths such as /.env, /.git/config and /docker-compose.yml for public access.
- Fallback baseline checkCompares responses to a catch-all page so SPA fallback pages are not reported as files.
- Severity triageRates each finding from Critical to Info by blast radius rather than location.
- Redacted reportWrites a Markdown report with redacted evidence, remediation and secret rotation advice.
What you need
- Written authorization for the target hostnames
- curl for HTTP requests
- Local HTML parser and URL parser
- A trusted network client that enforces address checks, or inventory-only mode
Try asking
- Check my deployed site for API keys in its JavaScript bundle
- Probe my site for exposed .env, .git and docker-compose files
- Write a redacted Markdown report of client-side secret exposure findings
Good to know
- Read-only: unauthenticated GET requests only, with no exploitation or mutation.
- Does not test injection, auth logic, IDOR or server-side flaws.
- Path probing uses a wordlist, so it finds common exposures only.
- Pattern matches are candidates and need contextual review.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/client-secret-exposure-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/example-report.md8 KB
Alternatives to client-secret-exposure-audit
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
client-secret-exposure-audit: common questions
Can I run this audit against any website?
No. The source says to run it only against systems you own or have explicit written permission to assess, and not against third-party sites.
Does this skill exploit vulnerabilities?
No. The source says it does not exploit, brute-force or mutate anything, and only fetches resources the server already serves publicly.
What should I do with secrets this audit finds?
The source says exposed credentials should be treated as potentially compromised and rotated, not just removed from the site.
How do I install client-secret-exposure-audit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is client-secret-exposure-audit free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is client-secret-exposure-audit safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to client-secret-exposure-audit?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
