harmonyos-code-review

Warn

Audited by Socket on Sep 7, 2026

1 alert found:

Security
SecurityMEDIUM
src/utils/commit-collector.ts

No clear evidence of embedded malware (no network/exfiltration, credential theft, or persistence) is present. However, the code executes shell commands via `child_process.execSync` using a command string built from interpolated `branch/since/until/maxCount` without robust validation/argument-safe APIs, which is the primary command-injection risk. Additionally, it exports repository-controlled text into CSV without preventing spreadsheet formula injection, and it writes to an unvalidated `outputPath`, creating a potential unsafe-write risk if options are untrusted.

Confidence: 78%Severity: 70%
Audit Metadata
Analyzed At
Sep 7, 2026, 10:53 AM
Package URL
pkg:socket/skills-sh/aresbit%2Fmatebot2tg%2Fharmonyos-code-review%2F@38bb14ae187b9e2427657346b2c25f07219866693c1199df88ec5271dd604e8d