Posts

Showing posts with the label CI/CD Security

GitHub Actions Adds an Admission Gate; pull_request_target Still Needs a Trust Boundary

Image
Cover image: GitHub Actions workflow execution protections, admission gating, and pull_request_target trust boundaries. Photo on Unsplash Miles Park IT engineer and technology analyst based in Virginia. About the author 📌 Key Takeaways Admission Control vs Runtime Sandbox: GitHub Actions workflow execution protections (GA September 17, 2026) enforce actor, event, and file-targeted allowlists before runner startup, but do not sanitize untrusted code once a job begins execution. The pull_request_target Threat Surface: Workflows triggered by pull_request_target run in the context of the base branch with access to repository secrets; checking out and executing untrusted fork PR code remains a critical vulnerability path. November 2, 2026 Rollout Scope: GitHub's planned default block targets public repositories without existing event policies, leaving private/internal repositories and explicitly configured workflows under customer governance. Gi...

npm Stage-Only Tokens Add a Human Release Gate—but Remain Write Credentials

Image
Cover: illustrative coding photograph, not a screenshot of npm staged publishing. Photo on Unsplash Miles Park IT engineer and technology analyst based in Virginia, covering enterprise AI architecture, agentic workflows, and cloud infrastructure. About the author 📌 Key Takeaways Separate submission from release: npm’s Read and write (stage only) token decouples automated candidate submission ( npm stage publish ) from public distribution, enforcing an interactive 2FA human maintainer gate. Keep protecting the token: The token is not a read-only or harmless upload key; it retains package-write capabilities including mutating dist-tags and deprecating active versions. Choose authentication and approval separately: Authentication method (OIDC trusted publishing vs long-lived secrets) and release authority (direct publish vs staging) must be evaluated and configured as separate governance controls. npm’s Read and write (stage only) gr...