T08 · Insecure Dependencies
- Location
SKILL.md:53- Finding
Unpinned Third-Party Package with Automated Secondary Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 53-55
Vulnerability Type: Supply-chain risk from unpinned executable dependencies
Risk Level: MediumVulnerable Code
bash npm install -g lynkr lynkr-setup # Auto-installs Ollama + pulls a model lynkr # Start the proxyTechnical Analysis
The installation instructions globally install the
lynkrnpm package without pinning an exact version and then execute its setup command. The package version resolved during installation can therefore change independently of the reviewed Skill.The setup command is documented as automatically installing Ollama and downloading a model, introducing additional executable software and artifacts without specifying their versions, download locations, signatures, or cryptographic checksums. Because the audited project contains only
SKILL.md, neither the npm package implementation nor the secondary installation process can be independently reviewed from this artifact.The global installation scope also exposes package-provided commands outside an isolated project environment. Any npm lifecycle scripts associated with the resolved package may execute during installation with the invoking user's privileges.
Attack Path
- An attacker compromises or replaces a future
lynkrnpm release, its dependency chain, or an artifact retrieved bylynkr-setup. - A user follows the documented command, which resolves the package version available at installation time rather than a specifically reviewed release.
- Malicious npm lifecycle code or setup logic executes with the user's privileges.
- The secondary installer may retrieve and execute additional compromised software or model artifacts.
- The malicious code may access resources available to the user, including local files, provider credentials, AI prompts, and system or application configuration.
Impact Assessment
Successful exploitation could result in arbitrary code execu ...[truncated 553 chars]
- An attacker compromises or replaces a future
- Remediation
View remediation
Remediation Suggestions
-
Pin the npm package to an exact reviewed version, for example:
bash npm install -g lynkr@8.0.1 -
Prefer a project-local installation governed by a committed lockfile instead of a global installation.
-
Publish and reference auditable source code for
lynkr-setupand all installation scripts. -
Pin Ollama and downloaded model artifacts to specific reviewed versions.
-
Document every artifact source and verify downloads using trusted digital signatures or published cryptographic hashes.
-
Avoid automatic secondary installation where possible. Display the intended system changes and require explicit user confirmation before downloading or executing additional software.
-
Disable or strictly review npm lifecycle scripts during installation where operationally feasible.
-
Run the gateway under a dedicated, least-privileged account and isolate it from unrelated credentials and sensitive files.
-
