T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/proposal-service.sh:4- Finding
Database Operations Use Docker Access and the PostgreSQL Superuser
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly clear about creating real OpenClaw proposals, but it uses very powerful database access that is broader than the task needs.
Install only if you trust the environment and are comfortable letting this skill create real pending proposals in the OpenClaw database. Prefer running the check command first, require explicit approval before create-stale-proposal, and consider replacing postgres-over-Docker access with a dedicated least-privilege database role before broader use.
scripts/proposal-service.sh:4Database Operations Use Docker Access and the PostgreSQL Superuser
The skill explicitly enables creation of real proposals in the production-facing public.openclaw_proposals table but does not warn the user that the action has real side effects. In an agent setting, omission of a clear warning and confirmation boundary can cause unintended writes, duplicate workflow triggers, or operational noise because a user or upstream agent may treat the skill as read-only inspection rather than a mutating production action.
The SQL literals for proposal title and description are hard-coded in Spanish, and the same language constraint appears again in exception and notice messages later in the script. This imposes a specific language choice with no indication that users can select a locale or that the skill is intentionally region-specific.