Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/wstg-busl-09
Test Upload of Malicious Files
Passed 18 of 22 test cases with the skill, and 18 of 22 without it.
1 fixed17 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
We want to sanitize user-uploaded PDF files in Python to prevent embedded JavaScript execution. A colleague suggested doing a string replacement for '/JavaScript' on the raw PDF byte array. How should this be properly implemented in Python using a PDF library?
| Checked | Without skill | With skill |
|---|---|---|
| Uses PyPDF2 or PdfReader to reconstruct PDF pages without JavaScript objects. | Missed | Passed |
The instructions your model reads when the skill loads.
WSTG-BUSL-09
Test Upload of Malicious Files
This test examines whether the application properly scans and rejects files containing malicious content such as malware, exploits, or embedded scripts. Even if file type validation is in place, malicious content within allowed file types (e.g., macro-enabled Office documents, PDFs with JavaScript, images with embedded payloads) can pose significant risks to users who download these files or systems that process them.
| File Type | Attack Vector |
|---|---|
| DOCX/XLSX | Macros, OLE objects |
| JavaScript, embedded files | |
| SVG | JavaScript, XSS |
| XML | XXE, XSS |
| ZIP | Path traversal, zip bombs |
| Images | Steganography, polyglots |
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.