microsoft-365
Audited by Socket on Aug 24, 2026
2 alerts found:
SecurityAnomalySUSPICIOUS. The Microsoft 365 access scope matches the stated purpose, and the main API destination is Microsoft Graph, but the trust model is weakened by third-party skill installation and especially by the default use of a shared Azure AD client ID not controlled by the project. This is not confirmed malware, but it is a medium-high risk skill because users may unknowingly grant Microsoft 365 access to an unrelated app identity and can further route retrieved data through arbitrary relays.
This module is primarily a runtime bootstrapper: on failure to import msal, it creates/uses a dedicated virtual environment, installs dependencies from a package-local requirements.txt via pip, and then re-executes the process using the venv python. While the code fragment does not show overt malicious payloads (exfiltration/backdoor/obfuscation), it introduces a meaningful supply-chain and control-flow risk by performing automatic pip installs at import-time based on local requirements.txt contents and potentially attacker-influenced venv path selection via SDLC_SKILLS_CACHE_DIR. In a hardened environment, this behavior should be reviewed for pinning/lock strategy and controlled installation permissions; additionally, the truncated/incomplete end-of-snippet reduces confidence about all edge-case flows.