Skip to content
Agentmart
Submit a tool

secrets-detection

Detects hardcoded and leaked secrets - API keys, cloud credentials, database credentials, tokens, and private keys.

Skill by felipegiannetti

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/felipegiannetti-secrets-detection

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Detects hardcoded and leaked secrets - API keys, cloud credentials, database credentials, tokens, and private keys. Use when scanning source, config, or history for exposed credentials.

Use cases: backend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/secrets-detection

What's inside

Skill name
secrets-detection
Description
Detects hardcoded and leaked secrets - API keys, cloud credentials, database credentials, tokens, and private keys. Use when scanning source, config, or history for exposed credentials.
License
MIT
Instructions
28 lines in SKILL.md · view on GitHub

Files (6)

  • SKILL.md
  • api-keys.md · references/
  • cloud-credentials.md · references/
  • database-credentials.md · references/
  • private-keys.md · references/
  • tokens.md · references/

SKILL.md (first lines)

# Secrets Detection

Correlates [run_gitleaks.py](../../scripts/scanners/run_gitleaks.py) output with code context. Always runs regardless of routing (see [workflow/routing_rules.yaml](../../workflow/routing_rules.yaml) `always_run`).

- [API Keys](references/api-keys.md)
- [Cloud Credentials](references/cloud-credentials.md)
- [Database Credentials](references/database-credentials.md)
- [Tokens](references/tokens.md)
- [Private Keys](references/private-keys.md)

## Core Discipline

Never print a complete discovered secret — mask it (see `.claude/rules/security.md` "Secrets Handling", e.g. `AKIA****************`). A finding needs enough of the value shown to confirm the pattern, not the whole thing.

## False-Positive Conditions (General)

- **Placeholder/example values**: `example`, `changeme`, `xxxxxxxx`, `your-api-key-here`, or values in files clearly named `*.example`, `*.sample`, `*.template`.
- **Test-only fixtures**: values scoped to a test file, clearly fake (e.g. Stripe's published test-mode keys), or in `tests/fixtures/`.
- **Environment variable references**: `os.environ["API_KEY"]` is not a hardcoded secret — the secret isn't in the code.
- **Already-revoked credentials**: if determinable from context (e.g. a comment noting rotation), still worth flagging but at reduced severity/informational.

Each reference file below adds category-specific false-positive conditions on top of these.

## Output

A candidate finding conforming to [finding.schema.json](../../schemas/finding.schema.json), with the `evidence` snippet masked per above.

From felipegiannetti/claude-security-agents, MIT.

More from felipegiannetti/claude-security-agents

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 12, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from felipegiannetti

Cite this page

secrets-detection skill. Agent Mart. https://agentmart.dev/skills/felipegiannetti-secrets-detection (last updated 2026-10-24)