@elvatis_com/openclaw-rss-feeds
v0.2.1
Published
OpenClaw plugin - RSS/Atom feed digest with CVE enrichment and Ghost CMS drafts
Downloads
206
Maintainers
Readme
@elvatis_com/openclaw-rss-feeds
OpenClaw plugin for RSS and Atom security digests with optional NVD CVE enrichment, Ghost CMS draft publishing, and channel notifications.
Quick Start
npm install @elvatis_com/openclaw-rss-feedsMinimal config - add to your OpenClaw plugin config:
{
"plugins": {
"openclaw-rss-feeds": {
"feeds": [
{
"id": "cert-bund",
"name": "BSI CERT-Bund",
"url": "https://wid.cert-bund.de/portal/wid/securityadvisory?rss",
"keywords": ["critical", "cve"]
}
]
}
}
}See examples/minimal-config.json for the minimal setup and examples/full-config.json for all options.
Configuration
The plugin schema is defined in openclaw.plugin.json.
Full example with all supported options:
{
"plugins": {
"openclaw-rss-feeds": {
"feeds": [
{
"id": "fortinet",
"name": "Fortinet PSIRT",
"url": "https://www.fortiguard.com/rss/ir.xml",
"keywords": ["fortinet", "fortigate", "fortios"],
"enrichCve": true,
"cvssThreshold": 7,
"tags": ["fortinet", "security", "digest"],
"docsUrlTemplate": "https://docs.fortinet.com/product/{product}/{version}/release-notes",
"productHighlightPattern": "Forti(?:Gate|OS|Analyzer|Manager|Client|Proxy)"
},
{
"id": "m365",
"name": "Microsoft 365 Message Center",
"url": "https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=&rss=1",
"keywords": ["security", "vulnerability", "defender"],
"enrichCve": true,
"cvssThreshold": 6.5,
"tags": ["microsoft-365", "security"]
},
{
"id": "bsi",
"name": "BSI CERT-Bund",
"url": "https://wid.cert-bund.de/portal/wid/securityadvisory?rss",
"keywords": ["kritisch", "critical", "cve"],
"enrichCve": false,
"tags": ["bsi", "cert-bund"]
},
{
"id": "heise-security",
"name": "Heise Security",
"url": "https://www.heise.de/security/rss/news-atom.xml",
"keywords": ["cve", "security", "ransomware"],
"enrichCve": false,
"tags": ["heise", "security-news"]
}
],
"schedule": "0 9 1 * *",
"lookbackDays": 31,
"ghost": {
"url": "https://blog.example.com",
"adminKey": "<ghost-admin-key-id>:<ghost-admin-key-secret-hex>"
},
"notify": [
"whatsapp:<phone>",
"telegram:123456789"
],
"nvdApiKey": "<nvd-api-key-optional>",
"retry": {
"maxRetries": 3,
"initialDelayMs": 1000,
"backoffMultiplier": 2
}
}
}
}Usage
Automatic run via cron schedule
If schedule is set, the plugin registers a scheduler and runs automatically.
Example:
0 9 1 * *runs at 09:00 on day 1 of every month0 8 * * 1runs every Monday at 08:00
Manual run via tool
You can trigger digest generation manually with the registered tool:
- Tool name:
rss_run_digest - Optional parameter:
dryRun: true
dryRun fetches and formats the digest but skips Ghost publishing and notifications.
Retry / Backoff
Feed fetches use exponential backoff by default. If a feed request fails (network error, timeout, etc.), the plugin retries with increasing delays before giving up.
Default behavior (no config needed):
| Setting | Default | Description |
|---|---|---|
| maxRetries | 3 | Maximum retry attempts per feed |
| initialDelayMs | 1000 | Delay before the first retry (ms) |
| backoffMultiplier | 2 | Multiplier applied to the delay after each retry |
With the defaults, the retry delays are: 1s, 2s, 4s (then fail). Set maxRetries to 0 to disable retries entirely.
CVE Enrichment
If a feed has enrichCve: true, the plugin calls the NVD CVE API and enriches the digest with:
- CVE ID
- CVSS score (filtered by
cvssThreshold) - CVE description
- Link to NVD details
Notes:
- CVE enrichment is keyword-driven via each feed's
keywords - Requests are rate-limited between keyword lookups
- NVD failures are handled as non-fatal, feed processing continues
Ghost CMS Integration
If ghost is configured, the digest is published as a draft post through the Ghost Admin API.
Implementation details:
- HS256 JWT is generated from
adminKey(id:secretformat) - API endpoint:
/ghost/api/admin/posts/?source=html - Digest is sent as HTML body
- Tags are merged from all configured feed
tags
If Ghost fails, digest generation still succeeds and the error is reported in result metadata and optional notifications.
Notifications
If notify contains targets (format channel:target), a summary notification is sent after the run.
Example targets:
whatsapp:<phone>telegram:123456789discord:#security
Optional X/Twitter Handoff
OpenClaw agents that turn RSS or CVE digests into public launch notes, security advisories, or incident updates can pair this plugin with TweetClaw. Keep this plugin responsible for feed ingestion, CVE enrichment, Ghost draft publishing, and private channel notifications. Use TweetClaw only after the digest is reviewed and ready for public X/Twitter automation.
TweetClaw can post tweets and tweet replies, search tweets and tweet replies for related discussion, monitor tweets, export followers, upload media, download authenticated media, and run giveaway draws through Xquik.
openclaw plugins install @xquik/tweetclawThe canonical install source is the npm package @xquik/tweetclaw. The ClawHub discovery page is useful for browsing the plugin.
Community Catalog
The catalog entry is defined in catalog.yaml.
To register via the CLI:
openclaw catalog submit --from ./catalog.yamlDevelopment
npm install
npx tsc --noEmit
npm test
npm run buildShared Template
For automation that creates GitHub issues, use src/templates/github-issue-helper.ts.
It provides isValidIssueRepoSlug(), resolveIssueRepo(), and buildGhIssueCreateCommand().
License
Apache-2.0
