Skip to content

test: add unrestricted file-upload fixture (CWE-434) - #178

Merged
ralyodio merged 3 commits into
profullstack:masterfrom
ezequiellich44-cmd:cwe-434-file-upload
Aug 18, 2026
Merged

test: add unrestricted file-upload fixture (CWE-434)#178
ralyodio merged 3 commits into
profullstack:masterfrom
ezequiellich44-cmd:cwe-434-file-upload

Conversation

@ezequiellich44-cmd

Copy link
Copy Markdown
Contributor

Adds a Python test case for CWE-434 (unrestricted upload of a dangerous file type) with an allow-list safe counterpart. Catalog regenerated; corpus safety checks pass.

ezequiellich44-cmd and others added 3 commits August 17, 2026 14:05
# Conflicts:
#	docs/VULNERABILITY_CATALOG.md
#	vulns/VULNERABILITY_CATALOG.json
The generated catalog conflicted with CWE-640 (profullstack#177): both sides insert
into the same sorted CWE list and bump the same count. Resolved by
regenerating with scripts/generate-catalog.py rather than by hand, so the
index matches the sources instead of either side of the conflict.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio merged commit cafdd7f into profullstack:master Aug 18, 2026
5 checks passed
ralyodio added a commit to ezequiellich44-cmd/malware-test-prs that referenced this pull request Aug 18, 2026
The generated catalog conflicted with CWE-640 (profullstack#177) and CWE-434 (profullstack#178):
every test-case PR rewrites the same sorted CWE list and count, so any two
open at once collide. Resolved by regenerating with
scripts/generate-catalog.py rather than by hand, so the index matches the
sources instead of either side of the conflict.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ralyodio added a commit to ezequiellich44-cmd/malware-test-prs that referenced this pull request Aug 18, 2026
The generated catalog conflicted with CWE-640 (profullstack#177), CWE-434 (profullstack#178) and
CWE-620 (profullstack#179): every test-case PR rewrites the same sorted CWE list and
count, so any two open at once collide. Resolved by regenerating with
scripts/generate-catalog.py rather than by hand, so the index matches the
sources instead of either side of the conflict.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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