T08 · Insecure Dependencies
- Location
SKILL.md:20- Finding
Unpinned Third-Party CLI Installation Creates Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 20-21
Vulnerability Type: Unpinned executable dependency installation
Risk Level: MediumVulnerable Code
bash uv tool install baserow-cli # or: pip install baserow-cli baserow config init # interactive setup wizardTechnical Analysis
The documented installation commands retrieve and install the current
baserow-clirelease from the configured Python package index without specifying an exact version, validating package hashes, using a locked dependency set, or verifying release provenance.Because the resolved package and its transitive dependencies can change after the Skill has been reviewed, the commands create a mutable code-execution boundary. A compromised package maintainer account, malicious future release, dependency compromise, or package-index attack could cause an agent following these instructions to install and execute attacker-controlled code.
The subsequent configuration and use of the CLI may expose the installed process to
BASEROW_TOKEN,BASEROW_URL, and Baserow data accessible to the user.Attack Path
- An attacker compromises
baserow-cli, one of its dependencies, a maintainer account, or the configured package index. - The attacker publishes or serves a malicious release.
- A user or agent follows the unpinned
uv tool install baserow-cliorpip install baserow-cliinstruction. - The package manager resolves the attacker-controlled release because no reviewed version or package hash is required.
- Malicious code executes during installation, initialization, or later CLI invocation with the permissions of the invoking user.
- The code may read accessible environment variables or configuration, including Baserow credentials, and use those credentials against the configured Baserow service.
Impact Assessment
Successful exploitation could provide code execution with the invoking user's privileges. The resulting sco ...[truncated 392 chars]
- An attacker compromises
- Remediation
View remediation
Remediation Suggestions
- Pin
baserow-clito an exact, reviewed version rather than resolving the latest available release. - Install from a lock file or requirements file containing cryptographic hashes for the package and all transitive dependencies.
- Document and enforce a trusted package index instead of inheriting an arbitrary local index configuration.
- Verify package provenance, release signatures, and the canonical upstream source before approving upgrades.
- Review new versions and dependency changes before updating the pin.
- Run the CLI in a least-privilege environment with access only to the Baserow credentials and local resources required for the requested task.
- Scope the Baserow token to the minimum necessary permissions and rotate it if package compromise is suspected.
- Pin
