๐งพ Test for security headers (CSP, HSTS, X-Frame-Options, etc.).
๐ Validate HTTPS / TLS configuration and certificate chain (TLS 1.2+ only; TLS 1.0 and 1.1 are deprecated).
๐งฎ Confirm correct file permissions and environment variables.
๐ซ Ensure no production data in test systems (and vice versa).
โ๏ธ Test for exposed cloud storage or misconfigured CDN.
๐งฉ Check for possible subdomain takeover or orphaned DNS entries.
๐งโ๐ป Review CI/CD pipelines for secrets or hardcoded credentials.
๐ Verify CORS policy is not overly permissive (Access-Control-Allow-Origin: * on sensitive endpoints).
๐ If the application supports HTTP/3 / QUIC, verify that TLS is enforced, UDP port 443 is properly secured, and security headers apply equally to HTTP/3 responses.
๐ค 3. Identity Management
๐ Review registration and provisioning flows.
๐ท Test for user enumeration (login, reset, signup).
๐ฅ Verify unique username policies and predictable IDs.
๐ Validate de-provisioning and role removal processes.
โ๏ธ Confirm least-privilege principles are applied.
๐ 4. Authentication Testing
๐ Verify credentials transmitted only via HTTPS.
๐จ Test for default or weak passwords.
๐งญ Test for authentication bypass and forced browsing.
โ Check brute-force protection and account lockout.
๐งฉ Test for session fixation and renewal upon login.
๐ซ Disable browser autocomplete on password fields.
๐งผ Verify sensitive data not cached or stored locally.
๐ Test WebAuthn / Passkey implementation if present โ verify origin binding, credential ID uniqueness, and replay protection.
๐ Validate OAuth 2.0 / PKCE flows โ verify code_verifier, state parameter, and redirect URI restrictions.
๐ If the application uses OAuth 2.1, verify that implicit grant and Resource Owner Password Credentials grant are not supported, and that PKCE is enforced for all clients.
๐ชช Test federated / social login for account linking and identity confusion attacks.
๐ 5. Authorization Testing
๐ Test for path traversal and file access control.
๐ง Test for insecure direct object references (IDOR).
๐ Check for privilege escalation (vertical/horizontal).
๐ณ๏ธ Test for missing or broken access control.
๐งฑ Validate access control consistency across APIs.
๐ช Review OAuth / OIDC implementations.
๐งฉ 6. Session Management
๐ช Identify how sessions are handled (cookies, tokens, JWT).
โฐ Check session timeout and absolute expiration.
๐ช Confirm session invalidation after logout or inactivity.
๐ Regenerate session IDs on login / privilege changes.
๐ Test session ID randomness and predictability.
๐งฑ Validate HTTPS-only transmission of tokens.
๐งฟ Test for CSRF and clickjacking protection.
๐ชช Review JWT signature algorithm (alg: none bypass, RS256 vs HS256 confusion), expiration, and claim integrity.
๐งฎ 7. Input Validation & Injection
๐ฌ Test for Reflected, Stored, and DOM-based XSS.
๐ง Test for SQL, NoSQL, and ORM Injection.
๐งพ Test for XML / XXE and XPath Injection.
๐งโ๐ป Test for Command, Code, and Template Injection (SSTI).
๐ Test for SSRF and HTTP Request Smuggling.
โ๏ธ Test for HTTP Header and Host Header Injection.
๐ Test for Open Redirects.
๐ Test for LFI / RFI (File Inclusion).
๐งฑ Test for Expression Language Injection and Mass Assignment.
๐ Compare client-side vs. server-side validation rules.
๐งฌ Test for Prototype Pollution in JavaScript/Node.js applications โ verify that __proto__, constructor, and prototype properties are sanitized in object merges and deep clones.
๐ Test for HTTP Parameter Pollution (HPP) โ send duplicate parameters and verify server-side behavior.
๐ค Test for Prompt Injection if the application passes user input to an LLM โ verify that system prompts cannot be overridden or leaked (see also Section 13).
๐จ 8. Error Handling & Logging
๐งฑ Test for verbose error messages and stack traces.
๐ซ Validate no sensitive data is leaked in errors or logs.
๐ Confirm security events are logged and monitored.
๐ก Verify alerting for critical events (auth failures, privilege changes).
๐ 9. Cryptography
๐ Verify encryption of sensitive data (in transit + at rest).
๐งฎ Test for weak / deprecated algorithms (MD5, SHA-1, RC4, DES).
๐ง Check proper salting and key derivation (PBKDF2, bcrypt, Argon2).
๐งฐ Validate secure random number generation.
๐ซ Detect hardcoded keys or secrets.
๐ชช Validate certificate chain and expiry.
๐ Verify TLS 1.0 and TLS 1.1 are disabled โ TLS 1.2 minimum, TLS 1.3 preferred.
๐ฎ Assess Post-Quantum Cryptography (PQC) readiness โ verify whether long-lived secrets and certificates are protected against harvest-now-decrypt-later attacks; check if the application roadmap includes migration to NIST-standardized PQC algorithms (ML-KEM, ML-DSA, SLH-DSA).
๐ง 10. Business Logic Testing
โ๏ธ Test for logic bypasses and workflow manipulation.
โณ Test for race conditions and timing attacks.
๐ Validate business rule enforcement (limits, quotas).
๐งพ Test for missing non-repudiation controls.
๐งโโ๏ธ Verify separation of duties and privilege boundaries.
๐ Test for unsafe file uploads (type, size, path, scanning).
๐งจ Test for malicious file execution after upload.
๐งญ 11. Client-Side Security
๐ง Test for DOM-based XSS and client-side injection.
๐ชถ Test for HTML and CSS Injection.
๐ Check CORS configuration.
๐ผ๏ธ Test for clickjacking via frames/iframes.
๐ฌ Verify Web Messaging (postMessage) origins and targets.
๐ฌ Test WebSockets for authentication and origin checks.
๐พ Check browser storage (LocalStorage, IndexedDB) for secrets.
๐ Test for Reverse Tabnabbing and open redirects.
๐ Verify PWA / Service Worker caching security.
๐ Enumerate API endpoints and parameters (including versioned and deprecated endpoints).
๐งฑ API1:2023 โ Test for Broken Object Level Authorization (BOLA / IDOR).
๐ API2:2023 โ Test for Broken Authentication (weak tokens, missing expiry, credential stuffing).
๐ท๏ธ API3:2023 โ Test for Broken Object Property Level Authorization โ excessive data exposure in responses AND mass assignment via writable fields.
โฑ๏ธ API4:2023 โ Test for Unrestricted Resource Consumption โ verify rate limiting, payload size limits, and query complexity limits (GraphQL).
๐ API5:2023 โ Test for Broken Function Level Authorization โ verify HTTP method restrictions and admin-only endpoint access.
๐ฆ API6:2023 โ Test for Unrestricted Access to Sensitive Business Flows โ verify bot protection and abuse prevention on high-value flows (checkout, login, account creation).
๐ API7:2023 โ Test for Server Side Request Forgery (SSRF) in API parameters that fetch URLs or resources.
โ๏ธ API8:2023 โ Test for Security Misconfiguration โ CORS, missing security headers, debug endpoints, default credentials.
๐๏ธ API9:2023 โ Test for Improper Inventory Management โ identify shadow APIs, unversioned endpoints, and undocumented paths.
๐ค API10:2023 โ Test for Unsafe Consumption of APIs โ verify that the application validates and sanitizes data received from third-party APIs before use.
๐ชถ Test GraphQL queries and mutations for injection, introspection exposure, and query depth/complexity abuse.
๐ LLM01 โ Test for Prompt Injection โ attempt to override system prompts via user input, indirect injection through retrieved documents or tool outputs.
๐ LLM02 โ Test for Sensitive Information Disclosure โ verify the model does not leak training data, system prompts, PII, or internal API keys in responses.
๐ LLM03 โ Test for Supply Chain vulnerabilities โ review third-party model providers, fine-tuning datasets, and plugin/tool integrations.
๐ LLM04 โ Test for Data and Model Poisoning โ verify controls on fine-tuning pipelines and retrieval-augmented generation (RAG) data sources.
๐งฐ LLM05 โ Test for Improper Output Handling โ verify that LLM output is treated as untrusted input; test for XSS, SQLi, and command injection via model responses.
โก LLM06 โ Test for Excessive Agency โ verify that LLM-powered agents have minimum required permissions and confirm high-impact actions with the user.
๐ก๏ธ LLM07 โ Test for System Prompt Leakage โ attempt to extract the system prompt via direct or indirect techniques.
๐๏ธ LLM08 โ Test for Vector and Embedding Weaknesses โ test RAG pipelines for poisoned or adversarial documents that manipulate retrieval results.
๐ LLM09 โ Test for Misinformation โ verify outputs are grounded and the application includes appropriate disclaimers and human oversight.
๐ LLM10 โ Test for Unbounded Consumption โ verify rate limiting and cost controls on LLM API calls to prevent denial-of-wallet attacks.
๐งจ 14. Denial of Service
๐ณ๏ธ Test for resource exhaustion (CPU, memory, I/O).
โฑ๏ธ Verify rate limiting and throttling mechanisms.
๐งฎ Test for regex or SQL wildcard DoS (ReDoS).
๐ฆ Test oversized payload and file upload handling.
๐งพ 15. Reporting & Documentation
๐งญ Document all findings with WSTG IDs, risk level, and PoC.
๐๏ธ Map findings to OWASP Top 10 and OWASP API Security Top 10 (2023) categories.
๐งฐ Provide clear remediation steps and references.
๐ Store test results securely and restrict access.