मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी48k · #5166

marketplace-rbac-audit

यह क्या करती है

यह टूल जाँचता है कि मार्केटप्लेस में एक्सेस की अनुमतियाँ (permissions) सही तरीके से काम कर रही हैं या नहीं। यह सुनिश्चित करता है कि सिर्फ़ सही लोग ही ऑर्डर या ग्राहक डेटा जैसी खास जानकारी देख या बदल सकें।

कब इस्तेमाल करें

  • ✓मल्टी-वेंडर सेल्स वेबसाइट पर एक्सेस नियमों की समीक्षा करते समय।
  • ✓सिस्टम में यह जोड़ते या बदलते समय कि कौन क्या कर सकता है।
  • ✓यह जाँचते समय कि किसी ने ऐसी जानकारी तो नहीं देखी जिसे देखने का उसे हक़ नहीं था।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/marketplace-rbac-audit/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/marketplace-rbac-audit/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“जाँचें कि कोई डिलीवरी व्यक्ति किसी दूसरे ग्राहक का पता देख सकता है या नहीं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह टूल तय किए गए एक्सेस नियमों की तुलना सिस्टम में असल में होने वाली चीज़ों से करता है। यह विश्लेषण करता है कि कौन किस स्थिति में और सिस्टम के किस हिस्से से क्या एक्सेस कर सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:

  1. Role — what this actor type may generally do.
  2. Relationship — which specific object the actor may access.
  3. Tenant or operational scope — where the permission applies.
  4. Resource state — whether the operation is valid now.
  5. 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

…

अक्सर पूछे जाने वाले सवाल

क्या यह टूल किसी की अनुमति बदलता है?

नहीं, यह टूल सिर्फ़ मौजूदा अनुमतियों को जाँचने और ऑडिट करने के लिए है। यह सिस्टम में कुछ भी नहीं बदलता।

'RBAC' क्या है?

RBAC का मतलब है 'Role-Based Access Control'। इसका अर्थ है कि अनुमति किसी व्यक्ति की भूमिका (जैसे ग्राहक, वेंडर, डिलीवरी व्यक्ति) के आधार पर दी जाती है।

'order state transitions' क्या हैं?

ये वे अलग-अलग चरण हैं जिनसे ऑर्डर गुज़रता है, जैसे 'pending', 'shipped', 'delivered'। यह टूल जाँचता है कि एक चरण से दूसरे चरण में ऑर्डर कौन बदल सकता है।

जानकारी

लेखक का मूल विवरण

Audit multi-role marketplace authorization across roles, resource ownership, tenant boundaries, and order-state transitions; use when access rules need evidence, not UI assumptions.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#5166
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills