Skip to content
Back to skills

Permission Boundary Modeling

ASecurity

`analysis-agent`/`task-agent`/`review-agent`: use for tenant isolation, privilege-escalation, subject-resource-action policy, or enforcement changes; skip authentication-only work.

  • 7 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 8, 2026
securityrust

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add machenjie/rd-skills --skill permission-boundary-modeling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Permission Boundary Modeling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Permission Boundary Modeling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/machenjie-permission-boundary-modeling/badge)](https://www.skillsdirectory.com/skills/machenjie-permission-boundary-modeling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: permission-boundary-modeling
description: "`analysis-agent`/`task-agent`/`review-agent`: use for tenant isolation, privilege-escalation, subject-resource-action policy, or enforcement changes; skip authentication-only work."
---

# permission-boundary-modeling

## Registry Trigger

**Use when**

- model subject resource action conditions object tenant scope privilege transitions and enforcement

**Do not use when**

- no task-local permission policy or enforcement decision is required

## Skill Role

Own permission authority, scope, enforcement, collection, bulk, denial, delegation, and negative proof; exclude identity and credential lifecycle.

## High-Value Rules

- Resolve decision inputs from trusted identity, resource, relationship, policy, or lifecycle state.
- Enforce the decision before protected disclosure or effect on each in-scope path.
- Enforce permissions before collection outputs.
- Define explicit behavior for mixed tenant bulk actions.

## Anti-Patterns

- Do not infer permission from authentication, UI hiding, gateway scope, internal callers, or caller fields.

## Stop Conditions

- Stop on untrusted authority, unreachable enforcement, ambiguous scope, unsafe collection or bulk behavior, unbounded delegation, incompatible denial, or unowned paths.

## Output Contract

- permission contract with authoritative decision inputs, subject-resource-action conditions, object and tenant scope, reachable enforcement, collection and bulk semantics, denial disclosure, delegated entitlement, negative proof, and residual owners

## Targeted References

| Path | Type | Load when | Do not load when | Required by | Required output |
|---|---|---|---|---|---|
| [benchmarks and patterns](references/benchmarks-and-patterns.md) | benchmark-pattern | competing object relationship context collection bulk delegation denial or placement patterns remain viable | current policy and enforcement path resolve the changed permission decision | analysis-agent, task-agent, review-agent | option-comparison, selected-approach |
| [checklist](references/checklist.md) | decision-checklist | several permission matrix enforcement collection bulk denial delegation or rollout decisions must close together | one bounded permission decision is already complete from the root contract | analysis-agent, task-agent, review-agent | checklist-result, residual-risk |
| [evidence patterns](references/evidence-patterns.md) | evidence-pattern | authority scope enforcement collection bulk denial delegation rollout or negative-path claims need fresh proof | current source and selected fixtures prove the bounded permission claims | analysis-agent, task-agent, review-agent | evidence-record, proof-limit, residual-risk |

Files in this skill

  • SKILL.md4.9 KB
  • references/benchmarks-and-patterns.md2.9 KB
  • references/checklist.md1.5 KB
  • references/evidence-patterns.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.