Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
typescript-hsm-notes - Skill - OpenSmartRoute
Skillv1.0.0
typescript-hsm-notes
Document and integrate Hardware Security Modules / cloud KMS-HSM backed keys with TypeScript services: key hierarchy, sign/decrypt APIs, PKCS#11/CloudHSM/ KMS patterns, access policies, and break-glas
Imported from bedkillerspacex-boop/codex-skill-library (typescript-hsm-notes/SKILL.md). Install upstream with npx skills add bedkillerspacex-boop/codex-skill-library --skill typescript-hsm-notes. Copyright stays with the author.
TypeScript HSM Integration Notes
Scope And Authorization
In scope: systems, clusters, repos, and apps you own or have written authorization to assess/change.
Out of scope: unauthorized scanning, exploitation, credential abuse, or third-party harm.
Prefer non-production validation; use change windows for production.
Redact secrets, tokens, personal data, and customer identifiers from notes and tickets.
Prefer cloud KMS/HSM APIs over shipping soft keys; dual-control for key admin.
Pair implementation changes with code-quality-standards.
When To Use
Signing JWTs, code, or documents with HSM-backed keys from Node/TS.
Migrating PEM private keys out of app config into KMS/HSM.
Writing ADRs for key classes (app DEK, TLS, code signing).
Auditing who can use vs manage keys.
Do Not Use As Primary
Need
Skill instead
Fulcio/keyless code signing
typescript-fulcio-notes
Secrets hygiene general
secrets-management-hygiene
mTLS service mesh
mesh/mtls skills
HIPAA crypto evidence
typescript-hipaa-eng
Implementation quality baseline
code-quality-standards
Domain Focus
Area
Guidance
HSM
Tamper-resistant key storage; ops via PKCS#11/KMS APIs
Attach before/after evidence to the change or ticket.
Prefer automated tests or CI gates where regressions are likely.
Good / Bad
Topic
Good
Bad
Storage
HSM/KMS non-exportable
PEM in Secrets Manager long-term without need
Auth to KMS
Workload identity
AKIA keys on disk
Rotation
Documented dual control
Unknown key age
App design
Envelope encryption
One master key decrypts everything inline
Key note template
Key alias
Purpose
Alg
Exportable
Owners
Rotation
alias/ts-jwt
access token sign
ES256
no
platform-sec
yearly
Output Checklist
Key inventory and classification
HSM/KMS key policies reviewed
TS client uses workload identity
No private PEM in repo
Rotation and break-glass documented
Audit log review path defined
code-quality-standards applied if code/config shipped
Residual risk and next review date noted
Rules
Never paste key material into tickets.
Notes must match actual key policy, not aspirational.
Authorized crypto accounts only.
Authorized/owned/lab scope only; evidence over guesses.
Never paste live secrets, private keys, or customer PII into notes or chat.
Keep this skill focused on typescript-hsm-notes; route neighbors via the catalog/index.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.