marketplace-rbac-audit
What it does
This tool checks if access permissions in a marketplace are working correctly. It ensures that only the right people can view or modify specific information, like orders or customer data.
When to use it
- ✓When reviewing access rules in a multi-vendor sales website.
- ✓When adding or changing who can do what in the system.
- ✓When investigating if someone accessed information they shouldn't have.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/marketplace-rbac-audit/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check if a delivery person can see another customer's address.”
5 new skills a week. 1 minute to read.
How it works
The tool compares the defined access rules with what actually happens in the system. It analyzes who can access what, in which situation, and through which parts of the system.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Marketplace RBAC Audit
Overview
Audit authorization in marketplaces where customers, vendors, fulfillment staff, couriers, support agents, administrators, and service accounts act on shared orders and resources. Build an explicit policy matrix, trace enforcement from route to data access, and verify both allowed and denied behavior without treating hidden UI controls as security.
This is a read-only review by default. It does not grant permission to scan a live service, create test accounts, alter permissions, or access another person's data.
When to Use This Skill
- Reviewing authorization in a marketplace, delivery platform, multi-vendor store, or fulfillment system.
- Adding or changing roles, administrative powers, ownership rules, or order-state transitions.
- Investigating whether one customer, vendor, courier, hub, or tenant can access another party's resources.
- Preparing negative authorization tests before release or after an access-control incident.
Do not use this skill for authentication design alone, generic multi-tenant architecture, offensive ID enumeration, or penetration testing outside an explicitly authorized test environment.
Establish the Authorization Contract
Record the actual actors and resources instead of assuming standard role names.
For each actor, capture:
- identity source and role-assignment authority;
- tenant, organization, store, hub, region, or assignment scope;
- resource relationships such as owner, seller, assigned courier, servicing hub, or support case;
- permitted operations and state transitions;
- emergency, support, delegated, and service-account access;
- audit-log and approval requirements for privileged actions.
Separate these policy dimensions:
- Role — what this actor type may generally do.
- Relationship — which specific object the actor may access.
- Tenant or operational scope — where the permission applies.
- Resource state — whether the operation is valid now.
- Field scope — which attributes may be viewed or changed.
A matching role is not sufficient when ownership, assignment, tenant, state, or field rules fail.
Build the Policy Matrix
Create one row per meaningful actor-resource-operation combination.
| Field | Required content |
|---|---|
| Actor | Role plus relevant tenant/store/hub/assignment |
| Resource | Order, product, inventory, payout, address, profile, delivery, refund, or admin object |
| Operation | List, view, create, update, delete, assign, transition, refund, export, or impersonate |
| Relationship | Owner, seller, assignee, servicing hub, same tenant, or none |
| Required state | Order/payment/delivery state in which the operation is allowed |
| Field scope | Allowed and prohibited fields |
| Expected result | Allow or deny, including disclosure policy such as 403 versus 404 |
| Enforcement point | Route, policy layer, service, query predicate, database policy, or queue consumer |
| Evidence | Code reference, test ID, request ID, or audit event |
Mark an undocumented decision as UNDEFINED; do not invent a permission merely because current code allows it.
Audit Workflow
1. Inventory Entry Points
Map HTTP routes, GraphQL operations, server actions, background jobs, webhooks, file downloads, exports, administrative tools, and queue consumers that access marketplace resources. Include bulk operations and alternate HTTP methods.
2. Trace Identity and Scope
For every entry point, trace how the authenticated principal becomes an authorization context. Confirm that role, tenant, store, hub, assignment, and delegation claims come from a trusted server-side source and are current enough for the operation.
Do not accept actor, tenant, owner, vendor, hub, courier, price, payout, or privilege fields from the request merely because they are present in a signed-in session.
3. Trace Object Authorization
Follow the resource identifier from request to data access. Prefer a scoped query or atomic mutation that includes every required predicate:
resource_id
+ tenant/store/hub scope
+ owner/seller/assignee relationship
+ permitted current state
= authorized object or no match
A separate “check then update” sequence may race with reassignment or state changes. Record where a transaction, conditional update, row-level lock, or equivalent consistency control is required.
4. Check Field-Level Authorization
…
FAQ
Does this tool change anyone's permissions?
No, this tool is only for checking and auditing existing permissions. It does not change anything in the system.
What is 'RBAC'?
RBAC stands for 'Role-Based Access Control'. It means permissions are granted based on the role a person has (e.g., customer, vendor, delivery person).
What are 'order state transitions'?
These are the different stages an order goes through, like 'pending', 'shipped', 'delivered'. The tool checks who can change an order from one stage to another.
Details
Original description by the author
Audit multi-role marketplace authorization across roles, resource ownership, tenant boundaries, and order-state transitions; use when access rules need evidence, not UI assumptions.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5166
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.