Back to skill

Security audit

finding-hospitality-brands-on-instagram

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Apify Instagram-scraping guide whose network and file-output behavior matches its stated prospecting purpose.

Before installing, confirm you are comfortable sending the chosen Instagram URLs and scrape parameters to Apify, protect APIFY_TOKEN as a secret, avoid unnecessary sensitive target lists, and store exported CSV/JSON results according to your privacy and compliance obligations.

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 (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill instructs users to send data to a third-party service (Apify) and to export results to local CSV/JSON files, but it does not warn about data disclosure, token handling, retention, or compliance implications of scraping and storing social-media data. In a prospecting-oriented skill, this omission can lead users to transmit sensitive target lists or credentials externally without informed consent or safeguards.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
92% confidence
Finding

The curl example performs an authenticated POST to api.apify.com using a bearer token, which is a clear external data transmission to a third-party platform. While expected for this integration, it is still security-relevant because users may provide business-sensitive search targets or operational metadata and may not realize the data leaves their environment.

Content

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

REST API fallback

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
92% confidence
Finding

The curl example performs an authenticated POST to api.apify.com using a bearer token, which is a clear external data transmission to a third-party platform. While expected for this integration, it is still security-relevant because users may provide business-sensitive search targets or operational metadata and may not realize the data leaves their environment.

Content

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

REST API fallback

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/explore/tags/boutiquehotel/"], "maxItems": 100}'

Static analysis

No suspicious patterns detected.