# api-key-case

Keep API keys out of AI coding sessions with local scanning, OS secret storage, and guarded CLI deployment.

- **Type:** MCP server
- **Trust:** 65/100 (B), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 0.9.2
- **Author:** Melavern
- **License:** Elastic-2.0
- **npm:** api-key-case
- **Source:** https://github.com/melavern/api-key-case
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

65/100 (B), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: suspicious script found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 2 days

## Security scan

- **Status:** warnings
- **Scanned:** 2026-10-03T00:27:07.264Z
- **Version scanned:** 0.9.2
- **CVEs:** none found by OSV at scan time
**Findings**
- injection-shaped content (warning) in the `deploy_secret` tool: Exfiltration-shaped instruction

## Tools

7 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `list_required_secrets` — List the environment variable names this project needs, from .env.example and source usage. Never returns values.
- `check_secret` — Report whether a named secret is registered in the OS secret store. Returns registered/missing only, never the value.
- `save_secret` — Never accepts or stores a value. Returns an action_required response for the Agent-independent `api-key-case save --ask` Human Plane.
- `deploy_secret` — Send a registered secret to a deploy target via its official CLI. Production (and github, always CI-reachable) never completes here — returns an action_required
- `generate_env_example` — Write or refresh .env.example with empty-valued keys for every required secret.
- `scan_secret_leaks` — Scan the project for possible leaked secret values outside ignored env files. Findings are redacted, never the raw value.
- `check_gitignore` — Report whether .env and its variants are covered by .gitignore.

## Install

**Verdict: do-not-install** — Do not install: 1 injection-shaped pattern found in this entry's own text — it may try to steer the model that loads it.
**Blocking**
- 1 injection-shaped pattern found in this entry's own text — it may try to steer the model that loads it. — tool:deploy_secret: Exfiltration-shaped instruction
**Client configuration withheld.** Client configs are withheld because this entry has a blocking finding. Show the warnings below to the person installing it.
If they have seen the findings and still want to proceed, request the plan again with acknowledge_warnings=true.

## Blast radius

Contained to moderate — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: runs on your machine; read-only tool surface.
- Floor 13, ceiling 31 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/api-key-case
- Install plan: https://forgeregistry.com/api/v1/packages/api-key-case/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/api-key-case
- HTML page: https://forgeregistry.com/registry/api-key-case
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
