T08 · Insecure Dependencies
- Location
references/server-setup-runbook.md:26- Finding
Mutable Third-Party Source and Dependencies Are Installed Without Integrity Pinning
- Content
View full analysis
Vulnerability Details
File Location:
references/server-setup-runbook.md, lines 26–48
Vulnerability Type: Unpinned third-party code and dependency installation
Risk Level: MediumVulnerable Code
bash git clone https://github.com/alkindivv/Proxima /Proxima id proxima >/dev/null 2>&1 || useradd -m -s /bin/bash proxima chown -R proxima:proxima /Proximabash runuser -u proxima -- bash -lc 'cd /Proxima && npm install'Technical Analysis
The repository is cloned from its mutable default branch without specifying or verifying a reviewed release tag or full commit hash. The subsequent
npm installresolves and installs third-party dependency content at deployment time and may execute npm lifecycle scripts.As a result, the effective code installed by the Skill can change after this Skill has been reviewed. A compromised upstream repository, dependency release, maintainer account, or npm package could introduce code that is executed during installation or when the persistent Proxima service starts.
Attack Path
- An attacker compromises the upstream Proxima repository, an npm dependency, or a relevant publisher account.
- The attacker adds malicious application code or an npm lifecycle script.
- An agent follows the runbook and clones the current default branch.
- The agent runs
npm installas theproximaaccount. - The malicious lifecycle script executes during installation, or the modified application executes when
proxima-app.servicestarts. - The payload gains access to resources available to the
proximaaccount, including application data, browser sessions, provider credentials or cookies accessible to the application, and loopback-only Proxima interfaces.
Impact Assessment
Successful exploitation provides code execution with the privileges of the
proximaruntime account. This does not directly grant root privileges, but it can ex ...[truncated 252 chars]- Remediation
View remediation
Remediation Suggestions
- Pin Proxima to a reviewed release and immutable full commit hash.
- Verify the checked-out commit against the expected hash before installing or running it.
- Require a reviewed npm lockfile and use
npm ciinstead ofnpm install. - Verify package integrity and review all required npm lifecycle scripts.
- Consider initially installing with
npm ci --ignore-scripts, then explicitly enable only scripts that have been reviewed and are necessary. - Perform dependency vulnerability and provenance checks before deployment.
- Document an explicit upgrade process rather than automatically consuming the latest upstream branch.
