[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AE21KRVQ6XBNCCDFQ033NX":3,"skill-same:01M6AE21KRVQ6XBNCCDFQ033NX":112},{"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":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":71,"commitSha":72,"skillDirectory":73,"forksCount":74,"repositoryHtmlUrl":75,"repositoryHomepageUrl":76,"ownerHtmlUrl":77,"ownerBlogUrl":78,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M6AE21KRVQ6XBNCCDFQ033NX","conducting-api-security-testing","API安全渗透测试","Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing.","对 REST、GraphQL 和 gRPC API 进行安全测试，识别身份验证、授权、速率限制、输入验证和业务逻辑中的漏洞。测试人员使用 OWASP API Security Top 10 作为测试框架，结合 Burp Suite 拦截、Postman 集合和自定义脚本，在每个权限级别测试端点安全性。适用于涉及 API 安全测试、REST API 渗透测试、GraphQL 安全评估或 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\u002Fconducting-api-security-testing\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,49],"security","conducting api security testing","testing","grpc","authorization-testing","GraphQL","REST","OWASP-API-Top10","owasp","penetration-testing","api-security","cybersecurity","testing framework","framework","validation","authentication","assessment","test","vulnerabilities","2026-11-10 10:12:30",false,"---\nname: conducting-api-security-testing\ndescription: 'Conducts security testing of REST, GraphQL, and gRPC APIs to identify\n  vulnerabilities in authentication, authorization, rate limiting, input validation,\n  and business logic. The tester uses the OWASP API Security Top 10 as the testing\n  framework, combining Burp Suite interception with Postman collections and custom\n  scripts to test endpoint security at every privilege level. Activates for requests\n  involving API security testing, REST API pentest, GraphQL security assessment, or\n  API vulnerability testing.\n\n  '\ndomain: cybersecurity\nsubdomain: penetration-testing\ntags:\n- API-security\n- OWASP-API-Top10\n- REST\n- GraphQL\n- authorization-testing\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- ID.RA-01\n- ID.RA-06\n- GV.OV-02\n- DE.AE-07\nmitre_attack:\n- T1190\n- T1213\n- T1552.001\n- T1078\n- T1071.001\n---\n# Conducting API Security Testing\n\n## When to Use\n\n- Testing API endpoints for authorization flaws, injection vulnerabilities, and business logic bypasses\n- Assessing the security of microservices architecture where APIs are the primary communication method\n- Validating that API gateway protections (rate limiting, authentication, input validation) are properly enforced\n- Testing third-party API integrations for data exposure and insecure configurations\n- Evaluating GraphQL APIs for introspection disclosure, query complexity attacks, and authorization bypasses\n\n**Do not use** against APIs without written authorization, for load testing or denial-of-service testing unless explicitly scoped, or for testing production APIs that process real financial transactions without safeguards.\n\n## Prerequisites\n\n- API documentation (OpenAPI\u002FSwagger, GraphQL schema, Postman collection) or application access to reverse-engineer the API\n- Burp Suite Professional configured to intercept API traffic with JSON\u002FXML content type handling\n- Postman or Insomnia for organizing and replaying API requests across different authentication contexts\n- Valid API tokens or credentials at multiple privilege levels (unauthenticated, standard user, admin)\n- Target API base URL and version information\n\n## Workflow\n\n### Step 1: API Discovery and Documentation\n\nMap the complete API attack surface:\n\n- **Import API documentation**: Load OpenAPI\u002FSwagger specs into Postman or Burp Suite to catalog all endpoints, methods, parameters, and authentication requirements\n- **Reverse-engineer undocumented APIs**: Proxy the mobile app or web frontend through Burp Suite and exercise all features to capture API calls. Export the Burp sitemap as the baseline endpoint inventory.\n- **GraphQL introspection**: Send an introspection query to discover the full schema:\n  ```json\n  {\"query\": \"{__schema{types{name,fields{name,args{name,type{name}}}}}}\"}\n  ```\n- **Endpoint enumeration**: Fuzz for hidden API versions (`\u002Fapi\u002Fv1\u002F`, `\u002Fapi\u002Fv2\u002F`, `\u002Fapi\u002Finternal\u002F`), debug endpoints (`\u002Fapi\u002Fdebug`, `\u002Fapi\u002Fhealth`, `\u002Fapi\u002Fmetrics`), and administrative endpoints\n- **Document authentication mechanisms**: Identify if the API uses API keys, OAuth 2.0 Bearer tokens, JWT, session cookies, or mutual TLS\n\n### Step 2: Authentication and Token Testing\n\nTest authentication mechanisms for weaknesses:\n\n- **JWT analysis**: Decode the JWT and inspect claims (sub, exp, iss, aud, role). Test:\n  - Algorithm confusion: Change `alg` to `none` and remove the signature\n  - Key confusion: Change `alg` from RS256 to HS256 and sign with the public key\n  - Weak secret: Brute-force the HMAC secret with `hashcat -m 16500 jwt.txt wordlist.txt`\n  - Token expiration: Verify tokens expire and cannot be used after expiration\n  - Claim tampering: Modify role, userId, or permission claims and re-sign\n- **OAuth 2.0 testing**: Check for redirect_uri manipulation, authorization code reuse, token leakage in Referer headers, and missing state parameter (CSRF)\n- **API key security**: Test if API keys are validated per-endpoint, if revoked keys are immediately rejected, and if keys in query strings appear in access logs or analytics\n\n### Step 3: Authorization Testing (BOLA\u002FBFLA)\n\nTest for Broken Object Level Authorization (BOLA) and Broken Function Level Authorization (BFLA):\n\n- **BOLA (IDOR) testing**: For every endpoint that returns user-specific data, replace the object identifier with another user's identifier:\n  - `GET \u002Fapi\u002Fusers\u002F123\u002Forders` -> `GET \u002Fapi\u002Fusers\u002F456\u002Forders`\n  - Test with numeric IDs, UUIDs, usernames, and email addresses\n  - Automate with Burp Autorize extension: configure it with two sessions (attacker and victim) and replay all requests\n- **BFLA testing**: Using a low-privilege token, attempt to access administrative endpoints:\n  - `DELETE \u002Fapi\u002Fusers\u002F456` (admin-only delete)\n  - `PUT \u002Fapi\u002Fusers\u002F456\u002Frole` (role modification)\n  - `GET \u002Fapi\u002Fadmin\u002Fdashboard` (admin panel data)\n- **Mass assignment**: Send additional JSON properties not shown in the documentation:\n  ```json\n  PUT \u002Fapi\u002Fusers\u002F123\n  {\"name\": \"Test\", \"role\": \"admin\", \"isVerified\": true, \"balance\": 99999}\n  ```\n- **HTTP method testing**: If GET works on an endpoint, try PUT, PATCH, DELETE, and OPTIONS to discover unprotected methods\n\n### Step 4: Input Validation and Injection Testing\n\nTest API inputs for injection and validation flaws:\n\n- **SQL injection in API parameters**: Test all parameters (path, query, body, headers) with SQL injection payloads. JSON APIs are often overlooked: `{\"username\": \"admin' OR 1=1--\", \"password\": \"test\"}`\n- **NoSQL injection**: For MongoDB backends, test with operator injection: `{\"username\": {\"$gt\": \"\"}, \"password\": {\"$gt\": \"\"}}`\n- **SSRF via API**: Test any parameter that accepts URLs (webhook URLs, avatar URLs, import endpoints) with internal addresses and cloud metadata endpoints\n- **GraphQL-specific injection**: Test for query depth attacks, alias-based batching for brute force, and field suggestion enumeration\n- **XXE in XML APIs**: Submit XML content with external entity declarations to API endpoints that accept XML\n- **Rate limiting validation**: Send 100+ rapid requests to authentication endpoints, password reset, and OTP verification to test for brute force protection\n\n### Step 5: Data Exposure and Response Analysis\n\nCheck for excessive data exposure in API responses:\n\n- **Verbose responses**: Compare the data returned in API responses with what the UI displays. APIs often return more fields than needed (internal IDs, creation timestamps, email addresses of other users, role information).\n- **Error message analysis**: Trigger errors by sending malformed input, invalid tokens, and non-existent resources. Check if error messages reveal stack traces, database queries, internal paths, or technology details.\n- **Pagination and enumeration**: Test if enumeration is possible by iterating through paginated responses (`\u002Fapi\u002Fusers?page=1`, `page=2`, etc.) to extract all records\n- **GraphQL data exposure**: Query for fields not intended for the current user's role. Test nested queries that traverse relationships to access unauthorized data.\n- **Debug endpoints**: Check `\u002Fapi\u002Fdebug`, `\u002Fapi\u002Fstatus`, `\u002Fmetrics`, `\u002Fhealth`, `\u002F.env`, `\u002Fapi\u002Fswagger.json` for exposed internal information\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **BOLA** | Broken Object Level Authorization (OWASP API #1); failure to verify that the requesting user is authorized to access a specific object, enabling IDOR attacks |\n| **BFLA** | Broken Function Level Authorization (OWASP API #5); failure to restrict administrative or privileged API functions from being accessed by lower-privilege users |\n| **Mass Assignment** | A vulnerability where the API binds client-provided data to internal object properties without filtering, allowing attackers to modify fields they should not have access to |\n| **GraphQL Introspection** | A built-in GraphQL feature that exposes the complete API schema including all types, fields, and relationships; should be disabled in production |\n| **JWT** | JSON Web Token; a self-contained token format used for API authentication containing claims signed with a secret or key pair |\n| **Rate Limiting** | Controls that restrict the number of API requests a client can make within a time window, preventing brute force, enumeration, and abuse |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: HTTP proxy for intercepting, modifying, and replaying API requests with extensions like Autorize for automated authorization testing\n- **Postman**: API development platform used for organizing endpoint collections, scripting tests, and comparing responses across authentication contexts\n- **GraphQL Voyager**: Visual tool for exploring GraphQL schemas obtained through introspection queries\n- **jwt.io \u002F jwt_tool**: Tools for decoding, analyzing, and tampering with JWT tokens to test authentication bypasses\n- **Nuclei**: Template-based scanner with API-specific templates for detecting common misconfigurations and known vulnerabilities\n\n## Common Scenarios\n\n### Scenario: API Security Assessment for a Fintech Mobile Application\n\n**Context**: A fintech startup has a mobile banking application with a REST API backend. The API handles account management, fund transfers, bill payments, and transaction history. The tester has Swagger documentation and accounts at user and admin levels.\n\n**Approach**:\n1. Import Swagger spec into Postman, generating 87 endpoint collections across 12 controllers\n2. Discover BOLA on `\u002Fapi\u002Fv1\u002Faccounts\u002F{accountId}\u002Ftransactions` allowing any authenticated user to view any account's transaction history\n3. Find mass assignment on the user update endpoint where adding `\"dailyTransferLimit\": 999999` bypasses the configured transfer limit\n4. Identify that the fund transfer endpoint lacks rate limiting, allowing unlimited transfer attempts without throttling\n5. Discover that JWT tokens have a 30-day expiration with no refresh token rotation, enabling long-lived session hijacking\n6. Find that the admin endpoint `\u002Fapi\u002Fv1\u002Fadmin\u002Fusers` is accessible with a standard user token (BFLA)\n7. Report all findings with CVSS scores and specific API code-level remediation guidance\n\n**Pitfalls**:\n- Testing only the endpoints documented in Swagger and missing undocumented or deprecated API versions\n- Not testing the same endpoint with tokens from every privilege level to detect authorization bypasses\n- Ignoring response body analysis for excessive data exposure when the UI only shows a subset of returned fields\n- Failing to test for mass assignment by only sending fields shown in the documentation\n\n## Output Format\n\n```\n## Finding: Broken Object Level Authorization in Transaction History API\n\n**ID**: API-001\n**Severity**: Critical (CVSS 9.1)\n**Affected Endpoint**: GET \u002Fapi\u002Fv1\u002Faccounts\u002F{accountId}\u002Ftransactions\n**OWASP API Category**: API1:2023 - Broken Object Level Authorization\n\n**Description**:\nThe transaction history endpoint returns all transactions for the specified\naccount without verifying that the authenticated user owns the account. Any\nauthenticated user can view the complete transaction history of any account\nby substituting the accountId path parameter.\n\n**Proof of Concept**:\n1. Authenticate as User A (account ID: ACC-10045)\n2. Request: GET \u002Fapi\u002Fv1\u002Faccounts\u002FACC-10046\u002Ftransactions\n   Authorization: Bearer \u003CUser_A_token>\n3. Response: 200 OK with User B's full transaction history\n\n**Impact**:\nAny authenticated user can view the complete financial transaction history of\nall 45,000 customer accounts, including amounts, dates, recipients, and\ntransaction descriptions.\n\n**Remediation**:\nImplement server-side authorization check that verifies the authenticated user\nowns the requested account before returning data:\n  const account = await Account.findById(accountId);\n  if (account.userId !== req.user.id) return res.status(403).json({error: \"Forbidden\"});\n```\n","# Conducting API Security Testing\n\n## When to Use\n\n- Testing API endpoints for authorization flaws, injection vulnerabilities, and business logic bypasses\n- Assessing the security of microservices architecture where APIs are the primary communication method\n- Validating that API gateway protections (rate limiting, authentication, input validation) are properly enforced\n- Testing third-party API integrations for data exposure and insecure configurations\n- Evaluating GraphQL APIs for introspection disclosure, query complexity attacks, and authorization bypasses\n\n**Do not use** against APIs without written authorization, for load testing or denial-of-service testing unless explicitly scoped, or for testing production APIs that process real financial transactions without safeguards.\n\n## Prerequisites\n\n- API documentation (OpenAPI\u002FSwagger, GraphQL schema, Postman collection) or application access to reverse-engineer the API\n- Burp Suite Professional configured to intercept API traffic with JSON\u002FXML content type handling\n- Postman or Insomnia for organizing and replaying API requests across different authentication contexts\n- Valid API tokens or credentials at multiple privilege levels (unauthenticated, standard user, admin)\n- Target API base URL and version information\n\n## Workflow\n\n### Step 1: API Discovery and Documentation\n\nMap the complete API attack surface:\n\n- **Import API documentation**: Load OpenAPI\u002FSwagger specs into Postman or Burp Suite to catalog all endpoints, methods, parameters, and authentication requirements\n- **Reverse-engineer undocumented APIs**: Proxy the mobile app or web frontend through Burp Suite and exercise all features to capture API calls. Export the Burp sitemap as the baseline endpoint inventory.\n- **GraphQL introspection**: Send an introspection query to discover the full schema:\n  ```json\n  {\"query\": \"{__schema{types{name,fields{name,args{name,type{name}}}}}}\"}\n  ```\n- **Endpoint enumeration**: Fuzz for hidden API versions (`\u002Fapi\u002Fv1\u002F`, `\u002Fapi\u002Fv2\u002F`, `\u002Fapi\u002Finternal\u002F`), debug endpoints (`\u002Fapi\u002Fdebug`, `\u002Fapi\u002Fhealth`, `\u002Fapi\u002Fmetrics`), and administrative endpoints\n- **Document authentication mechanisms**: Identify if the API uses API keys, OAuth 2.0 Bearer tokens, JWT, session cookies, or mutual TLS\n\n### Step 2: Authentication and Token Testing\n\nTest authentication mechanisms for weaknesses:\n\n- **JWT analysis**: Decode the JWT and inspect claims (sub, exp, iss, aud, role). Test:\n  - Algorithm confusion: Change `alg` to `none` and remove the signature\n  - Key confusion: Change `alg` from RS256 to HS256 and sign with the public key\n  - Weak secret: Brute-force the HMAC secret with `hashcat -m 16500 jwt.txt wordlist.txt`\n  - Token expiration: Verify tokens expire and cannot be used after expiration\n  - Claim tampering: Modify role, userId, or permission claims and re-sign\n- **OAuth 2.0 testing**: Check for redirect_uri manipulation, authorization code reuse, token leakage in Referer headers, and missing state parameter (CSRF)\n- **API key security**: Test if API keys are validated per-endpoint, if revoked keys are immediately rejected, and if keys in query strings appear in access logs or analytics\n\n### Step 3: Authorization Testing (BOLA\u002FBFLA)\n\nTest for Broken Object Level Authorization (BOLA) and Broken Function Level Authorization (BFLA):\n\n- **BOLA (IDOR) testing**: For every endpoint that returns user-specific data, replace the object identifier with another user's identifier:\n  - `GET \u002Fapi\u002Fusers\u002F123\u002Forders` -> `GET \u002Fapi\u002Fusers\u002F456\u002Forders`\n  - Test with numeric IDs, UUIDs, usernames, and email addresses\n  - Automate with Burp Autorize extension: configure it with two sessions (attacker and victim) and replay all requests\n- **BFLA testing**: Using a low-privilege token, attempt to access administrative endpoints:\n  - `DELETE \u002Fapi\u002Fusers\u002F456` (admin-only delete)\n  - `PUT \u002Fapi\u002Fusers\u002F456\u002Frole` (role modification)\n  - `GET \u002Fapi\u002Fadmin\u002Fdashboard` (admin panel data)\n- **Mass assignment**: Send additional JSON properties not shown in the documentation:\n  ```json\n  PUT \u002Fapi\u002Fusers\u002F123\n  {\"name\": \"Test\", \"role\": \"admin\", \"isVerified\": true, \"balance\": 99999}\n  ```\n- **HTTP method testing**: If GET works on an endpoint, try PUT, PATCH, DELETE, and OPTIONS to discover unprotected methods\n\n### Step 4: Input Validation and Injection Testing\n\nTest API inputs for injection and validation flaws:\n\n- **SQL injection in API parameters**: Test all parameters (path, query, body, headers) with SQL injection payloads. JSON APIs are often overlooked: `{\"username\": \"admin' OR 1=1--\", \"password\": \"test\"}`\n- **NoSQL injection**: For MongoDB backends, test with operator injection: `{\"username\": {\"$gt\": \"\"}, \"password\": {\"$gt\": \"\"}}`\n- **SSRF via API**: Test any parameter that accepts URLs (webhook URLs, avatar URLs, import endpoints) with internal addresses and cloud metadata endpoints\n- **GraphQL-specific injection**: Test for query depth attacks, alias-based batching for brute force, and field suggestion enumeration\n- **XXE in XML APIs**: Submit XML content with external entity declarations to API endpoints that accept XML\n- **Rate limiting validation**: Send 100+ rapid requests to authentication endpoints, password reset, and OTP verification to test for brute force protection\n\n### Step 5: Data Exposure and Response Analysis\n\nCheck for excessive data exposure in API responses:\n\n- **Verbose responses**: Compare the data returned in API responses with what the UI displays. APIs often return more fields than needed (internal IDs, creation timestamps, email addresses of other users, role information).\n- **Error message analysis**: Trigger errors by sending malformed input, invalid tokens, and non-existent resources. Check if error messages reveal stack traces, database queries, internal paths, or technology details.\n- **Pagination and enumeration**: Test if enumeration is possible by iterating through paginated responses (`\u002Fapi\u002Fusers?page=1`, `page=2`, etc.) to extract all records\n- **GraphQL data exposure**: Query for fields not intended for the current user's role. Test nested queries that traverse relationships to access unauthorized data.\n- **Debug endpoints**: Check `\u002Fapi\u002Fdebug`, `\u002Fapi\u002Fstatus`, `\u002Fmetrics`, `\u002Fhealth`, `\u002F.env`, `\u002Fapi\u002Fswagger.json` for exposed internal information\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **BOLA** | Broken Object Level Authorization (OWASP API #1); failure to verify that the requesting user is authorized to access a specific object, enabling IDOR attacks |\n| **BFLA** | Broken Function Level Authorization (OWASP API #5); failure to restrict administrative or privileged API functions from being accessed by lower-privilege users |\n| **Mass Assignment** | A vulnerability where the API binds client-provided data to internal object properties without filtering, allowing attackers to modify fields they should not have access to |\n| **GraphQL Introspection** | A built-in GraphQL feature that exposes the complete API schema including all types, fields, and relationships; should be disabled in production |\n| **JWT** | JSON Web Token; a self-contained token format used for API authentication containing claims signed with a secret or key pair |\n| **Rate Limiting** | Controls that restrict the number of API requests a client can make within a time window, preventing brute force, enumeration, and abuse |\n\n## Tools & Systems\n\n- **Burp Suite Professional**: HTTP proxy for intercepting, modifying, and replaying API requests with extensions like Autorize for automated authorization testing\n- **Postman**: API development platform used for organizing endpoint collections, scripting tests, and comparing responses across authentication contexts\n- **GraphQL Voyager**: Visual tool for exploring GraphQL schemas obtained through introspection queries\n- **jwt.io \u002F jwt_tool**: Tools for decoding, analyzing, and tampering with JWT tokens to test authentication bypasses\n- **Nuclei**: Template-based scanner with API-specific templates for detecting common misconfigurations and known vulnerabilities\n\n## Common Scenarios\n\n### Scenario: API Security Assessment for a Fintech Mobile Application\n\n**Context**: A fintech startup has a mobile banking application with a REST API backend. The API handles account management, fund transfers, bill payments, and transaction history. The tester has Swagger documentation and accounts at user and admin levels.\n\n**Approach**:\n1. Import Swagger spec into Postman, generating 87 endpoint collections across 12 controllers\n2. Discover BOLA on `\u002Fapi\u002Fv1\u002Faccounts\u002F{accountId}\u002Ftransactions` allowing any authenticated user to view any account's transaction history\n3. Find mass assignment on the user update endpoint where adding `\"dailyTransferLimit\": 999999` bypasses the configured transfer limit\n4. Identify that the fund transfer endpoint lacks rate limiting, allowing unlimited transfer attempts without throttling\n5. Discover that JWT tokens have a 30-day expiration with no refresh token rotation, enabling long-lived session hijacking\n6. Find that the admin endpoint `\u002Fapi\u002Fv1\u002Fadmin\u002Fusers` is accessible with a standard user token (BFLA)\n7. Report all findings with CVSS scores and specific API code-level remediation guidance\n\n**Pitfalls**:\n- Testing only the endpoints documented in Swagger and missing undocumented or deprecated API versions\n- Not testing the same endpoint with tokens from every privilege level to detect authorization bypasses\n- Ignoring response body analysis for excessive data exposure when the UI only shows a subset of returned fields\n- Failing to test for mass assignment by only sending fields shown in the documentation\n\n## Output Format\n\n```\n## Finding: Broken Object Level Authorization in Transaction History API\n\n**ID**: API-001\n**Severity**: Critical (CVSS 9.1)\n**Affected Endpoint**: GET \u002Fapi\u002Fv1\u002Faccounts\u002F{accountId}\u002Ftransactions\n**OWASP API Category**: API1:2023 - Broken Object Level Authorization\n\n**Description**:\nThe transaction history endpoint returns all transactions for the specified\naccount without verifying that the authenticated user owns the account. Any\nauthenticated user can view the complete transaction history of any account\nby substituting the accountId path parameter.\n\n**Proof of Concept**:\n1. Authenticate as User A (account ID: ACC-10045)\n2. Request: GET \u002Fapi\u002Fv1\u002Faccounts\u002FACC-10046\u002Ftransactions\n   Authorization: Bearer \u003CUser_A_token>\n3. Response: 200 OK with User B's full transaction history\n\n**Impact**:\nAny authenticated user can view the complete financial transaction history of\nall 45,000 customer accounts, including amounts, dates, recipients, and\ntransaction descriptions.\n\n**Remediation**:\nImplement server-side authorization check that verifies the authenticated user\nowns the requested account before returning data:\n  const account = await Account.findById(accountId);\n  if (account.userId !== req.user.id) return res.status(403).json({error: \"Forbidden\"});\n```\n",{"name":5,"tags":55,"author":57,"domain":42,"license":16,"version":58,"nist_csf":59,"subdomain":40,"description":64,"mitre_attack":65},[56,38,37,36,35],"API-security","mahipal","1.0.0",[60,61,62,63],"ID.RA-01","ID.RA-06","GV.OV-02","DE.AE-07","Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing.\n",[66,67,68,69,70],"T1190","T1213","T1552.001","T1078","T1071.001","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fconducting-api-security-testing",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":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill conducting-api-security-testing",{"tool":87,"command":88},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill conducting-api-security-testing",{"tool":90,"command":91},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill conducting-api-security-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fconducting-api-security-testing\u002FSKILL.md",true,[95,100,106],{"path":96,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fconducting-api-security-testing\u002FLICENSE",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fapi-reference.md","REFERENCE","参考文档",2598,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fconducting-api-security-testing\u002Freferences\u002Fapi-reference.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",8394,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fconducting-api-security-testing\u002Fscripts\u002Fagent.py",[113,144,173,203,234,264],{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":50},"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",[121,122],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[126,127,128,129,31,42,130,131,132,133,134,135,136,137,138,139,140,141,142,143],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","pr","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":156,"publishedAt":50},"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",[152,153],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":154,"categoryName":155,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[157,140,158,159,31,160,42,132,161,162,163,164,165,166,167,168,169,170,171,172],"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":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":50},"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",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[167,188,189,190,33,42,191,45,161,192,193,194,195,196,197,198,199,200,201,202],"backup","recovery","validating backup integrity for recovery","infrastructure","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":215,"publishedAt":50},"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",[211,212],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":213,"categoryName":214,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[216,217,218,42,219,220,221,222,223,224,225,226,227,228,229,230,164,231,232,233],"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":235,"name":236,"nameZh":237,"description":238,"descriptionZh":239,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":240,"categories":241,"keywords":246,"publishedAt":50},"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",[242,245],{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[49,44,247,42,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263],"triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":265,"name":266,"nameZh":267,"description":268,"descriptionZh":269,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":270,"categories":271,"keywords":276,"publishedAt":50},"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",[272,273],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":274,"categoryName":275,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[31,277,42,278,279,280,281,282,283,284,285,198,286,199,287,288,289,290,291,292],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]