T03 · Remote Payload Retrieval and Execution
- Location
references/requirements.md:39- Finding
Unpinned Remote Git Package Installed at Application Runtime
- Content
View full analysis
- Remediation
View remediation
``` 2. Prefer an official, versioned package release when one is available. 3. Build the dependency into a wheel through a controlled CI pipeline. 4. Publish the wheel to a trusted artifact repository and verify it with a SHA-256 hash. 5. Install dependencies during the image build rather than from `app.py`. 6. Use a lockfile or hash-enforced requirements file for all direct and transitive dependencies. 7. Review and explicitly pin the runtime dependencies omitted by `--no-deps`. 8. Run the application with a minimally scoped token and without unnecessary mounted storage. ]]>
