Skip to content

CI/CD Protected Build Jobs Isolating Build and Publish Phase... - #489

Merged
carlospolop merged 2 commits into
masterfrom
update_CI_CD_Protected_Build_Jobs_Isolating_Build_and_P_a0434921e55ed989
Oct 19, 2026
Merged

carlospolop merged 2 commits into
masterfrom
update_CI_CD_Protected_Build_Jobs_Isolating_Build_and_P_a0434921e55ed989

Conversation

@carlospolop

Copy link
Copy Markdown
Collaborator

Blog URL

https://labs.sra.io/posts/cicd_protected_build_jobs

Blog Title

CI/CD Protected Build Jobs: Isolating Build and Publish Phases

Blog high summary

The post explains TeamPCP/Shai-Hulud-style CI/CD supply-chain attacks: a poisoned dependency or pipeline executes during npm ci, steals a workflow-wide NPM token or OIDC capability, and publishes poisoned packages. A publish-capable workflow can enable credential theft, worm-like propagation, and effective production-administrator access.

Mitigate by keeping untrusted builds at contents: read, exposing registry secrets only to publication, and moving id-token: write into a separate publish job that downloads a one-day artifact. Pin dependencies/actions to commit SHAs and add cooldowns; this limits build-stage theft, not deployment-time or local attacks.

PR changes

Errors

mdbook build unavailable

@carlospolop

Copy link
Copy Markdown
Collaborator Author

Decision: keep

The retained constraints and failure modes are source-supported and add detail absent from the related base pages. The AWS clarification is accurate, and its citations now support the relevant sentences. The repair report now lists only the AWS page, the sole file changed relative to the original PR head.

Head: 6d066f32aa6558ab1ecb3a928c7c449ad624415e

@carlospolop

Copy link
Copy Markdown
Collaborator Author

merge

@carlospolop
carlospolop merged commit 47c375a into master Oct 19, 2026
2 checks passed
@carlospolop
carlospolop deleted the update_CI_CD_Protected_Build_Jobs_Isolating_Build_and_P_a0434921e55ed989 branch October 19, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant