Back to skill

Security audit

scraping-instagram-location-content

Security checks for vulnerabilities and agentic risk

Overview

This skill is purpose-aligned but needs review because it enables Instagram location scraping for visitor/creator profiling and documents an avoidable Apify token-in-URL pattern.

Review this before installing if you plan to use it for people-related discovery, outreach, or UGC reuse. Use it only for lawful, platform-compliant analysis of public content, get permission before republishing content or contacting creators, and prefer an Authorization header or MCP/helper flow over the documented token-in-query curl fallback.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:98
Finding

Apify API Token Exposed Through URL Query Parameter

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation text contains many broad trigger phrases such as finding posts from a location, monitoring guests, discovering creators, and building UGC libraries, without clear limitations or consent boundaries. This increases the chance the skill will be invoked for privacy-sensitive scraping and outreach workflows in contexts the user did not explicitly intend, especially when paired with downstream collection of usernames, captions, and engagement data.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill promotes collecting public Instagram content for UGC reuse, influencer discovery, and outreach, but does not warn users about privacy, consent, copyright, platform terms, or reputational risks. Without such guidance, users may treat public availability as permission to profile creators or repurpose their content, creating legal and ethical exposure.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 98)May include surrounding context.

REST API fallback:

bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~instagram-location-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 99)May include surrounding context.

REST API fallback:

bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~instagram-location-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "locationIds": ["[LOCATION_ID]"],