T09 · Insecure Skill Coding Practices
- Location
SKILL.md:23- Finding
Shell Command Injection Through Unsafe JSON Payload Templates
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill matches its Capacities note-taking purpose, but its shell examples need review because unsafe value substitution could run unintended local commands.
Review before installing. Use this only with your own Capacities account, keep the API token private, and avoid asking an agent to paste arbitrary note text directly into the provided shell commands. A safer version should build JSON with a structured tool or HTTP client instead of interpolating user content into shell source.
SKILL.md:23Shell Command Injection Through Unsafe JSON Payload Templates
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
### Daily Notes
To add a thought, task, or note to today's daily note:
`curl -X POST https://api.capacities.io/save-to-daily-note -H "Authorization: Bearer $CAPACITIES_API_TOKEN" -H "Content-Type: application/json" -d '{"spaceId": "$CAPACITIES_SPACE_ID", "mdText": "Your note here"}'`
### Web Links
To save a URL to your space:
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
### Daily Notes
To add a thought, task, or note to today's daily note:
`curl -X POST https://api.capacities.io/save-to-daily-note -H "Authorization: Bearer $CAPACITIES_API_TOKEN" -H "Content-Type: application/json" -d '{"spaceId": "$CAPACITIES_SPACE_ID", "mdText": "Your note here"}'`
### Web Links
To save a URL to your space:
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
### Daily Notes
To add a thought, task, or note to today's daily note:
`curl -X POST https://api.capacities.io/save-to-daily-note -H "Authorization: Bearer $CAPACITIES_API_TOKEN" -H "Content-Type: application/json" -d '{"spaceId": "$CAPACITIES_SPACE_ID", "mdText": "Your note here"}'`
### Web Links
To save a URL to your space:
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
### Daily Notes
To add a thought, task, or note to today's daily note:
`curl -X POST https://api.capacities.io/save-to-daily-note -H "Authorization: Bearer $CAPACITIES_API_TOKEN" -H "Content-Type: application/json" -d '{"spaceId": "$CAPACITIES_SPACE_ID", "mdText": "Your note here"}'`
### Web Links
To save a URL to your space:
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
### Daily Notes
To add a thought, task, or note to today's daily note:
`curl -X POST https://api.capacities.io/save-to-daily-note -H "Authorization: Bearer $CAPACITIES_API_TOKEN" -H "Content-Type: application/json" -d '{"spaceId": "$CAPACITIES_SPACE_ID", "mdText": "Your note here"}'`
### Web Links
To save a URL to your space:
No suspicious patterns detected.