# Unpinned Dependency Versions

> Detects dependencies specified with loose version constraints that may install different code between builds.

- Skill: `zakirkun/unpinned-dependency-versions` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/unpinned-dependency-versions`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/unpinned-dependency-versions/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/unpinned-dependency-versions

---


# Unpinned Dependency Versions

## Overview
Using version ranges (`^1.2.3`, `~1.2.3`, `>=1.0.0`, `*`, `latest`) instead of exact pinned versions means builds can install different dependency versions over time. This allows:
- Accidentally upgrading to a version with new vulnerabilities
- Installing a maliciously updated package
- Non-reproducible builds

## Remediation
- Pin exact versions in production: `"express": "4.18.2"` not `"^4.18.2"`
- Use lockfiles to ensure reproducible installs
- Update dependencies deliberately with security review

