auditing-api-key-and-token-lifecycle SKILL.md skillA
auditing-api-key-and-token-lifecycle from unboundcompute/security-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add unboundcompute/security-agent-skills/auditing-api-key-and-token-lifecycle@git:20260903.19a7174Pins git:20260903.19a7174 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- unboundcompute/security-agent-skills
- Path
skills/auditing-api-key-and-token-lifecycle/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260903.19a7174, committed Sep 3, 2026
- Size
- 10,277 bytes
- Repository stars
- 26
- License
- MIT
Audit the lifecycle of API keys and access tokens for weaknesses that let one keep working past its intended bounds: a key issued with broader scope than the caller needs so a leak grants far more than one function, a key or token with no expiry that stays valid indefinitely, a revocation path that does not actually stop the key so a rotated or compromised credential keeps authenticating, a key that leaks into logs, URLs, client-side code, or error messages and is never rotated, and a token…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Auditing API key and token lifecycle: a key is a standing credential, so bound it and be able to kill it An API key or long-lived access token is a bearer credential: whoever holds it is the caller, with no second factor and often no user behind it. That makes the whole security of the key a question of its lifecycle, how narrowly it is scoped, whether it expires, whether you can actually revoke it, and where it might leak, because the moment one of those is loose, a single leaked string becomes standing access. A key issued with broader scope than its caller needs means a leak grants far more than the one function it was for. A key with no expiry stays valid forever, so a credential stolen once works until someone notices, which is often never. A revocation path that does not truly stop the key, a rotation that leaves the old key live, a disable that a cache ignores, means a compromised credential keeps authenticating after you believed you killed it. A key that leaks into logs, URLs, client-side code, or error messages and is never rotated is a published password. And a token whose …
Read the whole file at its exact version.
How to install
mdr add unboundcompute/security-agent-skills/auditing-api-key-and-token-lifecycle@sha256:f9d97b85abff2220The line at the top of this page pins the label git:20260903.19a7174, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ojsghz4rnhxsqnvs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 3, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10277 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
unboundcompute/security-agent-skills · 26 stars · license MIT · pushed 2026-09-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ojsghz4rnhxsqnvs GET https://markdownregistry.com/api/v1/resolve?ref=unboundcompute/security-agent-skills/auditing-api-key-and-token-lifecycle GET https://markdownregistry.com/api/v1/blob/f9d97b85abff2220d5e987ca745aa3acbf9e579b64a7f3142618a6745c0a9eab
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.