T08 · Insecure Dependencies
- Location
pyproject.toml:6- Finding
Unbounded Third-Party SDK Dependency Permits Unreviewed Releases
- Content
View full analysis
Vulnerability Details
File Location:
pyproject.toml:6-8; duplicated inSKILL.md:15-18
Vulnerability Type: Unbounded third-party dependency / supply-chain risk
Risk Level: MediumComplete vulnerable configuration (
pyproject.toml:6-8):toml dependencies = [ "agentlink-sdk>=1.0.0", ]Corresponding Skill dependency declaration (
SKILL.md:15-18):yaml python: - agentlink-sdk>=1.0.0Technical Analysis
The
agentlink-sdkdependency is constrained only by a minimum version. A package resolver may therefore install any later release without that release having been reviewed with this Skill. The project does not include an exact version pin, lockfile, or package hashes to guarantee installation of a known artifact.This exposure is security-sensitive because the SDK is initialized inside the Agent process, automatically reads
AGENTLINK_API_KEYfrom the environment, communicates with an external cloud service, and provides interfaces for browser automation, shell execution, Windows desktop control, filesystem access, clipboard access, process management, and registry operations.This finding does not establish that the current SDK release is malicious. It establishes that the dependency policy permits a future compromised, malicious, or otherwise unsafe release to become part of the effective Skill implementation without a corresponding change to this repository.
Attack Path
- An attacker compromises the upstream
agentlink-sdkpublishing account, release process, distribution channel, or a future package release. - The attacker publishes a version newer than
1.0.0containing malicious package installation or runtime behavior. - During installation or dependency resolution, the
agentlink-sdk>=1.0.0constraint accepts the attacker-controlled release. - The Agent imports or initializes the installed SDK when this Skill is used.
- Malicious c ...[truncated 1045 chars]
- An attacker compromises the upstream
- Remediation
View remediation
Remediation Suggestions
-
Replace the open-ended dependency constraint with an exact, security-reviewed version, for example:
toml dependencies = [ "agentlink-sdk==1.2.0", ]Select the exact version only after verifying that it is the intended trusted release.
-
Apply the same exact constraint in
SKILL.mdso the metadata and package configuration cannot resolve different versions. -
Generate and commit a lockfile appropriate to the build workflow. Require cryptographic hashes for resolved distributions where supported, such as through a hash-locked requirements file.
-
Install packages only from an explicitly configured trusted package index. Disable unintended fallback indexes to reduce dependency-confusion exposure.
-
Review SDK release notes, source changes, maintainership, and artifact provenance before updating the pin. Perform updates through a controlled pull request rather than automatic unconstrained resolution.
-
Add automated dependency and provenance scanning to CI, including vulnerability advisories, package integrity verification, and alerts for ownership or publishing anomalies.
-
Restrict
AGENTLINK_API_KEYto the minimum required permissions and usage scope, rotate it periodically, and ensure it is injected only at runtime. Monitor the associated account for anomalous sandbox creation or API consumption. -
Run the Agent process with least privilege and prevent it from accessing unrelated host secrets, credentials, and files, limiting the impact of a compromised dependency.
-
