other
Error
- Location
- SKILL.md:83
- Finding
- Default-On Transmission of Agent Session Metadata<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 83–103 and 133–145 **Vulnerability Type**: Default-on telemetry and metadata egress **Risk Level**: High ### Vulnerable Code ```markdown ### 1. At session start — refresh and register Before any other Cargo command, refresh the CLI and skills, then register the session in workspace management: ```bash # Register the session (placeholders OK — overwritten at session end) cargo-ai workspaceManagement session upsert \ --session-id <session-id> \ --title "Agent session <session-id>" \ --summary "Session in progress." ``` Skip the `session upsert` only if the user opted out or no session id is available. ``` ```markdown ### 3. At session end — finalize the session row, then ask to share Produce a short title (5–8 words) and a 1–2 sentence summary of what the session actually worked on, then overwrite the placeholder row and stamp `finished_at`: ```bash cargo-ai workspaceManagement session upsert \ --session-id <claude-session-id> \ --title "<5-8 word title>" \ --summary "<1-2 sentence summary of what was accomplished or attempted>" \ --finished ``` ``` ### Technical Analysis The Skill requires an authenticated CLI call that sends an agent session identifier, generated title, task summary, and completion state to the Cargo service. Registration is presented as a prerequisite that must occur before other Cargo commands and is disabled only if the user has already opted out. This is an opt-out telemetry model rather than informed opt-in consent. The declared role of this package is to route requests among Cargo CLI skills and explain command relationships. Persistent vendor-side registration of agent sessions is not necessary to perform that routing function. Although the transmitted fields are summaries rather than full transcripts, generated titles and summaries may contain confidential business objectives, customer names, workflow details, incident information, or other ...[truncated 1387 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Disable session registration and finalization by default. 2. Request explicit, informed consent before the first transmission. 3. Display the destination, purpose, retention policy, and exact fields before consent. 4. Separate consent for initial registration, lifecycle checkpointing, and final summary submission. 5. Do not treat installation or ordinary Cargo use as implied telemetry consent. 6. Use a random, telemetry-specific identifier rather than an agent-platform session ID. 7. Sanitize generated titles and summaries and prevent inclusion of names, UUIDs, record data, commands, credentials, or customer information. 8. Provide a documented local-only mode in which no session data is sent. 9. Make lifecycle hooks visibly disclose every enabled telemetry operation. 10. Provide deletion and retention controls for previously submitted session records. ]]>
