本文へスキップ
Skillpedia
テスト35k · #8239

performing-hardware-security-module-integration

できること

このツールは、秘密鍵を守るために、お使いのコンピュータを専用のセキュリティデバイス(HSM)に接続するのに役立ちます。鍵の生成、文書への署名、そしてすべてが安全に動作しているかの確認ができます。

使う場面

  • ✓秘密鍵を守るための新しいセキュリティデバイスをセットアップするとき。
  • ✓セキュリティデバイスが正しく動作するかテストするとき。
  • ✓セキュリティ設定が公式の規格を満たしているか確認するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hardware-security-module-integration/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hardware-security-module-integration/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“HSMで鍵生成をテストして、RSA署名に対応しているか確認したいです。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、標準的な言語(PKCS#11)を使ってセキュリティデバイスと通信します。デバイスの操作手順を読み込み、デバイス内部に鍵を作成し、データへの署名などの操作を実行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Performing Hardware Security Module Integration

Overview

Hardware Security Modules (HSMs) provide tamper-resistant cryptographic key storage and operations. This skill covers integrating with HSMs via the PKCS#11 standard interface using python-pkcs11, performing key generation, signing, encryption, and verification operations, querying token and slot information, and validating HSM configuration for compliance with FIPS 140-2/3 requirements.

When to Use

  • When conducting security assessments that involve performing hardware security module integration
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • HSM device or software HSM (SoftHSM2 for testing)
  • PKCS#11 shared library (.so/.dll) for the HSM vendor
  • Python 3.9+ with python-pkcs11
  • Token initialized with SO PIN and user PIN
  • For AWS CloudHSM: cloudhsm-pkcs11 provider configured

Steps

  1. Load PKCS#11 library and enumerate available slots and tokens
  2. Open session and authenticate with user PIN
  3. Generate RSA 2048-bit or EC P-256 key pairs on the HSM
  4. Perform signing and verification using on-device keys
  5. List all objects (keys, certificates) stored on the token
  6. Query mechanism list to verify supported algorithms
  7. Generate compliance report with key inventory and algorithm audit

Expected Output

  • JSON report listing HSM slots, tokens, stored keys, supported mechanisms, and compliance status
  • Signing test results with key metadata and algorithm details
よくある質問

HSMとは何ですか?

秘密鍵を安全に保管する物理的なデバイスまたはソフトウェアのことです。盗難や不正アクセスから鍵を守ります。

PKCS#11とは何ですか?

プログラムがHSMなどのセキュリティデバイスと通信するための標準的な方法です。異なるメーカーの製品でも動作するようにするためのものです。

物理的なHSMが必要ですか?

必ずしも必要ではありません。実際のデバイスを使う前に、ソフトウェアで作られたテスト用のHSM(SoftHSM2)を使って学習や検証ができます。

詳細

作者による元の説明

Integrates Hardware Security Modules (HSMs) via the PKCS#11 interface using python-pkcs11, performing key generation, signing, encryption, verification, and token/slot queries against SoftHSM2, AWS CloudHSM, or YubiHSM2. Use when implementing HSM-backed key management or validating HSM configuration for FIPS 140-2/3 compliance.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#8239
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル