configuring-hsm-for-key-storage

configuring-hsm-for-key-storage is a skill for Claude Code, Codex from Youngmaidainon/Agent-Level-Up. It costs 80 tokens per session (948 once invoked), scanned A, a copy of configuring-hsm-for-key-storage, MIT.

A guide to using a hardware security module (HSM), a tamper-resistant device that stores cryptographic keys and performs operations such as signing and encryption. It also covers SoftHSM2, a software version for development.

In plain words
What is it for?
Use it to configure PKCS#11 access, create and manage keys, and perform signing or encryption with physical HSMs or SoftHSM2.
Why use it?
It keeps sensitive keys inside a protected device boundary instead of exposing them to the application or server filesystem.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure PKCS#11 access, create and manage keys, and perform signing or encryption with physical HSMs or SoftHSM2.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage
Install

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.

Any agent
npx skills add Youngmaidainon/Agent-Level-Up --skill configuring-hsm-for-key-storage
Clone the repo
git clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-Up

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for configuring-hsm-for-key-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage/github.svg)](https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage)
Your own site
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage/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.

agentmods 80×15 button for configuring-hsm-for-key-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-hsm-for-key-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.00948
Opus 5.5 $0.00032 $0.00379
Sonnet 5.5 $0.00016 $0.00190
Haiku 4.5 $0.00008 $0.00095

Measured 1mo ago against content hash 3935f439854d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

configuring-hsm-for-key-storage 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/agent.py, scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

94% identical to configuring-hsm-for-key-storage — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cyber-security/ctf/configuring-hsm-for-key-storage/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Configuring HSM for Key Storage

Overview

Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never leave the device boundary, providing the highest level of key protection. This skill covers configuring HSMs using the PKCS#11 standard interface, including key generation, signing, encryption, and key management using both physical HSMs and SoftHSM2 for development.

When to Use

  • When deploying or configuring configuring hsm for key storage capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with cryptography concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Configure SoftHSM2 as a development PKCS#11 provider
  • Generate and manage keys inside the HSM via PKCS#11
  • Perform cryptographic operations (sign, verify, encrypt, decrypt) using HSM-resident keys
  • Implement HSM-backed certificate authority operations
  • Configure key access policies and user authentication
  • Interface with cloud HSM services (AWS CloudHSM, Azure)

Key Concepts

HSM Compliance Levels

FIPS Level Protection Use Case
FIPS 140-2 Level 1 Software only Development
FIPS 140-2 Level 2 Tamper-evident, role-based auth General production
FIPS 140-2 Level 3 Tamper-resistant, identity-based auth Financial, government
FIPS 140-2 Level 4 Physical tamper response Military, classified

PKCS#11 Architecture

Application --> PKCS#11 API --> HSM Provider --> Hardware HSM
                                    |
                              (SoftHSM2 for dev)

Read the full file on GitHub · 112 lines

Files

What ships with it

6 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.

Changes

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.

  1. 1mo ago First seen · 112 lines · 80 tokens per session scan A 3935f439854d

Subscribe to this mod's changes

configuring-hsm-for-key-storage is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (4 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 948 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to configuring-hsm-for-key-storage, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

configuring-hsm-for-key-storage

Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea.

xalgorix/xalgorix · 45 tokens

configuring-hsm-for-key-storage

Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea.

andycungkrinx91/konoha · 45 tokens

configuring-hsm-for-key-storage

Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea.

Njones17/AI-agent-master-cyber-skills-list · 45 tokens

performing-hardware-security-module-integration

Integrate Hardware Security Modules (HSMs) using PKCS#11 interface for cryptographic key management, signing operations, and secure key storage with python-pkcs11, AWS CloudHSM, and YubiHSM2.

xalgorix/xalgorix · 57 tokens

configuring-hsm-for-key-storage

Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea.

26zl/cybersec-toolkit · 45 tokens

ctq-extraction

Use when analyzing engineering drawings, technical CAD files, or manufacturing process control plans to extract Critical-To-Quality (CTQ) parameters, GD&T feature control frames, tolerances, and callout coordinates.

Eklavya-San/CTQ-extraction · 46 tokens