{"score":90,"grade":"A","scannedAt":"2026-12-05T23:05:23.466Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"wc3files","version":"0.6.4","license":"MIT","repository":"https://github.com/Bekhouche/wc3files","firstPublished":"2023-10-08T13:34:22.370157Z","lastPublished":"2026-11-25T10:45:35.322509Z","versions":24,"files":373,"bytes":30263784,"hosts":["us.forums.blizzard.com","www.hiveworkshop.com","www.lua.org"]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"src/wc3files/scripts/jass_vm.py","line":261,"snippet":"def eval(self, expr, frame):"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"src/wc3files/table/slk_file.py","line":183,"snippet":"Python literal, using ast.literal_eval rather than eval() - map files are untrusted"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"src/wc3files/table/slk_file.py","line":184,"snippet":"input, and eval() would execute arbitrary Python if a column header or cell value"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/wc3files/casc/storage.py","line":180,"snippet":"with open(dest_path, 'wb') as handle:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/wc3files/cli/main.py","line":89,"snippet":"with open(target, 'wb') as handle:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/wc3files/cli/main.py","line":198,"snippet":"with open(dest, 'wb') as handle:"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/wc3files/cli/main.py","line":2168,"snippet":"if os.environ.get('PYTHONIOENCODING'):"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Bekhouche/wc3files","title":"wc3files","description":"Read and edit Warcraft III maps, objects, triggers, scripts, models and replays. Edits are opt-in.","websiteUrl":"https://github.com/Bekhouche/wc3files/blob/main/docs/mcp.md","repository":"https://github.com/Bekhouche/wc3files","version":"0.6.4"}}