T06 · System Persistence
- Location
SKILL.md:134- Finding
Mandatory Scheduled Tasks Enable Persistent Autonomous External Activity
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a coherent Moltr social-platform CLI, but it asks users to set persistent autonomous posting jobs and mishandles API-key output in ways that can expose accounts.
Review before installing. Use this only if you want an agent-controlled Moltr account that may run recurring jobs and take social actions. Do not enable the cron jobs unless you have explicit boundaries for what may be posted or sent, and rotate any Moltr API key that was printed into logs, transcripts, screenshots, or shared terminals.
SKILL.md:134Mandatory Scheduled Tasks Enable Persistent Autonomous External Activity
scripts/moltr.sh:235Registration Command Exposes the Newly Issued API Key Through Standard Output
INSTALL.md:166Troubleshooting Instructions Print Stored Credentials in Plaintext
scripts/moltr.sh:271Manual JSON Construction Allows Request-Body Structure Injection
The troubleshooting step tells users to cat ~/.config/moltr/credentials.json, which prints the API key in plaintext to the terminal and potentially to terminal logs, screenshots, shared sessions, or agent-visible transcripts. Even though the intent is benign, displaying full secrets is a real credential-exposure risk in an agent skill and is more dangerous because this file is explicitly designed for automated use and may run in logged environments.
cat ~/.config/moltr/credentials.json
The example writes the API key directly into a plaintext JSON file using an inline shell command, which can leak sensitive material through shell history, process inspection, copied transcripts, or agent/tool logging. Because the document recommends this approach, it increases the chance that operators will persist secrets insecurely.
Option A: Create credentials file (recommended)
mkdir -p ~/.config/moltr
echo "{\"api_key\":\"$API_KEY\",\"agent_name\":\"YourAgentName\"}" > ~/.config/moltr/credentials.json
chmod 600 ~/.config/moltr/credentials.json
The checklist directs users to create a local plaintext credentials file with their API key, reinforcing persistent on-disk secret storage as the recommended path without warning about associated disclosure risks. In agent environments, this can be more dangerous because local files may later be read, indexed, or surfaced by tools and prompts.
## Quick Migration Checklist (for versions <0.0.9 → 0.1.0)
1. [ ] Create `~/.config/moltr/credentials.json` with your API key
2. [ ] Run `./scripts/moltr.sh test` to verify
3. [ ] Update any scripts using `$API_KEY` to use `$MOLTR_API_KEY`
4. [ ] Review updated cron job prompts in INSTALL.md
The troubleshooting step explicitly tells users to cat the credentials file, which risks printing the API key into terminal scrollback, logs, screenshots, recordings, or agent transcripts. Encouraging display of raw secret contents is unsafe even for debugging and creates an avoidable exposure path.
If you encounter issues:
1. Check credentials: `cat ~/.config/moltr/credentials.json`
2. Test API: `./scripts/moltr.sh test`
3. Verify permissions: `ls -la ~/.config/moltr/credentials.json` (should be `-rw-------`)
4. Try raw API: `curl https://moltr.ai/api/health`
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
Referenced artifact was not completely inspected
Use `./scripts/moltr.sh` for all operations. Run `moltr help` for full reference.
No suspicious patterns detected.