← 返回 Skills 市场
Alerting & Notification System
作者
Rhandus Malpica
· GitHub ↗
· v1.0.0
735
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rhandus-alerting-system
功能描述
Centralized alerting and notification system for OpenClaw. Multi-channel alerts, intelligent rules, escalation, and audit.
安全使用建议
This skill implements a plausible alerting system, but several things don't add up and raise risk:
- Privileged host changes: The included shell script attempts to use sudo to create /var/log/openclaw_alerts, chown to a hardcoded user, and write a cron job to /etc/cron.d. Those operations require root and create persistent background activity on your host.
- Modifies other skills: The integration functions write JavaScript files into other skills' directories (/workspace/skills/api-testing and /workspace/skills/security-tools). That means installing or running this skill can change other skills' behavior — a serious lateral-impact capability.
- Undeclared credentials: The registry metadata declares no required env vars, yet code expects TELEGRAM_CHAT_ID, GOOGLE_ACCOUNT, ADMIN_EMAIL and SKILL.md documents ALERTING_* variables. The mismatch makes it unclear what secrets you'd need to supply and why.
- Hardcoded organization targets: Many example monitors and cron jobs point to tiklick.* domains and a specific author/email. This suggests the package may be built for a particular company's infrastructure rather than generic use.
- Potential for unexpected network activity: The code will monitor external endpoints and may invoke email/telegram sending commands; if you provide credentials, it will use them. The code also uses child_process.exec to run CLI commands (e.g., gog gmail), increasing attack surface.
What to do before installing or running:
1. Do not run alert_integration.sh or any init/cron commands as root on production hosts until you review and adapt them. 2. Inspect and remove or sandbox the cron-installing code; prefer user-level scheduling or containerized deployment. 3. Remove or review the code that writes into other skills' directories; prefer explicit, opt-in integration steps rather than automatic modification. 4. Require the author to declare exactly which environment variables/credentials are needed in registry metadata, and validate they are used minimally. 5. Run the skill in an isolated environment (container or VM) first and verify behavior (what files it writes, what network endpoints it calls). 6. Replace hardcoded emails, usernames, and URLs with configurable parameters. 7. If you don't trust the author or the Tiklick ties, avoid granting credentials (Gmail/API tokens) and avoid running scripts that require sudo.
If you want, I can produce a checklist of exact lines in the code to change/remove to make this safer (remove cron creation, stop writing to other skill dirs, explicit env var declarations, etc.).
功能分析
Type: OpenClaw Skill
Name: rhandus-alerting-system
Version: 1.0.0
The skill is classified as suspicious due to multiple critical shell injection vulnerabilities and the use of elevated privileges for persistence. Specifically, `src/alert_manager.js` constructs shell commands for `gog gmail send` and `curl` by directly embedding alert titles, messages, and URLs without robust sanitization, allowing for arbitrary command execution if these inputs are controlled by an attacker. Additionally, `alert_integration.sh` uses `sudo` to create system directories and establish a cron job for continuous monitoring, which, while intended for legitimate functionality, represents a high-risk capability and persistence mechanism.
能力评估
Purpose & Capability
Name/description claim a centralized alert/notification system — the code implements that. However, the package is tightly bound to a specific organization (many hardcoded tiklick.* URLs and author identity) and includes behaviors beyond a simple alert library: creating system cron jobs, using sudo and chown, and writing integration files into other skill directories. Those actions are not documented as required permissions in the registry metadata and are not obviously necessary for a general-purpose alerting skill.
Instruction Scope
SKILL.md shows CLI usage and lists environment variables but the shipped scripts/instructions will read and write system paths (/var/log/openclaw_alerts, /etc/cron.d, /workspace/.openclaw_alerts.json) and create/modify files under other skills (/workspace/skills/api-testing and /workspace/skills/security-tools). The code also suggests monitoring arbitrary files like /var/log/auth.log and using curl and external endpoints — these expand the agent's access surface and scope beyond 'alerting' configuration.
Install Mechanism
There is no external install spec (no network download), which reduces supply‑chain concerns, but the included shell script uses sudo to create system folders and drops a cron file in /etc/cron.d. That implies elevated privileges and system persistence. Because these operations would run on the host if the integration script is executed, they are higher risk even though no remote download occurs.
Credentials
Registry metadata lists no required env vars, but the code reads several environment variables (TELEGRAM_CHAT_ID, GOOGLE_ACCOUNT, ADMIN_EMAIL and SKILL.md documents ALERTING_* vars). Required secrets/addresses are not declared in the metadata, and default values like 'CHANGE_ME' or hardcoded emails ([email protected], [email protected]) appear. This mismatch is a red flag: the skill will need credentials to send notifications but does not declare them up front.
Persistence & Privilege
The skill creates persistent system artifacts: cron job in /etc/cron.d, log directories under /var/log, and integration JS files placed into other skills' directories. Modifying other skills' codebase and creating system‑wide cron entries are significant privileges and increase risk of lasting or cross-skill impact. The skill is not marked always:true, but its code seeks persistent privileges if run.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rhandus-alerting-system - 安装完成后,直接呼叫该 Skill 的名称或使用
/rhandus-alerting-system触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release by Rhandus Malpica. Centralized alerting system with multi-channel notifications (Telegram, Email, Log), intelligent rules, escalation, and audit capabilities.
元数据
常见问题
Alerting & Notification System 是什么?
Centralized alerting and notification system for OpenClaw. Multi-channel alerts, intelligent rules, escalation, and audit. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 735 次。
如何安装 Alerting & Notification System?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rhandus-alerting-system」即可一键安装,无需额外配置。
Alerting & Notification System 是免费的吗?
是的,Alerting & Notification System 完全免费(开源免费),可自由下载、安装和使用。
Alerting & Notification System 支持哪些平台?
Alerting & Notification System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Alerting & Notification System?
由 Rhandus Malpica(@rhanxerox)开发并维护,当前版本 v1.0.0。
推荐 Skills