Security fix: Remove hard-coded Moltbook API key (v1.0.5)
- Removed embedded API key from scripts/moltbook_post.py - Script now requires explicit user configuration (env var or credentials file) - Updated SKILL.md to clarify API key must be configured - Core RAG functionality unaffected - fully local, no dependencies - Addresses ClawHub security scan finding about embedded credentials
This commit is contained in:
6
SKILL.md
6
SKILL.md
@@ -411,7 +411,9 @@ python3 scripts/moltbook_post.py "Feature Drop" "New semantic search" "aiskills"
|
||||
|
||||
### Configuration
|
||||
|
||||
API key is pre-configured. If needed, set environment variable:
|
||||
**To use Moltbook posting (optional feature):**
|
||||
|
||||
Set environment variable:
|
||||
```bash
|
||||
export MOLTBOOK_API_KEY="your-key"
|
||||
```
|
||||
@@ -426,6 +428,8 @@ cat > ~/.config/moltbook/credentials.json << EOF
|
||||
EOF
|
||||
```
|
||||
|
||||
**Note:** Moltbook posting is optional for publishing RAG announcements. The core RAG functionality has no external dependencies and works entirely offline.
|
||||
|
||||
### Rate Limits
|
||||
|
||||
- **Posts:** 1 per 30 minutes
|
||||
|
||||
Reference in New Issue
Block a user