T08 · Insecure Dependencies
- Location
references/railpack.md:198- Finding
Unpinned npm Scaffolding Packages Permit Mutable Third-Party Code Execution
- Content
View full analysis
- Remediation
View remediation
. -- --template react npm create astro@ ``` 2. Periodically review and deliberately update pinned versions rather than resolving mutable releases at execution time. 3. Require explicit user confirmation before downloading or executing any scaffolding package. 4. Keep scaffolding outside the deployment Skill because it is not necessary for `railway up`. 5. Preserve and enforce the `Bash(railway:*)` allowlist so the Skill cannot directly execute npm. 6. Run unavoidable generators in a restricted environment without production secrets, deployment tokens, SSH credentials, or write access outside the intended project directory. 7. Review generated files and dependency manifests before installation or deployment. ]]>
