# Cryptographic Key Material Exposure

> Detects private keys, certificates, and cryptographic key material hardcoded or committed in source code.

- Skill: `zakirkun/cryptographic-key-material-exposure` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/cryptographic-key-material-exposure`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/cryptographic-key-material-exposure/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/cryptographic-key-material-exposure

---


# Cryptographic Key Material Exposure

## Overview
Private keys and key material committed to version control or hardcoded in source permanently compromise:
- TLS certificates (can intercept all encrypted traffic)
- SSH keys (unauthorized server access)
- JWT signing keys (forge authentication tokens)
- PGP keys (decrypt private communications)

## Remediation
- Use `.gitignore` to exclude all key files
- Rotate any exposed keys immediately — treat them as compromised
- Use secrets management systems (Vault, AWS Secrets Manager)
- Use hardware security modules (HSM) for production key storage

