T08 Β· Insecure Dependencies
- Location
scripts/package-lock.json:14- Finding
Security-Sensitive Dependency Is Resolved Through a Non-Default Package Mirror
- Content
View full analysis
=18" } } ``` Related instructions from `SKILL.md:42-47`: ```powershell git clone https://github.com/zcz-user/codex-auth-session-refresh.git cd codex-auth-session-refresh npm install .\login-profile.ps1 # Login ChatGPT β press Enter .\status.ps1 # Check Codex auth state ``` ### Technical Analysis The lockfile resolves `playwright-core` through `registry.npmmirror.com` rather than the default npm registry. This dependency executes browser automation in a process that handles an authenticated ChatGPT browser profile and writes Codex credentials. The integrity hash provides protection only against an archive differing from the version recorded in the current lockfile. It does not establish trust in the repository or protect users who clone a later mutable revision containing both a changed lockfile and a corresponding malicious integrity value. The installation workflow also directs users to clone a mutable GitHub repository and execute PowerShell tools that are not included in the audited artifact. Consequently, the behavior of `login-profile.ps1`, `status.ps1`, and the other documented PowerShell entry points could not be verified. Although `package-lock.json` pins the currently resolved archive to version `1.60.0`, `packag ...[truncated 1621 chars]- Remediation
View remediation
