image-local-replacer

Pass

Audited by Gen Agent Trust Hub on Aug 24, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/apply_local_replacements.py uses user-provided file paths from a JSON configuration file without sufficient sanitization. The file field in the configuration is joined directly to the input_root and output_dir using the / operator (pathlib), which allows for path traversal (e.g., using ../../) to read or overwrite image files outside the intended scope.
  • [REMOTE_CODE_EXECUTION]: No remote code execution patterns or suspicious downloads were detected. The skill uses the well-known Pillow library for image processing.
  • [DATA_EXFILTRATION]: No network operations or data exfiltration patterns were found. The skill operates exclusively on local files.
  • [PROMPT_INJECTION]: The instructions in SKILL.md are descriptive and do not contain attempts to override agent safety guidelines or bypass system prompts.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 24, 2026, 06:04 AM
Security Audit — agent-trust-hub — image-local-replacer