Description-Behavior Mismatch
Medium
- Confidence
- 94% confidence
- Finding
- The script accepts an arbitrary --output path and writes search results there via path.resolve(outputDir) and fs.writeFileSync. In an agent setting, this broadens the skill from 'search Pinterest' into unrestricted local file writing, which can overwrite or place files in sensitive locations if an attacker can influence arguments or task construction.
