You need a Python dependency.
Your project installs a package from a Git URL, pinned to commit C.
YOU / BEFORE INSTALL01 / 05
SOURCE IN YOUR DEPENDENCY LIST
https://mirror.example.test/package.git
PINNED REVISION
C
DELIVERY IN THIS EXAMPLE
Attacker-controlled object mirror · both trees included