T08 · Insecure Dependencies
- Location
bin/uno.py:7- Finding
Unpinned External Package Executes All Security-Critical CLI Behavior
- Content
View full analysis
Vulnerability Details
File Location:
bin/uno.py:7-12, 47-72; related installation instructions inSKILL.md:33-40
Vulnerability Type: Supply-chain exposure through an unpinned, automatically upgraded dependency
Risk Level: HighVulnerable Code
python This file is a thin dispatcher. The real CLI lives in the ``uno-cli`` PyPI package — install once with:: python3 -m pip install --user --upgrade 'uno-cli>=1.0.2' After that, ``python bin/uno.py <args>`` behaves identically to ``uno <args>``. This skill intentionally does not bundle the CLI source so that bug fixes and new features land everywhere via ``pip install --upgrade uno-cli`` instead of requiring a new skill release.python def _report_missing(): sys.stdout.write( json.dumps( { "error": "uno-cli not installed", "hint": ( "Install the Uno CLI first: " "python3 -m pip install --user --upgrade 'uno-cli>=1.0.0'" ), "install_url": "https://pypi.org/project/uno-cli/", }, ensure_ascii=False, ) + "\n" ) sys.exit(2) try: from uno_cli.cli import main except ModuleNotFoundError: _report_missing() os.environ.setdefault("UNO_CALLER_SKILL", "uno-cli") if __name__ == "__main__": main()Related Skill instructions:
bash python3 -m pip install --user --upgrade 'uno-cli>=1.0.2'Technical Analysis
The bundled script does not implement the advertised authentication, credential protection, secret stripping, dry-run isolation, request validation, or network behavior. It imports
mainfrom the externally installeduno-clipackage and transfers execution to it.The version constraint is open-ended, and the installation command explicitly uses
--upgrade. Consequently, an ...[truncated 2324 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to an exact reviewed version rather than using an open-ended lower bound.
- Remove
--upgradefrom routine installation instructions. - Require package hashes through a locked requirements file, for example with hash-checking mode.
- Align the missing-package hint with the exact approved version; do not recommend the weaker
>=1.0.0constraint. - Vendor or include the security-critical CLI source so credential and network behavior can be audited with the Skill.
- Review every dependency update before changing the pin and document the reviewed package artifact hash.
- Where supported, verify package signatures or provenance attestations.
- Execute the CLI with only the filesystem and network permissions needed for the requested operation.
