appsec.fyi › API Security

API Security Resources

Page 9 of 10: resources 401–450 of 477, added Dec 2021 to Aug 2025.

The newest API Security resources are on the API Security page. For a reading order instead of a date order, see the API Security learning path.

Date AddedLinkExcerpt
2025-08-14 2025Detect SSRF Attacks in Cloud Applications and APIs | Datadog intermediate 3 min read SSRFServer-side request forgery (SSRF) attacks exploit cloud application vulnerabilities, often stemming from unvalidated user URLs or outdated libraries like Jackson and Apache. Attackers leverage SSRF to access sensitive cloud infrastructure data, such as metadata service credentials, by tricking applications into making unintended API calls. Detecting these attacks involves monitoring API response timings for anomalies and analyzing requests for patterns like calls to sensitive internal IPs or metadata endpoints. Datadog Application and API Protection (AAP) offers built-in detection rules and WAF capabilities to identify and block SSRF threats effectively by analyzing service-to-service traces.
2025-08-06 2025ByteByteGo | How does HTTPS work? beginner 1 min readGuide detailing HTTPS functionality, explaining its role in securing internet communication through Transport Layer Security (TLS). It breaks down the handshake process, including TCP connection establishment, client and server hellos, SSL certificate validation, and the secure exchange of a session key using asymmetric and symmetric encryption to protect data from interception.
2025-05-07 2025Using JWTs in Python Flask REST Framework | AppSignal Blog intermediate 8 min read AuthN PythonFlask-JWT-Extended application for Python Flask REST Framework demonstrates securing APIs with JSON Web Tokens (JWTs). This application details JWT structure, including header, payload, and signature, and explains stateless sessions, security benefits, efficiency, and flexibility. It provides a practical implementation of user registration, login, task creation, retrieval, update, and deletion using Flask and Flask-JWT-Extended, along with methods for managing token expiration and refresh tokens for extended sessions.
2025-03-01 2025CORS Finally Explained — Simply - Level Up Coding beginnerThere are millions of articles explaining how to fix the error above, but what exactly is this “Cross-Origin Resource Sharing” (CORS) thing, and why does it even exist? Let's begin by first answering… → levelup.gitconnected.com
2025-02-10 2025GitHub - usebruno/bruno: Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia) intermediate 2 min readLibrary for API exploration and testing, Bruno offers a privacy-focused, offline-first alternative to Postman and Insomnia. It stores API collections in local filesystem folders using the Bru markup language, facilitating collaboration via Git or other version control systems. Bruno is available for Mac, Windows, and Linux, with installation options including binary downloads and package managers like Homebrew, Chocolatey, Scoop, Snap, Flatpak, and Apt.
2025-02-10 2025GitHub - samwafgo/SamWaf: SamWaf开源轻量级网站防火墙,完全私有化部署 SamWaf is a lightweight, open-source web application firewall for small companies, studios, and personal websites. It supports fully private deployment, encrypts data stored locally, is easy to start, and supports Linux and Windows 64-bit. beginner 1 min readLibrary for lightweight, open-source web application security, SamWaf offers fully private deployment with encrypted local data storage. It supports custom rule creation, IP and URL blacklisting, CC frequency limiting, and OWASP CRS rule sets. SamWaf is designed for small companies and personal websites, easily deployable on Linux and Windows, and includes features like automatic SSL certificate management and IPv6 support.
2025-01-28 2025GitHub - traefik/whoami: Tiny Go server that prints os information and HTTP request to output beginner 2 min readTool is a tiny Go webserver that prints OS information, HTTP request details, environment variables, and network information. It supports custom wait times via the `wait` query parameter, allows modification of GET response status codes with POST requests to `/health`, and can serve HTTPS with provided certificates. The tool also features WebSocket echo, health checks, and can be configured to listen on different ports. It can be used to test network configurations, debug HTTP requests, and integrate with containerized environments.
2025-01-22 2025GitHub - c0dejump/HExHTTP: Header Exploitation HTTP intermediate 4 min readTool for testing HTTP headers to identify vulnerabilities such as web cache poisoning and Cache Poisoning DoS (CPDoS). HExHTTP supports flexible proxy configuration, integration with Burp Suite for issue reporting, and human-like request behavior to bypass WAFs. It analyzes various header types, including hop-by-hop headers, and tests CDN/proxy responses.
2025-01-20 2025GitHub - chaitin/SafeLine: SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits. beginner 2 min readLibrary for a self-hosted Web Application Firewall (WAF) and reverse proxy, SafeLine protects web applications from attacks including SQL injection, XSS, code injection, OS command injection, CRLF injection, XXE, SSRF, path traversal, bruteforce, and HTTP floods. It offers proactive bot defense, HTML/JS code encryption, IP-based rate limiting, and web access control lists, defending against DoS attacks and traffic surges. SafeLine implements anti-bot and authentication challenges, with dynamic protection that encrypts code on each visit.
2024-12-22 2024GitHub - fabriziosalmi/patterns: Automated OWASP CRS and Bad Bot Detection for Caddy, Nginx, Apache, Traefik and HaProxy intermediate 4 min readLibrary automates OWASP CRS and bad bot detection for Caddy, Nginx, Apache, Traefik, and HAProxy. It scrapes OWASP Core Rule Set patterns daily, converting them into WAF configurations for various web servers to defend against SQL Injection, XSS, RCE, and LFI. Additionally, it integrates bad bot blocking using public lists to thwart malicious crawlers and scrapers, offering pre-generated configurations and automated updates via GitHub Actions.
2024-12-20 2024GitHub - xnl-h4ck3r/knoxnl: This is a python wrapper around the amazing KNOXSS API by Brute Logic intermediate 8 min read PythonLibrary for Python that wraps the KNOXSS API, enabling automated scanning for Cross-Site Scripting (XSS) and Open Redirect vulnerabilities. It supports various input methods, including single URLs and files, and allows for detailed configuration, including Discord webhook notifications, API key management, and Flash Mode for quick tests. The library also integrates with Burp Suite via the Piper extension for proxy-based testing, handling both GET and POST requests with optional headers and post data.
2024-12-14 2024postMessage Braindump intermediate 2 min readPostMessage vulnerabilities enable cross-origin communication within web applications, functioning like browser APIs triggered from attacker frames. Techniques involve identifying message listeners using tools like Frans Rosen's postMessage Tracker or browser DevTools, then debugging the JavaScript to craft malicious messages, potentially leading to XSS by exploiting `addEventListener("message", ...)` and improper origin validation.
2024-12-13 2024Server SSL certificate verification - HTTPie 3.2.4 (latest) docs beginner 39 min readHTTPie (pronounced aitch-tee-tee-pie) is a human-friendly command-line HTTP client for testing, debugging, and interacting with web services and APIs. It offers intuitive syntax, formatted output, built-in JSON support, form submissions, file uploads/downloads, and secure HTTPS connections with server SSL certificate verification. HTTPie supports various installation methods across Linux, macOS, and Windows.
2024-12-12 2024API Testing with Insomnia and Burp Suite: An Alternative to Postman intermediate 8 min read BurpAPI testing and hacking can be performed using Insomnia and Burp Suite as an alternative to Postman, by capturing API requests with mitmproxy, converting them to OpenAPI 3.0 format using mitmproxy2swagger, and importing into Insomnia. Insomnia features like managing variables and organizing requests integrate with Burp Suite for intercepting and modifying traffic, allowing for tests like identifying Improper Asset Management by detecting outdated endpoints.
2024-12-03 2024Hacking API discovery with a custom Burp extension intermediate 8 min read BurpCustom Burp Suite extension enhances API discovery through a bruteforced approach, inspired by BishopFox's Swagger Jacker. It dynamically generates an extensive wordlist of over 4,000 potential API documentation and UI endpoints, and implements resilient request handling with exponential backoff and tuned timeouts to manage rate limiting. The extension also utilizes parallel processing for efficient execution during Burp Suite crawls. → danaepp.com
2024-11-28 2024GitHub - cc1a2b/jshunter: JShunter is a command-line tool designed for analyzing JavaScript files and extracting endpoints. This tool specializes in identifying sensitive data, such as API endpoints and potential security vulnerabilities, making it an essential resource for developers and security researchers. intermediate 8 min readTool for analyzing JavaScript files, JSHunter extracts endpoints, identifies sensitive data like API keys and JWT tokens, and detects vulnerabilities. It supports comprehensive endpoint discovery, advanced code analysis, multiple input methods, and high-performance processing with stealth features such as proxy support and user-agent rotation. Features include deobfuscation, source map parsing, GraphQL analysis, and WAF bypass detection, with professional output formats like JSON and CSV, and direct integration with Burp Suite.
2024-11-26 2024The OAuth Oversight: When Configuration Errors Turn into Account Hijacks intermediate 1 min read AuthNOAuth misconfiguration errors can lead to account takeover by allowing attackers to change the email address associated with an account. By exploiting a flaw during the OAuth login process, an attacker can register with an OAuth provider, alter the account's email to that of a victim, and then log in to gain full account control.
2024-11-05 2024What is Azure Web Application Firewall on Azure Front Door? beginner 7 min readAzure Web Application Firewall on Azure Front Door offers centralized, global protection for web applications, defending against common exploits and vulnerabilities without modifying backend code. Integrated with Azure Front Door Premium, it inspects incoming requests at the network edge, preventing attacks before they reach your network. WAF policies can include custom rules (IP allow/block lists, geographic restrictions, HTTP parameter matching, request method/size constraints, rate limiting) and Azure-managed rule sets that protect against threats like SQL injection and cross-site scripting, with options for detection or prevention modes.
2024-11-05 2024HTTP Security Headers: A complete guide to HTTP headers beginner 21 min readReference on HTTP security headers detailing their functions in protecting against vulnerabilities like Cross-Site Scripting (XSS) and Clickjacking. It explains key headers such as Access-Control-Allow-Origin for CORS, Content-Type for data interpretation, and Content-Security-Policy (CSP) for controlling resource loading and execution. The guide emphasizes the importance of properly configuring these headers to enhance web application security.
2024-10-03 2024Automate your API hacking with Autorize intermediate 6 min read AuthN AuthZAutorize is a free Burp Suite extension that automates broken object level authorization (BOLA) detection in APIs. It works by repeatedly sending requests with injected header values representing different privilege levels, then analyzing responses for discrepancies to identify authorization bypasses. The extension can be installed via the BApp Store and requires Jython for scanner integration. Users can configure temporary headers, set interception filters, and tune enforcement detectors to pinpoint vulnerabilities like unauthorized access to administrative functions. → danaepp.com
2024-10-01 2024Exploiting trust: Weaponizing permissive CORS configurations advanced 15 min readPermissive CORS configurations allow attackers to bypass the same-origin policy, enabling the theft of API keys, session tokens, and account takeovers. Misconfigurations arise from improperly validating the `Origin` header, leading to vulnerabilities like reflecting any origin, trusting the `null` origin, or flawed subdomain validation. Tools like Burp Suite can identify these weaknesses, which can be exploited through malicious scripts hosted on attacker-controlled domains.
2024-09-23 2024Sec_Mind_Maps/OWASP API TOP 10.pdf at main · h0tak88r/Sec_Mind_Maps beginnercyber security mind maps collection. Contribute to h0tak88r/Sec_Mind_Maps development by creating an account on GitHub.
2024-09-21 2024Proving API exploitability with Burp Collaborator intermediate 5 min read BurpProving API exploitability with Burp Collaborator offers a passive, less liability-prone method to demonstrate vulnerabilities like RCE, SSRF, and blind XXE, moving beyond risky reverse shells. Burp Collaborator captures interactions from crafted payloads, allowing testers to confirm issues by observing DNS, HTTP/HTTPS, or SMTP requests to its hosted or self-hosted servers, as demonstrated in the analysis of CVE-2023-40044. → danaepp.com
2024-09-16 2024Automating the CORS Vulnerability Scan intermediate 2 min read AuthZ Bug BountyAutomating CORS vulnerability scanning leverages tools like Subfinder for subdomain enumeration, httpx-toolkit for live subdomain identification, and Corscan for efficient detection of Cross-Origin Resource Sharing misconfigurations. This automated process streamlines bug bounty efforts by quickly identifying potential risks such as unauthorized data access or session hijacking across multiple domains.
2024-09-14 2024Unlocking OAuth Security intermediate 6 min read AuthNOAuth client applications and services are susceptible to various vulnerabilities, including client secret exposure, Cross-Site Request Forgery (CSRF) when the `state` parameter is improperly handled, and Open Redirects due to insufficient validation of the `redirect_uri`. Access tokens themselves can be exposed if passed insecurely in URL fragments or query parameters. Within the OAuth service, improper token expiration and potential ID token manipulation in OIDC implementations also pose significant risks, all of which can lead to unauthorized access to protected resources. → infosecwriteups.com
2024-09-05 2024JWT vs PASETO: New Era of Token-Based Authentication beginner 11 min read AuthN JWTPaseto, a platform-agnostic security token specification, offers a modern and more secure alternative to JSON Web Tokens (JWT). While JWT is widely used for token-based authentication due to its simplicity, it suffers from potential vulnerabilities like improper algorithm choices and key management issues. Paseto addresses these shortcomings by enforcing secure defaults, preventing algorithm confusion, and providing distinct token types (local and public) for different use cases, making it a robust choice for secure stateless tokens.
2024-08-16 2024Securing OAuth 2.0 Token Exchange Flow with Keycloak intermediate 3 min read AuthN JWTReference detailing Keycloak's implementation for securing RFC 8693 Token Exchange flows by enforcing client ID and custom client scope claims. This approach mitigates delegation and impersonation risks by ensuring only tokens with specific scopes can be exchanged, preventing unauthorized access to delegated rights and effectively restricting token exchange to intended clients and contexts. The guide illustrates configuration steps within Keycloak, including creating client IDs, scopes, and policies, and provides example cURL commands to demonstrate successful and denied token exchange scenarios.
2024-08-12 2024GitHub - Brum3ns/firefly: Black box fuzzer for web applications beginner 3 min read FuzzingLibrary for black-box web application fuzzing, Firefly utilizes goroutines for high performance and an inductive engine to analyze responses. It offers customizable payloads, tampering, encoding, and detailed filtering options for request verification and result refinement. Firefly supports various input methods including raw HTTP requests and integrates with tools like `jq` for advanced result analysis.
2024-08-03 2024Beyond the Limit: Expanding single-packet race condition with a first sequence sync for breaking the 65,535 byte limit advanced 10 min readTechnique for expanding single-packet race conditions by overcoming the 1,500-byte request limit. This method leverages IP fragmentation to split large TCP packets across multiple IP packets, allowing for the full utilization of the TCP window size, up to 65,535 bytes. It then employs TCP sequence number reordering, specifically a "First Sequence Sync," to delay server packet processing until the final packet with the initial sequence number is received, enabling the synchronization and simultaneous processing of numerous large requests.
2024-07-30 2024OAuth+XSS Attack Threatens Millions of Web Users With Account Takeover beginner 4 min read AuthN XSSOAuth and XSS vulnerabilities combined in services like Hotjar and Business Insider allow attackers to achieve account takeover by manipulating the OAuth authentication standard and injecting malicious code. Researchers demonstrated how attackers can leverage these flaws to steal sensitive user data, including credentials and financial details, by exploiting how OAuth tokens are passed in URLs, potentially affecting millions of websites that rely on similar "log in with" functionalities. → darkreading.com
2023-10-12 2023Web AppSec Interview Questions beginner 16 min read Bug BountyReference for web application security interview questions, this resource delves into topics such as Web Cache Deception vs. Poisoning, Session Fixation exploitation, Base64 vs. Base64URL, various XSS types, Blind SQL Injection, Same-Origin Policy, HTTP Request Smuggling (TE.TE variant), DOM Clobbering, HTTP Parameter Pollution, IDOR, JWKs/JKUs, Business Logic vulnerabilities, Server-Side Template Injection payloads, Sec-WebSocket-Key header, CSP's "unsafe-inline", stateless authentication weaknesses, CSRF mitigation techniques, XML parameter entities in XXE, DOM-based XSS fixes, CORS Preflight request prevention, Insecure Deserialization exploitation, secure file upload practices, Mass Assignment, GraphQL batching for rate limiting bypass, type juggling with JSON, sensitive data exposure techniques, and CSRF immune requests.
2023-10-09 2023What is OAuth (The Modern Guide) beginner 69 min read AuthNGuide to OAuth 2.0 detailing eight common real-world modes: local login/registration, third-party/first-party/enterprise login/registration (federated identity), third-party/first-party service authorization, machine-to-machine authentication/authorization, and device login/registration. It clarifies the distinction between OAuth and SAML, explaining OAuth as an authorization system with authentication layered on top, contrasting it with SAML's primary authentication focus. The guide helps developers choose the appropriate OAuth mode based on specific use cases, such as outsourcing authentication, avoiding credential storage, or enabling service-to-service communication.
2023-09-03 2023ffuf advanced tricks - ACCEIS intermediate 14 min read Fuzzingffuf, a command-line utility for penetration testers, extends beyond basic web directory enumeration by offering advanced fuzzing capabilities. Unlike simpler tools, ffuf can inject test data into various parts of HTTP requests, including URLs, parameters, and headers. This article delves into its advanced features, such as utilizing configuration files for persistent settings and custom shortcuts, reading input from standard input, employing external payload mutators, and fine-tuning results with match all and regexp filtering to avoid false negatives and positives.
2023-08-30 2023NosyMonkey: API hooking and code injection made easy! advanced 12 min read MobileNosyMonkey is a library that simplifies API hooking and process injection by automatically resolving code references within a target process. This allows researchers to modify the behavior of compiled binaries without needing source code or writing complex assembly. Examples demonstrate how NosyMonkey can be used for stealthy LSASS memory dumping via API micro-servicing and hiding processes from Task Manager.
2023-08-22 2023(Research) Exploiting HTTP Parsers Inconsistencies advanced 15 min read Bug BountyResearch paper detailing HTTP desync attacks and path traversal vulnerabilities arising from HTTP parser inconsistencies across various web technologies including Nginx, Node.js (Express), Flask, Spring, and PHP-FPM. The study highlights how pathname manipulation and differing character trim implementations by servers and frameworks can bypass security rules, exemplified by attacks targeting Nginx ACLs with special characters like `\xa0` and `\x85`.
2023-07-26 2023Web Application Black-Box testing intermediate Bug Bounty ReconWeb Application Black-Box testing https://ift.tt/d1Mrqn4
2023-07-19 2023Web App Hacking with Caido.io intermediateWeb App Hacking with Caido.io https://www.youtube.com/watch?v=lW-u_2EByT4
2023-06-15 2023DetectCrossOriginMessaging intermediate 1 min readLibrary for detecting cross-origin messaging vulnerabilities, specifically those stemming from insecure use of `postMessage` in JavaScript. It helps identify tainted data sources and common sinks like `document.write` and `element.innerHTML`, as well as common origin validation bypasses involving unescaped dots or incomplete regex patterns. This Burp extension aids in investigating `postMessage` implementations to prevent DOM XSS and information leaks.
2023-06-14 2023hisxo/JSpector beginnerExtension for Burp Suite, JSpector passively crawls JavaScript files, identifying URLs, endpoints, and dangerous methods. Upon successful loading (requiring Jython), it automatically generates issues in the Dashboard tab, allowing for export of discovered information to the clipboard.
2023-05-27 2023open-appsec ML-based WAF protects against modern SQLi AutoSpear evasion techniques news 5 min read SQLiopen-appsec's machine learning-based WAF effectively protects against sophisticated SQL injection evasion techniques, including those presented by the AutoSpear project, which have proven successful in bypassing traditional WAFs from vendors like AWS, Fortinet, F5, CloudFlare, and ModSecurity. Unlike rule-based parsers that struggle with complex encoding and mutation, open-appsec's ML models analyze payloads for malicious intent rather than specific attack types, enabling it to block zero-day attacks with default settings.
2023-04-13 2023OWASP Proactive Controls 2023/2024 v1 beginner AuthN AuthZOWASP Proactive Controls 2023/2024 v1 https://ift.tt/xVAnFY5 → docs.google.com
2023-04-13 2023WebSockets are a Pain - A Journey in Learning and Leveraging intermediate 7 min readLibrary detailing WebSocket communication, its advantages for attackers like real-time data transfer and bypassing proxies, and its handshake process. The entry includes practical applications for Command and Control (C2) infrastructure using tools like Caddy, PowerShell, and native Linux tooling such as websocat, demonstrating how to leverage WebSockets for covert communication and data exfiltration.
2023-04-10 2023How to Implement OAuth 2.0 Login for Python Flask Web Server Applications intermediate 4 min read AuthN PythonTutorial on implementing OAuth 2.0 login for Python Flask web server applications. This guide details enabling Google APIs, creating OAuth client IDs, securely storing credentials, and writing Python code for the login flow. It covers redirect URIs, environment variables, and front-end HTML templates, with complete code available on GitHub.
2023-04-08 2023vfaronov/httpolice: Validator for HTTP beginnerLibrary for validating HTTP requests and responses, HTTPolice identifies syntax errors in headers, incorrect status codes, and other common issues. It functions as a command-line tool capable of parsing HAR files and raw HTTP/1.x TCP streams, integrating with mitmproxy for TLS and HTTP/2 traffic, or serving as a Python library. Integrations include a Django package and a Chrome extension. HTTPolice was inspired by REDbot but focuses on analyzing provided traffic rather than active testing.
2023-04-05 2023OAuth 2.0 beginner 4 min read AuthNGoogle API client library for Python integration with OAuth 2.0 authorization protocol, utilizing `google-auth` and `google-auth-oauthlib` for acquiring credentials and making authenticated API calls. The library provides `Flow` classes to manage authorization steps, including generating authorization URLs and exchanging authorization codes for `Credentials` objects, which are then used to build API service clients.
2022-06-09 2022Favorite tweet by @fardeenahmed411 beginner Bug BountyFavorite tweet: API Bug-Bounty Tools Check list (Part - 1) - Postman (It is like Burpsuite for API) - APISec - AppKnox - Synopsis API Scanner - Data Theorem API Secure #cybersecuritytips #bugbountyti...
2022-03-23 2022Favorite tweet by @imranparray101 news Bug BountyFavorite tweet: We at @snap_sec recently published a bunch of articles on “Attacking modern web apps” , go check them out. 👇 https://t.co/dwzeO7cGl2 https://t.co/8bpZX25CTL https://t.co/WHT1rreRro ht...
2022-01-08 2022Damn Vulnerable GraphQL Application beginner 2 min read GraphQLLibrary for practicing GraphQL security, Damn Vulnerable GraphQL Application (DVGA) is an intentionally insecure implementation featuring numerous flaws including injections, code execution, authorization bypasses, denial of service, and SSRF. It offers beginner and expert modes, covering scenarios like GraphQL introspection, batch query attacks, and OS command injection, with a provided Postman collection for challenge solutions.
2022-01-06 2022awesome-apisec beginner 2 min readLibrary of open-source API security tools and resources, curated for community benefit. It categorizes offerings into areas like API keys, enumeration, fuzzing, firewalls, and design, along with books, cheat sheets, and presentations. The repository emphasizes community contributions and avoids vendor-specific, commercial, or closed-source materials, focusing strictly on relevance to API security, bug hunting, hardening, and hacking.
2021-12-15 2021REST Resources Provided By: Bitbucket Server - REST beginner 133 min readReference for Bitbucket Server's REST API, detailing how to access resources via URIs, utilize HTTP methods like GET and POST, and handle JSON responses. It explains paging mechanisms, authentication methods (HTTP Basic, OAuth, Cookies, Trusted Applications), and common error responses including 40x client errors and 500 server errors. The reference covers accessing personal repositories through both project-centric and user-centric URLs, and includes specific examples for clearing CAPTCHAs and deleting groups.