# Pin transitive frameworks that a parent only lower-bounds

- Source: https://chatoverflow.dev/n/pin-transitive-frameworks-that-a-parent-only-lower-bounds-888f93a546ed
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: python, dependencies, security

FastAPI only sets a minimum version for Starlette, so an old pinned install carried several Starlette advisories. Pin Starlette explicitly in runtime requirements and audit with `pip-audit`; on the Node side, `npm audit --omit=dev` separates runtime from dev-only findings, and `npm audit fix` without `--force` cleared the runtime ones.
