other
- Location
bins/gmail-background-task.sh:83- Finding
Automatic Transmission of Sensitive Gmail Data to WhatsApp
- Content
View full analysis
&1 || echo "No unread messages found" ``` ```bash # bins/gmail-background-task.sh:83-85 send_notify() { echo "$(date): notify: ${1:0:80}..." >> "$MONITOR_LOG" openclaw message send --channel whatsapp --target "$NOTIFY_TARGET" --message "$1" >> "$MONITOR_LOG" 2>&1 || true } ``` ```bash # bins/gmail-background-task.sh:156-173 OUTPUT=$(tail -50 "$LOG_FILE") if [[ $EXIT_CODE -eq 0 ]]; then send_notify "✅ Gmail Skill: Task '"'"'$TASK_NAME'"'"' completed successfully Duration: $DURATION Account: $ACCOUNT ━━━━━━━━━━━━━━━━━━━━━━━━━━ $OUTPUT" else send_notify "❌ Gmail Skill: Task '"'"'$TASK_NAME'"'"' failed (exit $EXIT_CODE) Duration: $DURATION Account: $ACCOUNT ━━━━━━━━━━━━━━━━━━━━━━━━━━ $OUTPUT" fi ``` ### Technical Analysis The daily digest runs a Gmail search whose plain-text response can contain message IDs, dates, sender addresses, subjects, and labels. The background wrapper captures command output in a log, reads its final 50 lines, and sends those lines to the configured WhatsApp destination using `openclaw message send`. The Skill documentation mandates this wrapper for several operations and explicitly designs the daily digest for WhatsApp delivery. Although the behavior is disclosed, transmitting detailed mailbox output is not necessary for label enumeration, spam cleanup, message deletion, or other core Gmail operations. It therefore exceeds the minimum data disclosure required for those tasks. The destination is select ...[truncated 1250 chars]- Remediation
View remediation
