🔑
Quality

Hardcoded Secrets

by utkusen

Hardcoded Secrets is a Quality skill for Claude Code, published by utkusen in sast-skills.

1.3K stars61 forkson utkusen/sast-skillsAdded 2026/07/20Repository updated 2026/04/08
ai-securityclaudeclaude-codesast
Install in seconds
Install Hardcoded Secrets
Copy Hardcoded Secrets into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-hardcodedsecrets ~/.claude/skills/sast-hardcodedsecrets

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/utkusen/sast-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
sast-files/.agents/skills/sast-hardcodedsecrets/SKILL.md in utkusen/sast-skills
Installs to
~/.claude/skills/sast-hardcodedsecrets
Collection
One of 17 skills cataloged from this repository
Category
Quality1897 skills

What Hardcoded Secrets does

Detects hardcoded sensitive data (API keys, tokens, passwords) in publicly accessible code like frontend JavaScript, mobile apps, and HTML templates. Uses recon, verify, and merge phases. Requires architecture analysis first.

Hardcoded Secrets is cataloged under Quality on DirSkills. Hardcoded Secrets comes from a repository tagged ai-security, claude, claude-code and sast.

Documentation

README

Hardcoded Secrets in Public Code Detection

You are performing a focused security assessment to find hardcoded sensitive data that is exposed in publicly accessible code. This skill uses a three-phase approach with subagents: recon (find all potential secret candidates), batched verify (confirm each is a real secret in publicly reachable code, in parallel batches of 3), and merge (consolidate batch reports into one file).

Prerequisites: sast/architecture.md must exist. Run the analysis skill first if it doesn't.


What Are Hardcoded Secrets in Public Code

Hardcoded secrets are sensitive credentials — API keys, access tokens, private keys, passwords, signing secrets, database connection strings — embedded directly in source code as string literals.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Hardcoded Secrets

  • What else does utkusen publish alongside Hardcoded Secrets?

    Hardcoded Secrets is one of 17 skills that DirSkills catalogs from utkusen/sast-skills, the repository it ships in. Its siblings there include Business Logic Vulnerability Detection, Cross-Site Scripting Detection and GraphQL Injection Detection. Each one is a separate skill with its own page in this directory, installs the same way Hardcoded Secrets does, and is maintained by utkusen in that same repository. The rest of the collection is listed on the utkusen/sast-skills page.

  • How does Hardcoded Secrets compare to other Quality skills?

    Hardcoded Secrets ranks #713 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Hardcoded Secrets against them. Open each page to compare what they document and how they install.

More from utkusen/sast-skills

Hardcoded Secrets is one of 17 skills cataloged on DirSkills from utkusen/sast-skills.

See all 17 skills
🔍
2026/07/20

Business Logic Vulnerability Detection

Detects business logic vulnerabilities in codebases using a three-phase approach combining threat modeling, parallel verification of attack scenarios, and result merging. Use when finding logic flaws, workflow bypasses, or abuse-of-function bugs.
Quality
1.3K61
🔍
2026/07/20

Cross-Site Scripting Detection

Detect Cross-Site Scripting vulnerabilities in codebases via a three-phase SAST approach: recon, batched verification with subagents, and merge. Use when analyzing web application source code for XSS bugs.
Quality
1.3K61
🔍
2026/07/20

GraphQL Injection Detection

Detect GraphQL injection vulnerabilities by tracing user input to unsafe operation document assembly sites. Use for security audits and code reviews of GraphQL APIs.
Quality
1.3K61
🔒
2026/07/14

IDOR Detection

Detect IDOR vulnerabilities by identifying endpoints lacking ownership checks, using automated recon, parallel batch verification, and merge. Ideal for code security audits targeting authorization bypass.
Quality
1.3K61
🛡️
2026/07/20

Insecure File Upload Detection

Detect insecure file upload vulnerabilities in a codebase using a three-phase approach: discovery, batched verify, and merge. Use when asked to find file upload, unrestricted upload, or extension bypass bugs.
Quality
1.3K61
🔐
2026/07/20

JWT Vulnerability Detection

Analyzes codebases for insecure JWT implementations: maps token lifecycle, then checks verification sites for algorithm confusion, missing signature verification, weak secrets, header injection, and missing claim validation.
Quality
1.3K61