Back to skill

Security audit

indeed-research

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a normal Indeed job-search helper, but its bundled script can send undocumented request bodies to Crawlora beyond the stated GET-only job endpoints.

Review this before installing if your agent may handle private notes, credentials, or sensitive job-search context. Use it only for intended Indeed searches and job lookups, keep CRAWLORA_API_KEY protected, and avoid any POST or request-body use unless the publisher narrows the helper to the documented GET parameters.

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:32
Finding
Undocumented POST Capability Permits Unnecessary Transmission of Arbitrary Data<![CDATA[ ## Vulnerability Details **File Location**: `scripts/crawlora.sh`, lines 32–38, 48–53, and 92–99 **Vulnerability Type**: Excessive network capability and arbitrary request-body transmission **Risk Level**: Medium ### Vulnerable Code ```bash method="GET" body="" args=() while [ $# -gt 0 ]; do case "$1" in -X) method="$2"; shift 2 ;; -d) body="$2"; shift 2 ;; *) args+=("$1"); shift ;; esac done ``` ```bash case "$method" in GET|POST) ;; *) echo "only GET and POST are supported by the indeed-research skill" >&2 exit 2 ;; esac ``` ```bash 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 The endpoint contract in `reference/endpoints.md` defines all three allowlisted routes—`/indeed/job`, `/indeed/locations/suggest`, and `/indeed/search`—as GET endpoints. Nevertheless, the helper accepts `-X POST`, accepts an arbitrary body through `-d` or a positional argument, and sends that body to `https://api.crawlora.net/api/v1`. This capability is not required for the declared Indeed search functionality and therefore exceeds least privilege. Although the destination host and route set are fixed, an agent can still be induced to place private user content, credentials, or other sensitive text into the request body. The receiving service obtains the HTTP request even if it subsequently rejects the unsupported method. The script does include useful protections: it fixes the API host, restricts paths, rejects curl `@file` query syntax, validates the API-key alphabet, and keeps the API key out of the process command line. It does not independently read arbitrary files through the body path. Exp ...[truncated 1578 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Remove support for `-X`, `-d`, POST requests, and arbitrary JSON request bodies because the documented endpoint catalog is entirely GET-only. 2. Set the method internally to GET rather than allowing callers to choose it. 3. Reject method-like options and unexpected positional arguments. 4. Add endpoint-specific parameter allowlists: - `/indeed/job`: `jk` - `/indeed/locations/suggest`: `q`, `limit` - `/indeed/search`: `q`, `l`, `radius`, `fromage`, `sort`, `page` 5. Validate documented formats and ranges, including the 16-character hexadecimal job key, numeric pagination and radius fields, and the `relevance`/`date` sort enumeration. 6. Retain the existing fixed HTTPS origin, route allowlist, API-key validation, private temporary configuration file, and rejection of curl file-upload syntax. 7. Add regression tests confirming that POST, `-d`, unknown parameters, unsupported paths, and malformed values are rejected before any network request occurs. A minimal hardening approach is: ```bash method="GET" while [ $# -gt 0 ]; do case "$1" in -X|-d) echo "custom methods and request bodies are not supported" >&2 exit 2 ;; *) args+=("$1") shift ;; esac done ``` ]]>
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 (9)

Lp3

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding
The skill documents shell execution via `scripts/crawlora.sh` but does not declare any tool scope restrictions such as `permissions` or `allowed-tools`. That mismatch can let an agent invoke broader shell capabilities than the skill actually needs, increasing the blast radius if prompt injection or parameter abuse occurs.

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
82% confidence
Finding
This markdown file explicitly instructs use of the `x-api-key: $CRAWLORA_API_KEY` header, which involves sensitive credentials. The endpoint reference does not include any warning about protecting the API key, avoiding accidental disclosure, or the fact that requests transmit data to an external service.

Static analysis

No suspicious patterns detected.