Back to skill

Security audit

TikTok Creator Research

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed TikTok creator-research helper that sends user-directed requests to Crawlora and does not show hidden persistence, destructive behavior, or unrelated data access.

Install only if you are comfortable sending TikTok research queries, request bodies, and your Crawlora API key to Crawlora. Use a scoped Crawlora key, avoid running it in an environment with untrusted curl configuration, and review the requested endpoint path before executing the helper.

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
scripts/crawlora.sh:71
Finding
Curl Startup Configuration Can Override Authenticated Request Security<![CDATA[ ## Vulnerability Details **File Location**: `scripts/crawlora.sh`, lines 71–101 **Vulnerability Type**: Untrusted curl startup configuration **Risk Level**: Medium ### Vulnerable Code ```sh # Keep the API key out of the curl process command line. A private temporary # config supplies the header and is removed automatically on exit. curl_config="$(mktemp "${TMPDIR:-/tmp}/crawlora-curl.XXXXXX")" chmod 600 "$curl_config" trap 'rm -f "$curl_config"' EXIT printf 'header = "x-api-key: %s"\n' "$CRAWLORA_API_KEY" >"$curl_config" auth=(--config "$curl_config") if [ "$method" = "GET" ]; then # -G + --data-urlencode URL-encodes each value (so spaces etc. are safe). qs=() for kv in ${rest[@]+"${rest[@]}"}; do [ -n "$kv" ] || continue # curl treats both @file and name@file forms as local-file input for # --data-urlencode. Reject @ outright so query arguments cannot disclose # local files to the Crawlora API. case "$kv" in *@*) echo "@ is not allowed in query arguments" >&2; exit 2 ;; esac qs+=(--data-urlencode "$kv") done curl -fsS -G "${auth[@]}" ${qs[@]+"${qs[@]}"} "${base}${path}" else [ -n "$body" ] || body="${rest[0]:-}" [ -n "$body" ] || body='{}' # Stream the body on stdin so curl never interprets a user value as its # @file shorthand (and cannot read local files supplied in a request body). printf '%s' "$body" | curl -fsS -X "$method" "${auth[@]}" \ -H "Content-Type: application/json" --data-binary @- "${base}${path}" fi ``` ### Technical Analysis Curl normally loads its default startup configuration, such as the invoking user's `.curlrc`, before processing command-line arguments. The script does not place `-q` or `--disable` as the first curl argument, so settings from that external configuration remain active. Although the API base URL is hardcoded, a malicious startup configuration can influence security-sensitive behavior such as proxy selection, hostname resolution, TLS certificate verif ...[truncated 1884 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Disable curl's automatic startup configuration by making `-q` the first argument in every curl invocation: ```sh curl -q -fsS -G "${auth[@]}" \ ${qs[@]+"${qs[@]}"} "${base}${path}" ``` ```sh printf '%s' "$body" | curl -q -fsS -X "$method" "${auth[@]}" \ -H "Content-Type: application/json" \ --data-binary @- "${base}${path}" ``` 2. Run the helper in a controlled environment and clear curl-related configuration variables where practical. 3. Preserve strict TLS verification. Do not allow `--insecure`, attacker-controlled proxy settings, or untrusted hostname-resolution overrides. 4. Consider adding explicit connection controls, such as an HTTPS-only protocol policy and restricted redirect behavior: ```sh --proto '=https' --proto-redir '=https' --max-redirs 0 ``` 5. Add an automated regression test using a malicious temporary `.curlrc` and verify that its proxy, TLS, and additional-transfer directives are ignored. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (10)

Lp3

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding
The skill instructs use of a shell helper but does not declare any explicit tool scope or allowed-tools boundary. That increases the risk that an agent runtime may permit broader shell execution than necessary, making accidental command execution, unsafe parameter handling, or misuse of local environment data more likely.

External Transmission

Medium
Category
Data Exfiltration
Content
#!/usr/bin/env bash
# Crawlora REST helper — minimal, dependency-free (curl only).
# Calls https://api.crawlora.net/api/v1 with your Crawlora API key.
# Get a free key (2,000 credits/mo, no card) at https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills.
#
Confidence
70% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
#!/usr/bin/env bash
# Crawlora REST helper — minimal, dependency-free (curl only).
# Calls https://api.crawlora.net/api/v1 with your Crawlora API key.
# Get a free key (2,000 credits/mo, no card) at https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills.
#
# Usage:
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
#!/usr/bin/env bash
# Crawlora REST helper — minimal, dependency-free (curl only).
# Calls https://api.crawlora.net/api/v1 with your Crawlora API key.
# Get a free key (2,000 credits/mo, no card) at https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills.
#
# Usage:
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
#!/usr/bin/env bash
# Crawlora REST helper — minimal, dependency-free (curl only).
# Calls https://api.crawlora.net/api/v1 with your Crawlora API key.
# Get a free key (2,000 credits/mo, no card) at https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills.
#
# Usage:
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
#!/usr/bin/env bash
# Crawlora REST helper — minimal, dependency-free (curl only).
# Calls https://api.crawlora.net/api/v1 with your Crawlora API key.
# Get a free key (2,000 credits/mo, no card) at https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills.
#
# Usage:
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
# Keep the API key out of the curl process command line. A private temporary
# config supplies the header and is removed automatically on exit.
curl_config="$(mktemp "${TMPDIR:-/tmp}/crawlora-curl.XXXXXX")"
chmod 600 "$curl_config"
trap 'rm -f "$curl_config"' EXIT
printf 'header = "x-api-key: %s"\n' "$CRAWLORA_API_KEY" >"$curl_config"
auth=(--config "$curl_config")
Confidence
80% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

External Transmission

Medium
Category
Data Exfiltration
Content
[ -n "$body" ] || body='{}'
  # Stream the body on stdin so curl never interprets a user value as its
  # @file shorthand (and cannot read local files supplied in a request body).
  printf '%s' "$body" | curl -fsS -X "$method" "${auth[@]}" \
    -H "Content-Type: application/json" --data-binary @- "${base}${path}"
fi
Confidence
70% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Low
Confidence
81% confidence
Finding
This markdown file documents calls to an external API and explicitly requires the `x-api-key: $CRAWLORA_API_KEY` header, which implies both network transmission and use of sensitive credentials. The description does not include any warning about sending data to a third-party service or handling the API key, which is the kind of user disclosure expected for markdown files describing privacy- or system-relevant behavior.

Missing User Warnings

Low
Confidence
77% confidence
Finding
This shell script performs outbound HTTP requests to the Crawlora API using the user's API key, but the runtime code path has no confirmation prompt or user-facing log when transmitting data. Although the header comments describe the API usage, there is no visible notice at execution time that request parameters or JSON bodies are being sent off-host.

Static analysis

No suspicious patterns detected.