Back to skill

Security audit

monitoring-vc-investor-activity-on-twitter

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Apify-based Twitter monitoring guide, with token-handling privacy risks users should understand.

Before installing, confirm you are comfortable sending Twitter search terms and retrieved results through Apify/apidojo services. Use a dedicated least-privilege Apify token if possible, avoid putting tokens in URL query strings or shared logs, keep any .env file out of source control, and treat saved CSV/JSON outputs as potentially sensitive research data.

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 Parameters

Content
View full analysis
Remediation
View remediation
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 (4)

External Transmission

Medium
Category
Data Exfiltration
Confidence
91% confidence
Finding

This command sends user-provided search terms and an API token to a third-party endpoint. While expected for this skill's purpose, it creates a real external data transmission path and could expose sensitive queries or credentials if users run it without understanding that data leaves the local environment.

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~tweet-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": ["investing in [SECTOR]", "excited about [SECTOR]", "looking for [SECTOR] startups", "portfolio company [SECTOR]"], "maxItems": 100}'

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 100)May include surrounding context.

REST API fallback:

bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~tweet-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": ["investing in [SECTOR]", "excited about [SECTOR]", "looking for [SECTOR] startups", "portfolio company [SECTOR]"], "maxItems": 100}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
89% confidence
Finding

Fetching dataset items from the Apify endpoint is another explicit external transmission that returns scraped data and includes the API token in the request URL. This can leak access tokens through shell history, logs, or monitoring systems and normalizes sending retrieved data through a third-party service without prominent disclosure.

Content

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

Wait for SUCCEEDED. Fetch dataset:

bash
curl "https://api.apify.com/v2/actor-runs/$RUN_ID/dataset/items?token=$APIFY_TOKEN"

Step 3: Classify Results

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

This markdown file documents use of an APIFY_TOKEN credential and later instructs users to run a remote Tweet scraper and save results to local files, but it does not clearly warn that queries and retrieved data are sent to a third-party service and may be written to disk. Under the markdown-specific missing-warning rule, behaviors affecting privacy or local data handling should be disclosed explicitly.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.