Back to skill

Security audit

hellofresh-fpx

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because its refresh instructions appear to go beyond reading data, and the executable script was only partially inspected.

Consider avoiding installation until the executable script can be fully inspected and the refresh-and-cookie-write workflow is clarified or removed. The verdict is suspicious, not malicious; the available scan is incomplete, so it does not establish that the skill is safe.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (9)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
line): `scripts/hf-token.mjs` decodes the cookie into `auth.json` and a one-line

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- `hf-token.mjs` exits `4` when the cookie holds no session (signed out) or a

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

text

`hf-token.mjs load` prints (to stderr) how many minutes the token has left. The
access token lives 30 minutes. When it has expired: **reload the hellofresh.com
tab** (the web app refreshes itself) and run the two lines above again. Only if
that doesn't help, refresh from the shell and write the new set back — the
refresh token ROTATES on every refresh, so skipping the write-back signs the

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
refresh was refused, `64` on bad usage.
- `fpx` exits `2` when the bridge is down or the tab/pairing is missing.

Never paste token values into chat, commits or issues. `rm ~/.hellofresh-fpx/{cookie.json,auth.json,auth.header,refreshed.json,cookie.txt,calc-*.json}` clears them.

Every recipe here was run live in both bash and zsh on 2026-11-12.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/hf-token.mjs (reported line 69)May include surrounding context.

js
const left = Math.round((set.issued_at + set.expires_in - Date.now() / 1000) / 60);
  process.stderr.write(
    left > 1
      ? `hf-token: access token valid for ${left} min\n`
      : 'hf-token: access token expired — reload the hellofresh.com tab and run load again, or refresh (references/requests.md)\n',
  );
}

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/hf-token.mjs (reported line 70)May include surrounding context.

js
process.stderr.write(
    left > 1
      ? `hf-token: access token valid for ${left} min\n`
      : 'hf-token: access token expired — reload the hellofresh.com tab and run load again, or refresh (references/requests.md)\n',
  );
}

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · references/requests.md (reported line 160)May include surrounding context.

fork the session.

sh
code=$(curl -sS -o "$S/refreshed.json" -w '%{http_code}' -X POST \
  'https://www.hellofresh.com/gw/refresh?country=us&locale=en-US' \
  -H 'content-type: application/json' --data-binary @<(jq -c '{refresh_token}' "$S/auth.json"))
echo "refresh: HTTP $code" >&2

The refresh recipe rotates authentication credentials and overwrites the browser cookie, exceeding the manifest's read-once session-token workflow.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest describes reading HelloFresh data using a session token read once from the signed-in tab. This recipe instead submits a refresh token to rotate credentials, stores the replacement credentials, and writes a new authentication cookie into the browser. This changes the user's authentication state rather than merely reading meal-kit data; the surrounding documentation explicitly warns that competing refreshers can disrupt the session.

Content

No source excerpt is available for this finding.