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.
npx skills add vikasudasi/skill-vault --skill security-secrets-managementgit clone --depth 1 https://github.com/vikasudasi/skill-vaultWrote 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.
[](https://agentmods.dev/skills/vikasudasi/skill-vault/security-secrets-management)<a href="https://agentmods.dev/skills/vikasudasi/skill-vault/security-secrets-management"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/security-secrets-management/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.
<a href="https://agentmods.dev/skills/vikasudasi/skill-vault/security-secrets-management"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/security-secrets-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01213 |
| Opus 5 | $0.00018 | $0.00607 |
| Sonnet 5 | $0.00007 | $0.00243 |
| Haiku 4.5 | $0.00004 | $0.00121 |
Grade A, and why
security-secrets-management 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Secrets, Service Hardening, and Supply-Chain Trust
Use when standing up a self-hosted service, wiring API keys, or shipping code to the public — anywhere a leaked credential or unsigned artifact is a real cost.
1. Never commit secrets
- Keep secrets in an untracked
.env(gitignored), read them at runtime via env vars, never in source. .gitignoremust include.env,*.pem,*.key, keystores, and local config.- If a secret was ever committed, assume it's compromised: rotate it, don't just delete it. History preserves it.
Skills like Skill Vault's
security-secrets-managementand its siblingdeploy-secret-hygieneexist precisely because "remove the line" is a false fix.
2. Scan for leaks continuously
| tool | finds | run |
|---|---|---|
| gitleaks | known secret patterns + entropy | pre-commit + CI |
| bandit | Python code security smells | bandit -r . |
| git history scan | secrets already committed | gitleaks detect --log-opts="--all" |
Gate CI on a clean scan; the cost of a leak multiplies the moment it's public.
3. Least-privilege API keys
- Scope each key to the minimum capability it needs (read-only, one bucket, one API) and give it a short expiry.
- Name keys so you can identify and revoke them (
sv-ci-deploy, notkey1). - Rotate on a schedule and on any suspicion.
- Prefer a signed/token identity over raw long-lived keys where your platform supports it — this mirrors Skill Vault's trust model below.
4. SSH key hygiene
- Use a passphrase-protected key or an agent; never a shared key in a repo.
- Add public keys to the target via
ssh-copy-id, and restrict keys inauthorized_keyswithcommand=/no-port-forwardingwhere the key is purpose-built. - Fingerprint-check on first connect; reject a changed host key.
5. Hardening a self-hosted service
- TLS: terminate HTTPS at the edge (nginx with Let's Encrypt); redirect all
HTTP to HTTPS and set HSTS. A self-hosted app behind nginx should see only
X-Forwarded-Proto: httpsand treat non-TLS requests as untrusted. - Passwords: hash with a slow adaptive KDF —
pbkdf2_hmac(many iterations) orargon2. Never store plaintext, single-round SHA, or MD5.
Compare withimport hashlib salt = secrets.token_bytes(16) digest = hashlib.pbkdf2_hmac("sha256", pw.encode(), salt, 600_000)hmac.compare_digest— not==— to avoid timing side channels. - Sessions: use
httpOnlycookies (Set-Cookie: ...; HttpOnly; Secure; SameSite=Lax) so JS can't read the token and it isn't sent over plain HTTP.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 100 lines · 36 tokens per session scan A 5202c9b63e40
security-secrets-management is a skill published in the GitHub repository vikasudasi/skill-vault (0 stars, last pushed 23d ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,213 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
performing-kubernetes-etcd-security-assessment
Assess the security posture of Kubernetes etcd clusters by evaluating encryption at rest, TLS configuration, access controls, backup encryption, and network isolation.
secrets-gitleaks
Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks. Identifies passwords, API keys, tokens, and credentials through regex-based pattern matching and entropy analysis. Use when: (1) Scanning repositories for exposed secrets and credentials, (2) Implementing pre-commit hooks to…
secrets-gitleaks
Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks. Identifies passwords, API keys, tokens, and credentials through regex-based pattern matching and entropy analysis. Use when: (1) Scanning repositories for exposed secrets and credentials, (2) Implementing pre-commit hooks to…
secrets-gitleaks
Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks. Identifies passwords, API keys, tokens, and credentials through regex-based pattern matching and entropy analysis. Use when: (1) Scanning repositories for exposed secrets and credentials, (2) Implementing pre-commit hooks to…
performing-kubernetes-etcd-security-assessment
Assess the security posture of Kubernetes etcd clusters by evaluating encryption at rest, TLS configuration, access controls, backup encryption, and network isolation.
js-secrets-extraction
Analyze JS bundles and source maps for hardcoded secrets, API keys, JWTs, and internal endpoints.