Autoswagger: Automate API Security Testing for Unauthenticated Endpoints (Free & Open-source)

Autoswagger: Automate API Security Testing for Unauthenticated Endpoints (Free & Open-source)

Table of Content

What is Autoswagger?

Autoswagger is a command-line tool focused on API security testing. It automatically discovers, parses, and tests endpoints defined in Swagger/ OpenAPI documentation for common vulnerabilities.

Its primary goal is to identify unauthenticated API endpoints that might be leaking sensitive information like Personally Identifiable Information (PII) or secrets.

It works by finding the API specification (via direct URL, Swagger UI, or common paths), extracting the endpoints, and then testing them, often concurrently, for potential security issues.

While still under heavy development, it offers a useful starting point for automated API reconnaissance and vulnerability detection.

12 Open-source API Testing Frameworks for REST-API and GraphQL
API testing frameworks are tools or libraries that provide a structured approach to testing Application Programming Interfaces (APIs). They offer a set of functions, methods, and utilities to automate the process of API testing. Purpose of API Testing Frameworks API testing frameworks are used to: * Automate the testing of APIs

Features

Features List:

  • Swagger/OpenAPI Discovery:
    • Parses specifications directly from a provided URL ending in .json, .yaml, or .yml.
    • Extracts specifications from Swagger UI pages (e.g., /swagger-ui.html).
    • Attempts brute-force discovery using common OpenAPI schema file locations (e.g., /swagger.json, /openapi.json).
  • Automated Endpoint Testing:
    • Systematically tests discovered API endpoints for vulnerabilities.
    • Supports parallel, multi-threaded testing of endpoints.
    • Includes configurable rate limiting (-rate).
  • Parameter Brute-Forcing:
    • Option (-b or --brute) to test endpoints with example values for parameters, attempting to bypass validation.
  • PII Detection:
    • Integrates Presidio for identifying PII like phone numbers, emails, addresses, and names.
    • Includes context validation to reduce false positives.
    • Parses PII from CSV rows and simple "key: value" formatted lines.
  • Secrets Detection:
    • Uses regex patterns to identify exposed tokens, keys, and debugging artifacts (like environment variables).
  • Response Analysis:
    • Flags large or potentially interesting API responses.
  • Flexible Output:
    • Default table format for easy reading.
    • JSON output option (-json).
    • Filtered output mode (-product) showing only results with PII, secrets, or large responses.
17 Open Source Free API Testing And Development Apps
API or Application Programming Interface is a set of protocols, definitions that allow different programs or systems to talk or message with each other. Companies develop API software in order to deliver their services quicker, integrate their service with third-party, or even create scalable mobile, desktop, and web apps using

License

BSD-3-Clause license

Resources & Downloads

GitHub - intruder-io/autoswagger: Autoswagger by Intruder - detect API auth weaknesses
Autoswagger by Intruder - detect API auth weaknesses - intruder-io/autoswagger

Are You Truly Ready to Put Your Mobile or Web App to the Test?

Don`t just assume your app works—ensure it`s flawless, secure, and user-friendly with expert testing. 🚀

Why Third-Party Testing is Essential for Your Application and Website?

We are ready to test, evaluate and report your app, ERP system, or customer/ patients workflow

With a detailed report about all findings

Contact us now






Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

Read more