office-review-pass
Audited by Socket on Aug 6, 2026
1 alert found:
AnomalyThis module itself contains no clear malicious payloads (no networking, no subprocess spawning, no credential theft, no obvious obfuscation). The dominant risk is supply-chain/path-injection: it dynamically modifies sys.path based on WORK_FOLDER_ROOT, parent directories of the script, and a user-specific OneDrive folder, then imports ane_package from the discovered location without integrity checks. If an attacker can influence these paths or place a malicious ane_package package there, arbitrary code execution becomes possible via imported ane_package modules. Treat the import bootstrap as the critical risk and validate/control the provenance of ane_package and the values of WORK_FOLDER_ROOT in the execution environment.