T08 · Insecure Dependencies
- Location
SKILL.md:4- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 4-12
Vulnerability Type: Supply-chain risk from an unpinned third-party dependency
Risk Level: MediumVulnerable Code Snippet:
markdown description: Browse and inspect Postman collections, requests, and environments from the terminal using pmctl. Use when you need to discover API endpoints, look up request details (method, URL, headers, body, query params), resolve environment variables to real base URLs, or construct curl commands from Postman data. Works with any Postman workspace. Requires pmctl to be installed (`pip install pmctl`). --- # pmctl — Postman CLI for API Discovery `pmctl` wraps the Postman API to let you browse collections, inspect requests, and resolve environment variables from the terminal. Use it to discover endpoints, construct curl commands, and understand APIs without opening the Postman GUI. **Install:** `pip install pmctl` **Source:** [github.com/wbingli/pmctl](https://github.com/wbingli/pmctl)Technical Analysis
The Skill directs users to install
pmctlfrom pip without specifying an exact version, verifying a cryptographic hash, or using a reviewed lockfile. Consequently, the effective package contents may change after this Skill has been audited. Linking to a GitHub repository does not establish that the package retrieved from the Python package index was built from the linked source or that its integrity has been verified.Python packages can run code during installation or when imported and executed. A compromised publisher account, malicious replacement release, or compromised distribution channel could therefore cause attacker-controlled code to run when a user follows the documented installation command.
This dependency is especially sensitive because the documented workflow supplies it with a Postman API key and uses it to access collections and unmasked environment values.
Attack Path
- An at ...[truncated 1160 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace the unbounded installation command with an exact, security-reviewed version pin, such as
pmctl==<reviewed-version>. - Distribute a reviewed requirements or lock file containing cryptographic hashes, and require hash verification during installation, for example through pip's
--require-hashesoption. - Document the expected package publisher, package index, version, and verified source-to-artifact provenance.
- Install the dependency in an isolated virtual environment rather than into a system-wide or privileged Python environment.
- Do not run installation or CLI commands as root or an administrator.
- Review each dependency update before changing the pinned version.
- Use a least-privilege Postman API key and avoid exposing unmasked environment values in logs, shared terminals, or command history.
- Replace the unbounded installation command with an exact, security-reviewed version pin, such as
