apify-trend-analysis
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external, third-party social media platforms (Instagram, Facebook, YouTube, TikTok, etc.) which can contain malicious instructions embedded by an attacker.
- Ingestion Point: The script
reference/scripts/run_actor.jsretrieves data from Apify datasets using thedownloadResultsanddisplayQuickAnswerfunctions. - Capability Inventory: The skill has the capability to execute a Node.js script that performs network requests and writes results to the local filesystem.
- Boundary markers: There are no explicit boundary markers or instructions to the agent to disregard instructions found within the downloaded data.
- Sanitization: While the script implements protections against spreadsheet formula injection (CSV injection), it does not sanitize the text content for potential prompt injection patterns before the agent processes it.
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a local Node.js script with parameters derived from user input.
- Evidence: Multiple examples in
SKILL.md(Step 4) demonstrate the use ofnode --env-file=.envto run the analysis script. - The script
reference/scripts/run_actor.jsimplements defensive measures such as regular expression validation for Actor IDs (/^[a-zA-Z0-9_-]+(?:[\/~][a-zA-Z0-9_-]+)?$/) and strict JSON parsing of input to mitigate the risk of command injection.
Audit Metadata