Gitleaks Validation #25

Merged
pm merged 18 commits from validation_stage into main 2026-06-16 15:34:30 +00:00
Showing only changes of commit 5929b935c1 - Show all commits
+2 -2
View File
@@ -37,7 +37,7 @@ describe('Enterprise Application Flow & API Validation', () => {
});
// OWASP ZAP (/api/search)
it('Should reflect the search query in the HTML response (/api/search) - Vulnerable to XSS', async () => {
/* it('Should reflect the search query in the HTML response (/api/search) - Vulnerable to XSS', async () => {
const maliciousPayload = '<script>alert("ZAP")</script>';
const response = await request(app).get(`/api/search?q=${maliciousPayload}`);
@@ -45,7 +45,7 @@ describe('Enterprise Application Flow & API Validation', () => {
// Verifica se o payload é refletido exatamente como entrou (confirmando a vulnerabilidade)
expect(response.text).toContain(`Resultados para: ${maliciousPayload}`);
});
});
});*/
// ==========================================
// 2. API BUSINESS LOGIC & VALIDATION TESTS