scan
Scan source for vulnerabilities
Scan a file or directory for security vulnerabilities with Frame. Runs taint analysis plus separation logic verification and returns the findings as JSON. Set ``ai=True`` to add the LLM detection and triage layer (needs the FRAME_LLM_* environment variables). ``changed_ref`` scans only files that differ from a git ref; ``files`` restricts the scan to a list of files; ``baseline`` reports only findings absent from a baseline file; ``packs`` loads extra framework packs. ``hunt_authz=True`` adds the agentic authorization hunt (IDOR, missing authorization, privilege escalation; needs a model): every handler gets a verdict, and the result's ``hunt`` section lists how it ended and what it left unresolved. A hunt runs one agent per group of handlers and can take hours on a large application; it is bounded by its step budgets, not by a timeout. This tool does not modify any files.
aipath必填rootfilespacksfail_onbaselinelanguagehunt_authzchanged_refmin_severityno_cross_file