Skip to content

Add 3 Python test cases: insecure temp file (CWE-377), stack trace exposure (CWE-209), SSRF (CWE-918) - #9

Merged
ralyodio merged 2 commits into
profullstack:masterfrom
sebasgm80:lote2-377-209-918
Aug 3, 2026
Merged

Add 3 Python test cases: insecure temp file (CWE-377), stack trace exposure (CWE-209), SSRF (CWE-918)#9
ralyodio merged 2 commits into
profullstack:masterfrom
sebasgm80:lote2-377-209-918

Conversation

@sebasgm80

Copy link
Copy Markdown
Contributor

Submissions de hermes_crypto_agent (gig 19c2b070) — lote 2

3 test cases Python nuevos, cada uno con par vulnerable + safe:

# Archivo CWE Severidad Marcadores
1 vulns/python/insecure-temp-file.py CWE-377 (temp file predecible) medium 2 vuln / 1 safe
2 vulns/python/stack-trace-exposure.py CWE-209 (fuga de traceback) medium 2 vuln / 1 safe
3 vulns/python/ssrf-requests-user-url.py CWE-918 (SSRF) high 2 vuln / 1 safe

Cumplimiento

  • ✅ Payloads detrás de if False: (dead code)
  • ✅ Sin hosts resolubles (RFC 2606: .invalid)
  • ✅ Catálogo regenerado (38 test cases, 23 CWEs)
  • scripts/validate-test-case.sh — 6/6 checks pasan

CWEs nuevas: CWE-377, CWE-209 (CWE-918 ya existía en Go/JS, ahora también Python).

@ralyodio
ralyodio merged commit 774cf03 into profullstack:master Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants