/polymath-security:compliance-mappingfrom polymath-security
Map a compliance framework (SOC 2 / GDPR / ISO 27001 / HIPAA) to concrete technical controls and the evidence/artifacts each control needs for audit.
Ships in polymath-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Auditors don't accept intentions; they accept evidence. Translate each framework requirement into a control someone owns and an artifact that proves it runs — or it isn't real.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-security:compliance-mapping.Not this when: you are finding vulnerabilities (owasp-review) or modeling threats (stride-threat-model). Compliance maps requirements→controls→evidence; it is not a vuln hunt.
crypto-review), logging/monitoring, change management, vulnerability management, backup/DR, vendor management, data retention/deletion.docs/compliance/<framework>-controls.md, in this shape:
# SOC 2 (Security, Availability) — control mapping: payments platform
Scope: prod AWS account 1234…, refund-service, ledger-db; excluded: marketing site (no customer data; separate account).
| Requirement | Control | Enforced at | Evidence | Owner | Cadence |
|---|---|---|---|---|---|
| CC6.1 logical access | SSO + MFA for all prod access | Okta, AWS IAM Identity Center | Okta policy export; IAM IC config (IaC) | platform team | continuous; quarterly review |
| CC6.2 access reviews | Quarterly access review | Okta + Jira ticket | signed review records in Jira PLAT-ACCESS-* | security team | quarterly |
| CC8.1 change mgmt | PR review + CI gates before deploy | GitHub branch protection | branch-protection settings; CI run logs | eng managers | per change |
## Gaps (remediation)
- CC7.2 monitoring: no alert on IAM policy changes → CloudTrail + EventBridge alert · owner: platform team · due: [TBD: date agreed with owner]
Engineering input, not legal advice — scope interpretations go to the auditor.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-security8 skills in this plugin
/auth-designDesign authentication/authorization — OAuth2/OIDC flow choice, JWT vs opaque/session tokens, RBAC vs ABAC, SSO, token lifetime/refresh/revocation./crypto-reviewReview a cryptography choice — encryption at rest/in transit, key management + rotation, algorithm/mode selection, and common foot-guns (IV reuse, ECB, home-rolled crypto)./devsecops-pipelineDesign security gates into CI/CD — SAST, DAST, SCA/dependency, secret, and IaC scanning — with severity thresholds, a triage flow, and noise control.Other plugins' skills for the same job