workbuddy-checkin

Warn

Audited by Socket on Sep 28, 2026

3 alerts found:

SecurityAnomalyx2
SecurityMEDIUM
scripts/setup.ps1

This fragment is high-risk from a supply-chain and automation perspective: it dynamically downloads and stages a full Electron runtime from npm at execution time, runs an Electron-based decryptor to obtain a token from stdout, and proceeds to automate a check-in workflow with `powershell -ExecutionPolicy Bypass` and scheduling guidance consistent with persistence/recurrence. No explicit exfiltration or overt malware payload is shown in the snippet alone, but the combination of token-handling + runtime code execution + reduced auditing/provenance (silent error suppression and deletion of npm artifacts) warrants urgent review of `$DecryptJs` and `$CheckinPs1`, and verification of npm artifact integrity/pinning in the broader build/deployment process.

Confidence: 66%Severity: 78%
AnomalyLOW
scripts/decrypt-token.js

The code is readable and appears designed to support WorkBuddy/CodeBuddy check-in by retrieving a locally stored access token. It does not show evidence of malware, remote exfiltration, persistence, destructive behavior, or code obfuscation. However, it handles highly sensitive credentials and exposes the token through stdout, creating a significant local disclosure risk if invoked in logs, pipelines, or untrusted process contexts. Use should be restricted and output handling must prevent token leakage.

Confidence: 97%Severity: 67%
AnomalyLOW
scripts/setup.sh

This script is primarily an environment/runtime detector and token-decryption validator for WorkBuddy. No explicit malware behaviors (e.g., reverse shells, credential theft, or network exfiltration) are evident in this fragment. The main security concern is the optional auto-download-and-execute of electron@37 from the npm registry (without integrity verification or pinning in this script), which is a high-impact supply-chain trust expansion because the downloaded runtime is then used to execute the token decryption helper.

Confidence: 60%Severity: 50%
Audit Metadata
Analyzed At
Sep 28, 2026, 01:57 AM
Package URL
pkg:socket/skills-sh/cat-xierluo%2Flegal-skills%2Fworkbuddy-checkin%2F@13f83887c752e8bcd6791dfbef31b23658924f5162ea594540f134e8648d46a8