Back to skill

Security audit

Instagram Collector Adarsh

Security checks for vulnerabilities and agentic risk

Overview

This skill is a narrowly scoped Instagram data collector that clearly uses Apify, with no hidden execution, persistence, or unrelated access found.

Before installing, confirm you are comfortable sending Instagram handles to Apify under your Apify account and that your APIFY_API_TOKEN is stored as an environment variable. Review Apify costs, rate limits, logging, and data-retention terms, especially if handles relate to customers or private business audits.

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
95% confidence
Finding

The skill explicitly sends Instagram handles and derived profile data to Apify, a third-party scraping service, but the description does not warn users about this external transmission. This creates a transparency and privacy risk because operators may unknowingly disclose user-supplied identifiers and collected data to an external processor, which may have its own logging, retention, and compliance posture.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
90% confidence
Finding

The skill depends on an external API endpoint at api.apify.com to process supplied Instagram handles, which means data leaves the local trust boundary. In context this appears intentional and necessary for the feature, but it is still a real security/privacy concern if users are not informed and if the integration lacks data minimization, vendor review, or egress controls.

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.