agentsclimarketplace

Access control

Skill Mattakushi432/Claude-Code-Skills-Custom-DevTools-Pack/plugins/devtools-pack/skills/access-control

A curated pack of custom Claude Code skills for developers — installable as a Claude Code plugin marketplace.

Install
npx -y skills add Mattakushi432/Claude-Code-Skills-Custom-DevTools-Pack --skill access-control

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

When to activate: access control, RBAC, ABAC, least privilege, privileged access, access review, PAM, joiner mover leaver, MFA, IAM, zero trust

SKILL.md

7.4 KB, as published. Nobody here has run it

Access Control

RBAC vs ABAC

RBAC (Role-Based)ABAC (Attribute-Based)
Access based onUser rolesAttributes (user, resource, environment)
FlexibilityLower — roles must be predefinedHigher — dynamic, context-aware
ComplexityLower to implementHigher to implement and audit
Best forStable org structures, clear job functionsDynamic environments, fine-grained control
Example"Manager" role can approve expensesUser with dept=Finance AND clearance=High AND time=business-hours can view salary data
StandardsNIST RBAC modelXACML, ABAC NIST SP 800-162

When to Use Each

  • RBAC: Most enterprise systems — clear roles, predictable access patterns
  • ABAC: Regulatory environments requiring context-sensitive access, multi-tenant SaaS, zero-trust architectures
  • Hybrid: Use RBAC for coarse-grained access + ABAC for fine-grained attribute checks within a role

Least Privilege Implementation

Principles

  1. Grant minimum permissions needed to perform the job function
  2. Default deny — explicitly grant, never implicitly allow
  3. Time-bound access — grant for duration needed, auto-expire
  4. Just-in-time (JIT) access — provision on request, deprovision after use
  5. Separation of duties — no single person controls a critical process end-to-end

Least Privilege Audit Checklist

  • All service accounts have documented purpose and minimum required permissions
  • No shared accounts (each person has unique credentials)
  • Admin accounts separate from standard user accounts
  • Database accounts have only SELECT/INSERT/UPDATE needed — not DROP/TRUNCATE
  • API keys scoped to specific endpoints / resources
  • Cloud IAM roles follow principle of least privilege (no AdministratorAccess wildcard)
  • Regular access entitlement review performed (at least semi-annually)

Privileged Access Management (PAM)

What PAM Covers

  • Local administrator accounts on servers and workstations
  • Domain administrator accounts
  • Database superuser / DBA accounts
  • Cloud root / owner accounts
  • Network device admin credentials
  • Application service accounts with elevated permissions

PAM Controls

ControlDescription
Credential vaultingStore privileged credentials in encrypted vault (CyberArk, HashiCorp Vault)
Session recordingRecord all privileged sessions for audit trail
Just-in-time accessProvision access for defined window; auto-revoke
Dual controlRequire two people to authorize highly privileged actions
Credential rotationAuto-rotate passwords after each use or on schedule
AlertingAlert on unusual privileged access patterns

Break-Glass (Emergency Access) Procedure

1. Requestor documents emergency justification in ticket
2. Emergency credentials retrieved from sealed vault / break-glass account
3. All actions recorded (session recording active or screen capture required)
4. Credentials rotated immediately after emergency resolved
5. Post-incident review within 48 hours
6. Ticket closed with actions taken documented

Joiner / Mover / Leaver (JML) Process

Joiner (New Employee / Contractor)

StepActionTiming
1HR triggers provisioning workflow via HRISDay of hire
2Base access provisioned per role profileBefore day 1
3MFA enrolledDay 1
4Manager confirms access is correctWithin 5 business days
5Role-specific systems granted on approvalAs requested

Mover (Role Change / Transfer)

StepActionTiming
1HR triggers move event in HRISDay of transfer
2Remove access no longer needed for old roleWithin 24 hours
3Grant access required for new roleDay of transfer
4New manager confirms access is correctWithin 5 business days

Leaver (Termination)

StepActionTiming
1HR triggers termination eventDay of termination decision
2Disable all accounts (AD, SaaS, VPN, cloud)Immediately on last day or sooner for involuntary
3Revoke all API keys and tokensSame day
4Recover company devicesDay of departure
5Transfer data/handoff completedBefore departure
6Confirm deprovisioning completeWithin 24 hours
7Archive mailbox and data per retention policyWithin 7 days

Involuntary terminations: Disable access before the employee is notified when risk warrants it.

Access Review Cadence and Methodology

Review Frequency by Risk Level

System typeReview frequency
Production systems, privileged accessQuarterly
Standard business applicationsSemi-annually
Low-risk / read-only systemsAnnually
External / third-party accessQuarterly

Access Certification Process

  1. Generate access report for each system
  2. Distribute to access owners (managers of each user)
  3. Owner certifies each access as: Approve / Revoke / Modify
  4. Unanswered items escalated after 5 business days
  5. Revocations executed within 5 business days of decision
  6. Certification results archived for audit evidence

MFA Enforcement Policies

MFA Requirements

Access typeMFA required?
VPN / remote accessYes — mandatory
Admin / privileged accessYes — mandatory
Cloud console (AWS/GCP/Azure)Yes — mandatory
SaaS applications with sensitive dataYes — mandatory
Internal corporate appsYes — recommended
Read-only internal toolsRisk-based

Acceptable MFA Methods (ranked by strength)

  1. Hardware security key (FIDO2/WebAuthn) — strongest
  2. TOTP authenticator app (Google Authenticator, Authy)
  3. Push notification (Duo, Microsoft Authenticator)
  4. SMS OTP — acceptable but weakest; avoid for high-privilege access

Separation of Duties Matrix

FunctionInitiateApproveExecuteReview/Audit
Financial paymentFinance teamFinance managerTreasuryInternal audit
Code deploymentDeveloperTech lead / peerDevOpsSecurity
Access provisioningManagerIT SecurityIT adminCompliance
Vendor contractProcurementLegal + FinanceProcurementFinance
Firewall rule changeRequestorSecurityNetwork adminSecurity ops

IAM Audit Checklist

  • No orphaned accounts (accounts with no active owner)
  • All accounts tied to named individuals (no shared accounts)
  • Inactive accounts disabled after 90 days inactivity
  • All privileged accounts enrolled in PAM
  • MFA enforced for all required access types
  • Service account passwords meet complexity requirements and rotated
  • Access review completed within required frequency
  • Admin access requires secondary approval
  • All deprovisioning completed within SLA
  • Cloud IAM policies reviewed for wildcard permissions
  • API keys inventoried with owners and expiry dates assigned

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.