Back to skill

Security audit

Instagram Collector

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Instagram metrics collector that uses Apify as disclosed, with privacy and compliance considerations users should understand before use.

Install only if sending Instagram handles and related public profile/post data to Apify is acceptable for your organization. Confirm Apify terms, token scope, expected costs, and any Instagram scraping or privacy compliance requirements before using it in a production audit pipeline.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly sends Instagram handles and scraping requests to Apify, but it does not warn users that their input and requested profile data are transmitted to a third-party service. This creates a transparency and privacy issue because users may assume the skill operates locally or only within the primary platform, and organizations may unknowingly violate disclosure or data-handling requirements.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
86% confidence
Finding

The skill depends on an external endpoint at api.apify.com to perform profile scraping, which means user-supplied handles and requested profile data leave the local trust boundary. In context this is part of the intended functionality, but it still introduces third-party data exposure, compliance, availability, and supply-chain risk if not clearly disclosed and governed.

Content

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

md
## API Dependencies
- **API Name:** Apify Instagram Profile Scraper
- **Actor ID:** `apify~instagram-profile-scraper`
- **Endpoint:** `https://api.apify.com/v2/acts/apify~instagram-profile-scraper/runs`
- **Auth:** `APIFY_API_TOKEN` environment variable
- **Cost estimate:** ~$0.005 per run on Apify free/paid tier
- **Rate limits:** Depends on Apify plan; free tier allows limited concurrent runs

Static analysis

No suspicious patterns detected.