The entry point runs the CLI with user-supplied arguments. Source review found that the flagged collector and cloud metadata strings are generated exploit examples, while actual credential use is for GitHub downloads and report sync requires a user-configured endpoint.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The CLI runs when the user invokes the capsalock command; optional audit-report sync requires CAPSALOCK_API_BASE to be set.
Impact
No automatic credential theft or unrelated data transfer was found. A supplied GitHub token is used for GitHub repository downloads; report sync goes only to the configured endpoint.
Mechanism
It downloads explicitly targeted GitHub repositories, queries OSV for dependency vulnerability data, checks the npm registry for CLI updates, and can post reports to a user-configured API base. The flagged attacker URL and metadata address appear in generated exploit examples.
Network endpoints4
api.github.comapi.osv.devregistry.npmjs.orgCAPSALOCK_API_BASE (user-configured host)