lov-upload-image
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/upload_image.pyexecutes the PicGo CLI or a user-specified binary via thePICGO_BINenvironment variable using thesubprocess.runmethod to perform image uploads. - Evidence: The script constructs a command list starting with the binary path and arguments before passing it to
subprocess.run. - [INDIRECT_PROMPT_INJECTION]: The skill processes Markdown files provided by the user, creating an attack surface for indirect prompt injection where malicious instructions could be embedded within the document content.
- Ingestion points: Markdown content is read directly from local files in
scripts/upload_image.py. - Boundary markers: No specific delimiters or safety warnings are used when interpolating file content into the agent's context.
- Capability inventory: The skill has the ability to read and write to the local filesystem and perform network operations via PicGo or its verification routine.
- Sanitization: The script uses regular expressions to extract image paths, distinguishing between local and remote references to minimize unintended processing.
- [EXTERNAL_DOWNLOADS]: The skill performs network requests to verify that the URLs returned by the PicGo backend are reachable and valid.
- Evidence: The
verify_urlfunction inscripts/upload_image.pyutilizesurllib.request.urlopento make HTTP HEAD and GET (ranged) requests to external URLs generated during the upload process.
Audit Metadata