← 返回 Skills 市场
WordPress Remote News Publisher
作者
Emilio Petrozzi
· GitHub ↗
· v1.0.0
453
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wordpress-remote-news-publisher
功能描述
Automates news article creation and publishing to remote WordPress via SSH and WP-CLI, including image handling and SEO metadata integration.
安全使用建议
This skill appears to perform what it says (generate articles, download an Unsplash image, and publish via SSH+WP‑CLI), but there are a few things you should verify before installing or running it:
- Registry metadata mismatch: the skill package requires SSH and Unsplash credentials and certain binaries, but the registry entry lists none. Treat the registry info as incomplete and inspect the included SKILL.md and scripts (you already have them).
- SSH key risk: the scripts require WP_SSH_KEY (a private key path). Only supply a key that is limited in scope on the remote host (not a full root or multi-service key). Prefer a deploy-only account and restrict commands allowed by that key if possible.
- Host-key verification: the scripts set StrictHostKeyChecking=no (disables host key checks). This eases automation but increases MITM risk. Prefer to manually verify and pin the remote host key or remove that option once keys/hosts are trusted.
- Telegram notification is referenced but no configuration is provided — confirm how notifications are implemented before relying on them.
- Temporary files: artifacts (article JSON, media ID, cover metadata) are stored in /tmp. If you run this on a multi-user machine, be aware other users may read those files; consider changing locations or setting restrictive permissions.
- Testing recommendation: run the scripts in an isolated environment first (a staging WordPress instance) with a restricted SSH key and a test Unsplash key. Review and, if desired, remove any insecure SSH options and ensure the remote WP user has limited privileges.
If you need higher assurance, ask the publisher to update the registry metadata to list required env vars and binaries, and to document the Telegram notification mechanism and any remote privileges the SSH account requires.
功能分析
Type: OpenClaw Skill
Name: wordpress-remote-news-publisher
Version: 1.0.0
The skill is classified as suspicious due to several security vulnerabilities, primarily the use of `StrictHostKeyChecking=no` in all SSH and SCP commands across `SKILL.md`, `publish_wp_remote.sh`, and `upload_media_remote.sh`, which disables host key verification and exposes the connection to Man-in-the-Middle attacks. Additionally, the `publish_wp_remote.sh` script uses `file://` paths for post content in remote WP-CLI commands, which could be exploited for Local File Inclusion or Remote Code Execution if the AI agent's generated content (saved to `/tmp/wp_article.json`) were maliciously manipulated. While the skill's stated purpose is legitimate, these flaws present significant attack surfaces without clear evidence of intentional malicious exploitation by the author.
能力评估
Purpose & Capability
SKILL.md and the included scripts clearly need SSH access (WP_SSH_HOST, WP_SSH_USER, WP_SSH_KEY, WP_REMOTE_PATH, etc.), Unsplash API key, and binaries (ssh, scp, python3, convert). However the registry top-level metadata listed 'Required env vars: none' and 'Required binaries: none', which is inconsistent and misleading. The requested credentials (SSH private key path and Unsplash key) are coherent with the stated purpose, but the omission in registry metadata is a red flag for mismatched declarations.
Instruction Scope
The SKILL.md instructions stay largely within the stated purpose: generate articles, download and optimize an Unsplash image, SCP it to the remote server, and run WP-CLI remotely. Concerns: (1) It says 'If this fails, abort and notify via Telegram with error details' but provides no Telegram configuration or env var — that step is underspecified and could lead to ad-hoc messaging behavior. (2) SSH commands use '-o StrictHostKeyChecking=no', which disables host-key verification (convenient but insecure and increases MITM risk). (3) Temporary files are written under /tmp (e.g., /tmp/wp_article.json, /tmp/wp_media_id.txt) which is normal but review who can read /tmp on the environment.
Install Mechanism
There is no install spec (instruction-only plus packaged scripts). No remote downloads or archive extraction at install time. The code files are included in the skill package, so no external install URLs to audit — this is lower install-time risk.
Credentials
The environment variables required by the scripts (WP_SSH_HOST, WP_SSH_USER, WP_SSH_KEY, WP_REMOTE_PATH, WP_AUTHOR_ID, UNSPLASH_ACCESS_KEY, etc.) are proportionate to the functionality (remote SSH access and Unsplash access). The main issue is that the skill registry metadata did not declare these required env vars or binaries — a transparency/integrity problem. Also the skill requires the path to a private SSH key (sensitive); ensure that key has restricted scope and permissions and consider using a key with least privilege on the remote host.
Persistence & Privilege
The skill does not request 'always: true' and does not attempt to modify other skills or system-wide settings. It runs when invoked; autonomous invocation is allowed by default (normal). It stores temporary state in /tmp (media ID, article JSON, post ID) but does not persist credentials or enable itself automatically.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wordpress-remote-news-publisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/wordpress-remote-news-publisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
WordPress Remote News Publisher v1.0.0
- Initial public release: automated news article generation and remote WordPress publishing via SSH and WP-CLI.
- Includes full editorial workflow with source-verifiable facts, journalistic structure, and Yoast SEO meta integration.
- Automated image pipeline: downloads, optimizes, and uploads Unsplash covers.
- Configurable via environment variables and JSON; supports cron scheduling and manual triggers.
- Robust SSH key setup and connectivity verification; sends Telegram updates for errors and publishing confirmation.
元数据
常见问题
WordPress Remote News Publisher 是什么?
Automates news article creation and publishing to remote WordPress via SSH and WP-CLI, including image handling and SEO metadata integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 453 次。
如何安装 WordPress Remote News Publisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wordpress-remote-news-publisher」即可一键安装,无需额外配置。
WordPress Remote News Publisher 是免费的吗?
是的,WordPress Remote News Publisher 完全免费(开源免费),可自由下载、安装和使用。
WordPress Remote News Publisher 支持哪些平台?
WordPress Remote News Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WordPress Remote News Publisher?
由 Emilio Petrozzi(@promoweb)开发并维护,当前版本 v1.0.0。
推荐 Skills