xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.
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 xalgorix/xalgorix --skill implementing-hashicorp-vault-dynamic-secretsgit clone --depth 1 https://github.com/xalgorix/xalgorixWrote 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/xalgorix/xalgorix/implementing-hashicorp-vault-dynamic-secrets)<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-hashicorp-vault-dynamic-secrets"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-hashicorp-vault-dynamic-secrets/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/xalgorix/xalgorix/implementing-hashicorp-vault-dynamic-secrets"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-hashicorp-vault-dynamic-secrets.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.00074 | $0.05137 |
| Opus 5.5 | $0.00030 | $0.02055 |
| Sonnet 5.5 | $0.00015 | $0.01027 |
| Haiku 4.5 | $0.00007 | $0.00514 |
Grade A, and why
implementing-hashicorp-vault-dynamic-secrets 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 7d 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 — 602 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementing HashiCorp Vault Dynamic Secrets
When to Use
- Applications use static database credentials stored in configuration files or environment variables
- AWS IAM access keys are long-lived and shared across services
- Need to eliminate credential sprawl by generating short-lived, per-request secrets
- Compliance requirements mandate credential rotation (PCI-DSS Requirement 8, NIST 800-53 IA-5)
- Implementing zero-trust secret management where credentials are never stored at rest
- Migrating from manual credential management to automated secrets lifecycle
Do not use for storing static secrets that cannot be dynamically generated (use Vault's KV secrets engine instead); dynamic secrets are for credentials that can be programmatically created and revoked on target systems.
Common Misconfigurations & Verification
Dynamic secrets only reduce risk if leases are short and actually revoked — these defeat the point:
- TTL/max_ttl too long: a role with
default_ttl=720his functionally a static secret. Audit withvault read database/roles/app-readonlyand confirmdefault_ttlis minutes-to-hours, not days. Check live lease ages:vault list sys/leases/lookup/database/creds/app-readonly. - Leases never revoked on shutdown: apps that exit without calling revoke leave credentials valid until max_ttl, accumulating orphaned DB users. Count them on the target (
SELECT rolname FROM pg_roles WHERE rolname LIKE 'v-%') and compare to active leases — a large delta means revocation is broken. Confirm the client callssys.revoke_leaseon teardown. - Missing/incorrect
revocation_statements: the lease expires in Vault but the DB role/user is never dropped. Verify every role hasDROP ROLE/USERin its revocation block and test by reading a cred, force-revoking (vault lease revoke -prefix database/creds/...), then confirming the DB user is gone. - Root credential not rotated: the bootstrap admin password is still known to humans. Confirm
vault write -force database/rotate-root/...was run; the original password must no longer authenticate. - AWS
iam_userwhereassumed_role/STS would do: long-lived-ish keys with slow IAM propagation. Prefercredential_type=assumed_roleand verifydefault_sts_ttl/max_sts_ttlare short. - No audit device / no alerting on lease spikes: confirm
vault audit listshows an enabled device and that a sudden surge indatabase/credsreads triggers a SIEM alert (credential exfiltration signal).
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.
- 7d ago First seen · 602 lines · 74 tokens per session scan A f1365e702ab6
implementing-hashicorp-vault-dynamic-secrets is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 5,137 once invoked, about $0.0003 per session on Opus 5.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-11-23.
implementing-hashicorp-vault-dynamic-secrets compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implementing-hashicorp-vault-dynamic-secretsxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 74 | Claude Code, Codex |
| implementing-hashicorp-vault-dynamic-secretsbalsm-health/Balsm-AI | Skill | 3 | 1mo ago | none | A | 74 | Claude Code |
| cis-aws-foundations-2.1.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 19 | Claude Code, Codex |
| cis-aws-foundations-2.15CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 23 | Claude Code, Codex |
| cis-aws-foundations-4.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 18 | Claude Code, Codex |
| cis-aws-foundations-2.1.3CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 21 | Claude Code, Codex |
| cis-aws-foundations-2.4CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 20 | Claude Code, Codex |