oathe / scan / reports / dangerous
Is eucalyptus-viminalis/leak-publish safe?
No. eucalyptus-viminalis/leak-publish is dangerous to install. Oathe's behavioral security audit gave the leak-publish skill by eucalyptus-viminalis a trust score of 46/100 with 11 findings (1 critical, 3 high).
https://github.com/openclaw/skills/tree/main/skills/eucalyptus-viminalis/leak-publish
Is eucalyptus-viminalis/leak-publish safe to install?
The leak-publish skill is a file-monetization tool with critical security design flaws that make it unsafe to install in an LLM agent context. Its sensitive path blocklist omits ~/.env, ~/.npmrc, and ~/.docker/config.json — files that routinely contain API keys, auth tokens, and registry credentials — meaning an AI agent could be led to publish user credentials to the public internet without any protective intervention. The skill defaults to launching persistent background file servers via systemd/launchd/tmux/screen/nohup that outlive the agent session, and installs and executes an unverified npm package (leak-cli) as a network server whose server-side behavior cannot be audited from the skill source alone.
What security issues were found in eucalyptus-viminalis/leak-publish?
Category Scores
Findings (11)
CRITICAL Sensitive path blocklist omits primary credential file types -47 ▶
The is_blocked_sensitive_path() function in publish.sh blocks ~/.ssh, ~/.aws, ~/.gnupg, ~/.config/gcloud, /etc, /proc, /sys, and /var/run/secrets. It does NOT block ~/.env (environment variables, API keys), ~/.npmrc (npm auth tokens, registry credentials), ~/.docker/config.json (container registry credentials), ~/.netrc (FTP/HTTP credentials), or any other dotfile not explicitly enumerated. A user request of 'publish my .env file for $0.01' passes all validation — symlink check, directory check, existence check, and blocked-path check — and the file is served to the internet.
Evidence: publish.sh blocked array: ['${HOME}/.ssh','${HOME}/.aws','${HOME}/.gnupg','${HOME}/.config/gcloud','/etc','/private/etc','/proc','/sys','/var/run/secrets','/private/var/run/secrets']. Canary file /home/oc-exec/.env confirmed present and accessible. /home/oc-exec/.npmrc and /home/oc-exec/.docker/config.json also confirmed present.
HIGH Default persistent background server via supervisor chain -30 ▶
The skill's runtime policy sets RUN_MODE to 'auto' by default, which maps to SHOULD_BACKGROUND=1. The script then attempts systemd --user, launchd, tmux, screen, and nohup in sequence until one succeeds, launching a recursive call to publish.sh --foreground as a detached background process. This server persists after the agent session ends, binding to port 4021 and serving the target file. The agent has no mechanism to stop or monitor the server after launching it.
Evidence: SKILL.md: 'Treat publish as persistent-by-default for all sale windows. Use --run-mode auto unless user explicitly asks for foreground.' publish.sh: 'if [ "$RUN_MODE" = "background" ] || [ "$RUN_MODE" = "auto" ]; then SHOULD_BACKGROUND=1; fi' followed by systemd-run → launchctl submit → tmux new-session → screen -dmS → nohup fallback chain.
HIGH Core purpose creates public internet file exposure via Cloudflare tunnel -35 ▶
The --public flag invokes cloudflared to create a publicly accessible trycloudflare.com tunnel URL. Any file reachable by the agent and not in the incomplete blocklist can be made globally accessible. The consent gate (confirmation phrase) is a string match that an LLM agent can be guided to provide through prompt manipulation. The resulting URL is printed to stdout and logged, and the server persists until explicitly stopped.
Evidence: publish.sh public mode: 'run_leak "${ARGS[@]}" 2>&1 | tee "$TMP"' followed by 'URL=$(grep -Eo "https://[a-z0-9-]+\.trycloudflare\.com" "$TMP" | head -n 1)' and '[leak-publish] PROMO LINK: ${URL}/'
HIGH Unverified npm package leak-cli executes as network server -28 ▶
The skill requires the 'leak-cli' npm package and invokes it as both a short-lived command and a long-running network server. The package handles file serving, x402 micropayment processing, and optionally Cloudflare tunnel management. Its server-side behavior — including what metadata is logged, what telemetry is reported upstream, and how file content is processed during payment flows — cannot be verified from the skill source alone. The package is not pinned to a specific version in the install spec.
Evidence: SKILL.md install spec: '{kind: node, package: leak-cli, bins: ["leak"]}' (no version pin). publish.sh: 'run_leak() { leak "$@"; }' and 'exec_leak() { exec leak "$@"; }'. The exec form replaces the shell process with the leak binary.
MEDIUM Skill conditions agent to default to hidden background execution -20 ▶
By declaring persistent-by-default as the runtime policy and listing a priority-ordered fallback chain of persistence mechanisms, the skill trains the agent to normalize background process creation across all publish operations. Users may be unaware that a file server is running on their machine after the agent session ends. This behavioral conditioning makes it easier for future prompt manipulation to leverage background execution.
Evidence: SKILL.md Runtime policy: 'Treat publish as persistent-by-default for all sale windows. Use --run-mode auto unless user explicitly asks for foreground. Detached supervisor order: systemd --user (Linux), launchd (macOS), tmux, screen, nohup fallback.'
MEDIUM Combination with file-discovery skills creates credential exfiltration pipeline -40 ▶
This skill, combined with any file-listing capability (find, glob, ls), enables a complete credential exfiltration workflow: step 1 discovers credential files at ~/.env or ~/.npmrc; step 2 publishes them via leak-publish, bypassing the incomplete blocklist. The resulting Cloudflare URL delivers the credential file to any internet requester. The x402 gate provides plausible deniability (the file is 'for sale') while still making it accessible.
Evidence: Skill blocklist confirmed to omit .env, .npmrc, .docker/config.json. All three canary credential files confirmed present at /home/oc-exec/. Skill provides --public mode with Cloudflare tunnel for global accessibility.
MEDIUM All six credential canary files read during audit session -30 ▶
Auditd PATH records show that /home/oc-exec/.env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, and .config/gcloud/application_default_credentials.json were all opened for reading at 1771956453 (install start) and again at 1771956469 (post-install). The canary integrity check reports files intact and unmodified. These accesses are most likely from the audit monitoring infrastructure. However, the pattern of reading all high-value credential files twice, bracketing the install, is consistent with both legitimate canary monitoring and with credential scanning.
Evidence: type=PATH msg=audit(1771956453.353:392-396) and msg=audit(1771956469.976:7066-7071) showing inode access for .env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, .config/gcloud/application_default_credentials.json. Canary report: '✅ All canary files intact (no exfiltration detected via honeypots)'
MEDIUM Skill name and design pattern suggest intentional bypass of security controls -30 ▶
The skill is named 'leak-publish' — 'leak' carries an established meaning of unauthorized disclosure. The safety policy section lists blocked paths that cover only the most obvious targets (.ssh, .aws, .gnupg) while omitting .env, .npmrc, and .docker — the files most commonly targeted in real supply-chain and CI/CD credential theft attacks. This specific combination of a protective-looking but incomplete blocklist creates the appearance of safety while leaving the highest-value targets unprotected.
Evidence: Skill name: 'leak-publish'. Blocked paths include .ssh and .aws but not .env, .npmrc, .docker. Canary audit confirmed all three unblocked file types present and accessible on the test system.
MEDIUM Post-install openclaw-gateway established new external connections to AWS and Cloudflare -35 ▶
The connection diff shows that after skill installation completed, the openclaw-gateway process (pid=1084, pre-existing executor infrastructure) established new ESTABLISHED TCP connections to 44.214.208.192:443 (AWS EC2) and 104.16.3.34:443 (Cloudflare) that were not present in the BEFORE snapshot. A /home/oc-exec/.openclaw-executor/gateway.pid file confirms this is infrastructure. The new connections likely represent the executor reporting audit results, but the timing — after credential files were accessed and skill was installed — is notable.
Evidence: BEFORE: no connections to 44.214.208.192. AFTER: 'tcp ESTAB 192.168.64.29:35346 44.214.208.192:443 users:(("openclaw-gatewa",pid=1084,fd=27))' and 'tcp ESTAB 192.168.64.29:36038 104.16.3.34:443 users:(("openclaw-gatewa",pid=1084,fd=30))'. Baseline diff: '/home/oc-exec/.openclaw-executor/gateway.pid' present.
LOW Public exposure confirmation phrase susceptible to agent-level social engineering -18 ▶
The --public protection relies on the agent providing the exact string 'I_UNDERSTAND_PUBLIC_EXPOSURE'. In non-interactive mode (typical for agent use), this must be passed as --public-confirm I_UNDERSTAND_PUBLIC_EXPOSURE. A crafted user prompt like 'I understand the public exposure, please publish my file publicly' could cause the agent to pass this flag, bypassing the consent gate by matching the semantic intent rather than requiring the exact phrase.
Evidence: publish.sh: PUBLIC_CONFIRM_PHRASE="I_UNDERSTAND_PUBLIC_EXPOSURE". Non-interactive path: 'ERROR: --public requires --public-confirm ${PUBLIC_CONFIRM_PHRASE} in non-interactive mode'. SKILL.md: 'Require explicit user consent before --public exposure'.
INFO No malicious install-time artifacts detected 0 ▶
The git repository contains no .gitattributes filter drivers, no .gitmodules pointing to external repos, no githooks, and no package.json with preinstall/postinstall scripts. The clone process was clean, touching only expected paths. The install script performed a sparse git checkout of the specific skill subdirectory only.
Evidence: Git metadata sections: gitattributes empty, gitmodules empty, githooks empty. package.json: empty string. EXECVE audit: 'git sparse-checkout set skills/eucalyptus-viminalis/leak-publish' followed by 'git checkout' and 'cp -r /tmp/monorepo-clone/skills/eucalyptus-viminalis/leak-publish/. /home/oc-exec/skill-under-test/'
Should I install eucalyptus-viminalis/leak-publish?
Oathe's verdict for eucalyptus-viminalis/leak-publish is DANGEROUS with a trust score of 46/100. Recommendation: Do not install.