oh-capi-xts-gen

Warn

Audited by Socket on Sep 16, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/async_build_manager.py

The code is a build-management utility, not evidence of malware. Its subprocess calls are directed at a local build-control script and do not use shell command concatenation. The primary security concern is insufficient validation of suite_name, which can enable path traversal when reading logs or status files and when deleting files. Broad cleanup of the shared /tmp directory and unsafe temporary-file handling add operational and multi-user risks. Review async_build.sh separately because it is the actual build execution component.

Confidence: 98%Severity: 52%
AnomalyLOW
scripts/cleanup_group.sh

The code is a straightforward but destructive cleanup script. It shows no clear malicious behavior, data exfiltration, or backdoor functionality. Its main security risk is that BUILD.gn-derived suite paths and the user-supplied OH_ROOT are insufficiently validated before recursive deletion, allowing accidental or potentially attacker-influenced deletion outside the intended scope. Restrict suite paths to verified descendants of the subsystem directory and validate OH_ROOT before deletion.

Confidence: 96%Severity: 62%
Audit Metadata
Analyzed At
Sep 16, 2026, 02:26 AM
Package URL
pkg:socket/skills-sh/openharmonyinsight%2Fopenharmony-skills%2Foh-capi-xts-gen%2F@40cca77c684dda0a60001c3453ec59dad04d468d9cc1f3b6b791332da91ecc6a