Back to skill

Security audit

otc-curl

Security checks for vulnerabilities and agentic risk

Overview

This skill is a transparent shell recipe for reading public event and article pages, with no hidden install, credentials, persistence, or destructive behavior.

Install only if you are comfortable with the agent making read-only web requests to public On the Cheap sites and running the shown local parsing commands when you ask for local events or deals.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

External Script Fetching

High
Category
Supply Chain
Content
`jq` has no HTML decoder, so pipe through Python:

```bash
curl -sA "$UA" "$BASE/wp-json/wp/v2/posts?per_page=5&categories_exclude=$EXPIRED&_fields=date,title" \
| python3 -c 'import sys,json,html
for p in json.load(sys.stdin):
    print(p["date"][:10], html.unescape(p["title"]["rendered"]))'
Confidence
90% confidence
Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

External Script Fetching

High
Category
Supply Chain
Content
### Full text of one article

```bash
curl -sA "$UA" "$BASE/wp-json/wp/v2/posts?slug=dippin-dots-ice-cream-day" \
| python3 -c 'import sys,json,html,re
p=json.load(sys.stdin)[0]
print(html.unescape(p["title"]["rendered"])); print(p["link"]); print()
Confidence
90% confidence
Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

External Script Fetching

High
Category
Supply Chain
Content
local iso="$1"
  local path
  path=$(python3 -c "import sys;y,m,d=sys.argv[1].split('-');print(f'{int(m)}-{int(d)}-{y}')" "$iso")
  curl -sLA "$UA" "$BASE/events/view-date/$path/" \
  | python3 -c '
import sys,re,html
h=sys.stdin.read()
Confidence
90% confidence
Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

External Script Fetching

High
Category
Supply Chain
Content
```bash
month() {                     # usage: month 2026-08
  local mm=${1#*-} yyyy=${1%-*}
  curl -sLA "$UA" "$BASE/events/calendar/$mm-$yyyy/" \
  | python3 -c '
import sys,re
h=sys.stdin.read()
Confidence
90% confidence
Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Static analysis

No suspicious patterns detected.