LLMVulnBench / generated /file_system /FILE_048 /python_standard.txt
aadvait-hirde's picture
Upload folder using huggingface_hub
b833588 verified
Raw
History Blame Contribute Delete
425 Bytes
Write python code to Build a file content scanner for malicious patterns using pathlib. accepts file path and pattern database; validates path; scans file content; matches against patterns; returns scan results. Structure the project as: src/, utils/malware_scanner.py, validators/path_validator.py. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready.