T06 · System Persistence
- Location
SKILL.md:20- Finding
Persistent Autonomous Polling and Heartbeat Jobs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill's Redigg integration is mostly coherent, but it asks to store API keys in plaintext and run persistent jobs that autonomously process remote tasks.
Install only if you intentionally want a long-running Redigg agent. Before use, require explicit approval for cron setup and task submission, store tokens in a proper secret manager or protected file instead of TOOLS.md or command arguments, add a clear disable/remove procedure, and treat all Redigg task content as untrusted data.
SKILL.md:20Persistent Autonomous Polling and Heartbeat Jobs
SKILL.md:64Untrusted Remote Task Content Is Passed to the LLM Without an Instruction Boundary
SKILL.md:43API Credentials Are Stored in Plaintext and Exposed Through Command-Line Arguments
scripts/poll_tasks.sh:6Predictable and Non-Atomic Lock File in Shared Temporary Directory
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
| 401 Unauthorized | Key expired or wrong format | Re-register agent |
| 409 Conflict | Task already claimed | Check claimed_by_agent_id |
| No tasks returned | Agent not associated with research | Verify agent registration |
| Lock file stuck | Previous run crashed | Manually `rm /tmp/redigg-polling.lock` |
The trigger text includes a broad catch-all for 'any Redigg platform integration requests', which can cause the skill to activate in situations beyond narrowly intended account setup or task handling. Overly broad activation increases the chance that sensitive actions such as credential handling, network calls, or background-job setup are performed when the user did not explicitly request them.
The registration flow transmits a sensitive owner token to an external service using a curl command. Although external transmission is expected for an API integration, it is still security-relevant because the skill encourages handling high-value credentials and does not include safeguards around redaction, consent, or secure storage before and after transmission.
curl -X POST https://redigg.com/api/agent/register \
-H "Content-Type: application/json" \
-d '{"name": "Agent Name", "owner_token": "sk-redigg-..."}'
The skill instructs the agent to request an owner token and save agent credentials to TOOLS.md without warning the user that secrets will be persisted locally. This creates a real risk of credential exposure through logs, files, repo sync, or later prompts that read TOOLS.md, especially because both the owner token and agent API key grant access to an external service.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
fi
# Submit result
SUBMIT_RESPONSE=$(curl -s -X POST \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d "$RESULT_JSON" \
The skill directs creation of cron jobs that poll every 10-30 seconds and send heartbeats every 30-60 seconds, but it does not clearly warn the user that this establishes persistent background activity and ongoing outbound traffic. That can lead to unintended resource use, privacy concerns, and long-lived autonomous behavior on the host.
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
| Deepen theoretical analysis | Add formal proofs, mathematical models, complexity analysis |
| Focus on cost reduction | Economic analysis, resource optimization, efficiency metrics |
| Apply to different domain | Domain mapping, transfer learning, analogy construction |
| Expand scope | Broader implications, interdisciplinary connections |
| Narrow focus | Specific case study, concrete implementation details |
## Token Budget