{"score":90,"grade":"A","scannedAt":"2026-12-05T23:09:16.978Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"photo-s-tools","version":"1.4.2","license":"MIT","firstPublished":"2026-08-12T18:21:16.411324Z","lastPublished":"2026-08-15T04:11:20.978395Z","versions":26,"files":76,"bytes":1095877,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"photo_s/bench.py","line":163,"snippet":"shutil.rmtree(tmpdir, ignore_errors=True)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"photo_s/check.py","line":119,"snippet":"with open(path, \"w\", newline=\"\", encoding=\"utf-8\") as f:"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"photo_s/config.py","line":115,"snippet":"for home in (os.environ.get(\"XDG_CONFIG_HOME\"),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"photo_s/dedup.py","line":217,"snippet":"shutil.move(dup, str(dest))"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"photo_s/engine.py","line":588,"snippet":"subprocess.run("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"photo_s/engine.py","line":770,"snippet":"subprocess.run("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"photo_s/engine.py","line":921,"snippet":"subprocess.run("},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"photo_s/gui.py","line":116,"snippet":"env = os.environ.get(\"PHOTOS_DARK\")"},{"rule":"network","severity":"info","title":"Makes network requests","file":"photo_s/modelstore.py","line":14,"snippet":"Stdlib only (urllib.request) — matches the project's no-heavy-deps stance."},{"rule":"network","severity":"info","title":"Makes network requests","file":"photo_s/modelstore.py","line":22,"snippet":"import urllib.request"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"photo_s/modelstore.py","line":49,"snippet":"env = os.environ.get(\"PHOTOS_CACHE_DIR\")"},{"rule":"network","severity":"info","title":"Makes network requests","file":"photo_s/modelstore.py","line":150,"snippet":"req = urllib.request.Request("}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Dongwu259/photo-s","title":"PhotoS","description":"Batch photo processing: compress, convert, EXIF, rename, dedup, cull, galleries","repository":"https://github.com/Dongwu259/photo_s","version":"1.4.2"}}