vuln-api

Identify API endpoints and insecure patterns in REST and GraphQL services.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill vuln-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuln-api
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/scode/vuln-api
Command: npx skills add https://github.com/n4igme/randscript --skill vuln-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps security teams and developers identify API-specific vulnerabilities in REST and GraphQL services, reducing the time and effort required to discover misconfigurations and insecure patterns.

Core Features & Use Cases

  • Pattern-based scanning for Mass Assignment, Excessive Data Exposure, GraphQL-specific issues, and Broken Function-Level Authorization.
  • Guidance for threat-modeling and recon-driven prioritization, with step-by-step workflows and actionable remediation tips.
  • Output management: appends findings to ./assessment/vulnerabilities.md for audit and reporting.

Quick Start

Use vuln-api to scan your API threat model and reconnaissance notes, and append the vulnerabilities to ./assessment/vulnerabilities.md.

Frequently Asked Questions about vuln-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find API vulnerabilities like mass assignment and broken function-level authorization?

To find API vulnerabilities, scan API endpoints and request/response surfaces to identify insecure patterns like mass assignment, excessive data exposure, and broken function-level authorization. This approach prioritizes threat-model and recon findings to locate risks safely.

What is the best way to detect GraphQL API security issues and excessive data exposure?

Detecting GraphQL API security issues involves applying pattern-based scanning to request and response surfaces to surface GraphQL-specific vulnerabilities and excessive data exposure. It prioritizes threat-model and recon findings to locate insecure patterns effectively.

How do I scan REST APIs for weak rate limiting and insecure patterns?

Scanning REST APIs for weak rate limiting requires identifying API endpoints and their request/response surfaces to surface misconfigurations. You must verify the presence of threat-model.md and recon.md before reporting weak rate limiting or other insecure patterns.

Do I need threat-model and recon files before testing for API vulnerabilities?

Yes, you need threat-model.md and recon.md files before testing for API vulnerabilities. The skill verifies the presence of these files to prioritize threat-model and recon findings, ensuring accurate reporting of mass assignment risks and authorization issues.

Can I use this approach for bug bounty reconnaissance on REST and GraphQL APIs?

Yes, you can use this approach for bug bounty reconnaissance on REST and GraphQL APIs. It applies pattern-based scanning to identify insecure patterns and appends discovered vulnerabilities to an assessment file for audit and reporting.

What are the limitations when scanning APIs for insecure patterns and misconfigurations?

Limitations when scanning APIs for insecure patterns include the strict requirement to verify threat-model.md and recon.md before reporting. It also requires explicit input filtering, output sanitization, and proper authorization checks to avoid false positives.