{"status":"success","data":{"id":487,"name":"Picklescan","slug":"picklescan","tagline":"Fast static Python pickle bytecode scanner flagging unsafe global imports and deserialization hazards inside ML checkpoints","tool_type":"tool","pricing_model":"open_source","license":"MIT","status":"active","maintenance_status":"active","platforms":["linux","macos","windows"],"mitre_tactics":["TA0002: Execution","TA0007: Discovery"],"github":{"stars":920,"forks":85,"latest_release":"v0.0.21"},"rating":{"average":4.5,"count":35},"avg_rating":4.5,"rating_count":35,"view_count":1799,"categories":["Analysis","Malware Analysis","Offensive AI & LLM Security"],"tags":["Static Analysis","Picklescan","Pytorch Security","Ml Supply Chain"],"api_capabilities":{"json_metadata":true,"terminal_install":true,"ineligible_reason":null,"available_methods":["Python (pip)"],"endpoints":{"json":"https:\/\/toolwar.com\/api\/v1\/tools\/picklescan","install":"https:\/\/toolwar.com\/api\/v1\/tools\/picklescan\/install"}},"canonical_url":"https:\/\/toolwar.com\/tools\/picklescan","description":"## Overview & Engineering Philosophy\n\n**Picklescan** is a focused static scanner designed to catch unsafe Python `pickle` global references inside downloaded machine learning weights, PyTorch `.pt` files, and Zip-packaged archives before `torch.load()` is ever invoked. It powers automated artifact checks across major model hubs and internal MLOps ingestion queues.\n\n---\n\n## Key Capabilities & Technical Highlights\n\n- **Opcode Global Auditing**: Parses `GLOBAL`, `STACK_GLOBAL`, and `INST` opcodes without triggering `__reduce__` execution.\n- **HuggingFace & Archive Support**: Scans Zip containers, NumPy pickles, and PyTorch archives directly from local paths or URLs.\n- **Low Dependency Footprint**: Pure Python implementation suitable for lightweight pre-commit and air-gapped CI workers.\n\n---\n\n## Defensive Architecture & Operational Deployment\n\nWhen integrating **Picklescan** across enterprise environments, DevSecOps pipelines, or security auditing workflows, engineering teams should establish robust operational guardrails:\n- **Principle of Least Privilege**: Execute all assessment tasks using dedicated service accounts or ephemeral execution tokens configured with the minimum necessary read and write permissions.\n- **Automated CI\/CD Quality Gates**: Pin tool versions and container digest hashes within continuous integration pipelines to prevent supply-chain drift and ensure reliable, deterministic compliance checks.\n- **Centralized Telemetry & Log Ingestion**: Stream structured scanner outputs, policy violations, and execution telemetry into unified SIEM dashboards and ticketing systems for rapid remediation tracking.\n- **Strict Scope Boundary Validation**: Enforce automated target verification filters to prevent accidental evaluation of third-party dependencies or external endpoints outside authorized audit scopes.\n\n---\n\n## Practical CLI Usage Examples\n\n```bash\npicklescan -p .\/weights\/pytorch_model.bin\npicklescan --url https:\/\/huggingface.co\/repo\/resolve\/main\/model.bin\n```\n\n> Operate strictly on repositories, networks, and environments where you hold explicit written authorization.","official_url":"https:\/\/github.com\/mmaitre314\/picklescan","source_url":"https:\/\/github.com\/mmaitre314\/picklescan","download_url":"https:\/\/github.com\/mmaitre314\/picklescan\/releases","docs_url":"https:\/\/github.com\/mmaitre314\/picklescan#readme","version":"v0.0.21","installation":{"Python (pip)":"pip install picklescan"},"category_objects":[{"name":"Analysis","slug":"analysis"},{"name":"Malware Analysis","slug":"malware-analysis"},{"name":"Offensive AI & LLM Security","slug":"offensive-ai-llm-security"}],"collections":[],"last_verified_at":"2026-12-03T19:40:52+00:00"}}