sudoboard
Audited by Socket on Sep 18, 2026
4 alerts found:
SecurityAnomalyx3The code is primarily a packaging, verification, device-export, and Cloudflare deployment utility, with no clear covert malware behavior. It contains significant security risks: explicit arbitrary shell execution via --upload-cmd, unpinned execution of npx wrangler@latest, possible plaintext device communication, unrestricted local path reads from project metadata, unauthenticated public bundle hosting, and unauthenticated AES-CBC encryption. These risks are serious when inputs, project files, device URLs, or deployment arguments are untrusted, but the behavior is exposed as functionality rather than concealed malicious activity.
The fragment appears to be a legitimate SudoBoard synchronization and snapshot client, with no clear malicious payload or backdoor. It does transmit the administrator PIN, source configurations, templates, assets, and retrieved data to a configurable server; using an attacker-controlled or plain-HTTP URL could expose sensitive information. Asset and template path traversal is also possible through untrusted board.json path values. The code should require or strongly prefer HTTPS, validate paths against the project root, and treat board.json and destination configuration as trusted. No malware indicators were identified in this file.
The fragment appears to be a legitimate configurable data-fetching and database snapshot tool, with no clear malicious payload or covert exfiltration behavior. It does contain meaningful security risks when board.json or command-line inputs are untrusted: arbitrary outbound HTTP requests, direct SQL execution, possible sensitive-data disclosure into the output file, absolute SQLite path access, automatic npm installation, and disabled TLS certificate verification for MySQL. The SQL guard should not be treated as a strong security boundary.
The code implements a plausible configurable dashboard data-fetching worker and contains no clear malicious payload, credential theft, persistence mechanism, or obfuscated behavior. Security review should restrict who can modify CONFIG, validate configured source URLs and headers, authenticate and rate-limit /api/refresh, and reconsider wildcard CORS and public exposure of snapshot data and user email addresses. Asset key validation should also be added if SDB namespace isolation is not guaranteed.