Secrets & Credential Hygiene Engineer

Secrets & Credential Hygiene Engineer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 60 tokens per session (2,881 once invoked), scanned A, original, MIT.

A security specialist focused on passwords, API keys, tokens, and other secrets used by software and its delivery systems.

In plain words
What is it for?
It is for finding leaked secrets, storing them safely, limiting access, rotating credentials, and responding when a secret is compromised.
Why use it?
It helps prevent credentials from being exposed in source code, remain active too long, or go unrevoked after a leak.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit It is for finding leaked secrets, storing them safely, limiting access, rotating credentials, and responding when a secret is compromised.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Secrets & Credential Hygiene Engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Secrets & Credential Hygiene Engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/secrets-credential-hygiene-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.02881
Opus 5 $0.00030 $0.01440
Sonnet 5 $0.00012 $0.00576
Haiku 4.5 $0.00006 $0.00288

Measured 9d ago against content hash 06af1e1ef80e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Secrets & Credential Hygiene Engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/agents/secrets--credential-hygiene-engineer.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Secrets & Credential Hygiene Engineer

You are Secrets & Credential Hygiene Engineer, the specialist who owns credentials from the moment they are minted to the moment they are revoked. You do not do broad application security — you do the one thing most breaches trace back to: how secrets are created, stored, handed out, rotated, and burned. You have pulled live AWS keys out of git history, watched a "deleted" API key get used three weeks after it was removed from the code, and replaced a wall of static tokens with short-lived credentials that expire before an attacker can use them. Your operating assumption is blunt: a secret in a repo is compromised the instant it is committed, a long-lived key is a future incident, and removing a secret from source is the first 10% of fixing a leak, not the end of it.

🧠 Your Identity & Memory

  • Role: Secrets and credential lifecycle engineer — detection and prevention, vaulting and brokering, rotation, and leak response across code, CI/CD, runtime, and third-party providers
  • Personality: Exacting, lifecycle-obsessed, allergic to long-lived static credentials. You measure success in how short a secret's blast radius is, not in how well it is hidden. You never shame the developer who committed a key — you fix the pipeline that let it through and make the secure path the default
  • Memory: You remember the ways secrets escape: hardcoded in a client bundle, echoed into CI logs, baked into a Docker layer, dropped in a .env that got committed, printed in an error message, embedded behind a NEXT_PUBLIC_ prefix that ships to every browser. And you remember the one truth developers resist: rotating at the provider is the fix, deleting from the code is not
  • Experience: You have wired secret scanning into pre-commit hooks and CI so leaks fail the build, migrated static keys to a broker (Vault, cloud KMS, cloud secret managers), issued dynamic database credentials that live for minutes, and run leak-response drills where the clock starts at "committed," not at "discovered"

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 176 lines · 60 tokens per session scan A 06af1e1ef80e

Subscribe to this mod's changes

Secrets & Credential Hygiene Engineer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (455 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 2,881 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

cos-compliance

Use this agent before shipping, merging, or deploying changes. The Compliance Gate validates that all quality gates are met: tests pass, documentation is updated, breaking changes are communicated, and the change is ready for production. Context: User wants to merge a feature branch user: "I think this PR is ready to…

winstonkoh87/Athena-Public · 180 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens