xianyu-data-grabber
Fail
Audited by Gen Agent Trust Hub on Mar 29, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
INSTALL.mdfile recommends an installation method usingcurl | bashwith a remote URL, which is a high-risk pattern that executes arbitrary code from a remote source without verification. - [REMOTE_CODE_EXECUTION]: The
update.shscript implements a self-update mechanism that downloads a ZIP archive from a remote Gitee repository, extracts it, and overwrites the entire skill's source directory at runtime. This allows for arbitrary remote code execution if the source repository is compromised. - [COMMAND_EXECUTION]: Multiple scripts (
run.sh,install.sh,cron-setup.sh,uploader.sh) perform extensive shell command execution to manage system packages, Python/Node dependencies, and Git operations. Thegrabber-enhanced.jsfile also usesexecSyncto invoke Python OCR scripts. - [DATA_EXFILTRATION]: The
uploader.shscript is designed to automate the transfer of scraped data and screenshots to an external Gitee repository. It uses a sensitive Gitee access token directly in the repository URL duringgit push, which may expose credentials in process lists or logs. - [PERSISTENCE]: The
cron-setup.shandinstall.shscripts automatically install persistent tasks into the system's crontab. These tasks are configured to run scraping, visualization, and upload operations daily and weekly in the background. - [PROMPT_INJECTION]: The skill scrapes product information from the Xianyu (Goofish) marketplace. This untrusted content is incorporated into Markdown and HTML reports without any sanitization or boundary markers, creating a surface for indirect prompt injection if an LLM later processes these reports.
- [DYNAMIC_EXECUTION]: The
visualize.pyscript utilizes dynamic module loading via__import__('datetime')within a string template, which is a form of dynamic execution that can be risky if the input to the template is not strictly controlled.
Recommendations
- AI detected serious security threats
Audit Metadata