René's URL Explorer Experiment


Title: ci(release): adopt npm staged publishing via OIDC by mikolalysenko · Pull Request #87 · SocketDev/socket-patch · GitHub

Open Graph Title: ci(release): adopt npm staged publishing via OIDC by mikolalysenko · Pull Request #87 · SocketDev/socket-patch

X Title: ci(release): adopt npm staged publishing via OIDC by mikolalysenko · Pull Request #87 · SocketDev/socket-patch

Description: Summary Switch npm-publish to npm stage publish so releases go through npm's staging queue and require a 2FA-gated human approval before becoming installable. Bump actions/setup-node to v6.4.0 with package-manager-cache: false (kills the always-auth deprecation warning from v4). Drop --provenance — OIDC trusted publishing emits provenance automatically. Add a step that writes per-package review links and an org-dashboard URL to the workflow run's step summary, plus a ::notice:: pointing maintainers straight at the staged-packages dashboard. Why The previous release failed with 403 OIDC permission denied for this action because npm's trusted-publisher rules (effective 2026-05-20) require the allowed-action checkbox to be explicit, and direct npm publish from CI is no longer the recommended path for trusted-publisher-driven workflows. Staged publishing pairs with trusted publishing to give "proof of presence" on every release — a stolen OIDC token cannot ship a malicious version without a maintainer's 2FA approval. Required manual setup (one-time, per package) For each of the 15 packages, visit https://www.npmjs.com/package/@socketsecurity//access and configure a Trusted Publisher: Publisher: GitHub Actions Organization: SocketDev Repository: socket-patch Workflow filename: release.yml Environment: (blank) Allowed actions: ✅ npm publish and ✅ npm stage publish Packages: socket-patch, socket-patch-android-arm64, socket-patch-darwin-{arm64,x64}, socket-patch-linux-{arm,arm64,ia32,x64}-{gnu,musl}, socket-patch-win32-{arm64,ia32,x64}. Without this, the workflow will still 403. Maintainer approval flow (per release) After the workflow finishes, the run page's step summary lists every staged version with its review URL. Approve platform packages first (so optionalDependencies resolution sees binaries when the main package goes live), then the main @socketsecurity/socket-patch package. Two paths: Web: click each link → Approve (2FA prompt inline). CLI: npm stage list then npm stage approve per package (requires npm@11.15.0+ locally + 2FA device). npm stage approve cannot use OIDC tokens by design, so this step is necessarily a human + 2FA action. Cleanup follow-up The previous failing run showed NODE_AUTH_TOKEN: XXXXX-... getting auto-injected from an org/repo secret of that name. With OIDC it's unused (npm 11.15.0+ prefers OIDC env vars over _authToken), but the secret should eventually be deleted to remove the fallback path. Test plan Configure trusted publishers on all 15 packages on npmjs.com (manual prerequisite). Bump Cargo.toml to a new patch version + add CHANGELOG.md entry. Trigger Release workflow with dry-run: false. Confirm npm-publish job succeeds with no always-auth warning and no 403. Confirm the run's step summary lists 15 packages with review URLs. Approve platform packages, then the main package; verify npm install @socketsecurity/socket-patch@ resolves with the right binary and shows "Built and signed on GitHub Actions" provenance in the UI. 🤖 Generated with Claude Code

Open Graph Description: Summary Switch npm-publish to npm stage publish so releases go through npm's staging queue and require a 2FA-gated human approval before becoming installable. Bump actions/setup-node to v6.4.0...

X Description: Summary Switch npm-publish to npm stage publish so releases go through npm's staging queue and require a 2FA-gated human approval before becoming installable. Bump actions/setup-node to v6...

Opengraph URL: https://github.com/SocketDev/socket-patch/pull/87

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9aa67574-3ee7-f7c4-07b4-b4fd675390a7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA15C:9D1CD:16A2CEC:1E9FDC0:6A4F239E
html-safe-nonce76578ee76c08bd6d02eb7e7c8a970252b7203437d0407ab0849fcb6b14bfdf6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTVDOjlEMUNEOjE2QTJDRUM6MUU5RkRDMDo2QTRGMjM5RSIsInZpc2l0b3JfaWQiOiI2Mjk5MTM0OTY1MjIyMTU1MTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac69b7d9cbb01f2d29aec58133cae5e0386c8e9afa2dfa57c1f029ef66378a5b8c
hovercard-subject-tagpull_request:3756996902
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SocketDev/socket-patch/pull/87/files
twitter:imagehttps://avatars.githubusercontent.com/u/231686?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/231686?s=400&v=4
og:image:altSummary Switch npm-publish to npm stage publish so releases go through npm's staging queue and require a 2FA-gated human approval before becoming installable. Bump actions/setup-node to v6.4.0...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/SocketDev/socket-patch git https://github.com/SocketDev/socket-patch.git
octolytics-dimension-user_id69326764
octolytics-dimension-user_loginSocketDev
octolytics-dimension-repository_id1093661456
octolytics-dimension-repository_nwoSocketDev/socket-patch
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1093661456
octolytics-dimension-repository_network_root_nwoSocketDev/socket-patch
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SocketDev/socket-patch/pull/87/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-patch%2Fpull%2F87%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-patch%2Fpull%2F87%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=SocketDev%2Fsocket-patch
Reloadhttps://github.com/SocketDev/socket-patch/pull/87/files
Reloadhttps://github.com/SocketDev/socket-patch/pull/87/files
Reloadhttps://github.com/SocketDev/socket-patch/pull/87/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/87/files
SocketDev https://github.com/SocketDev
socket-patchhttps://github.com/SocketDev/socket-patch
Notifications https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Fork 0 https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Star 3 https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Code https://github.com/SocketDev/socket-patch
Issues 1 https://github.com/SocketDev/socket-patch/issues
Pull requests 1 https://github.com/SocketDev/socket-patch/pulls
Actions https://github.com/SocketDev/socket-patch/actions
Models https://github.com/SocketDev/socket-patch/models
Security and quality 0 https://github.com/SocketDev/socket-patch/security
Insights https://github.com/SocketDev/socket-patch/pulse
Code https://github.com/SocketDev/socket-patch
Issues https://github.com/SocketDev/socket-patch/issues
Pull requests https://github.com/SocketDev/socket-patch/pulls
Actions https://github.com/SocketDev/socket-patch/actions
Models https://github.com/SocketDev/socket-patch/models
Security and quality https://github.com/SocketDev/socket-patch/security
Insights https://github.com/SocketDev/socket-patch/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FSocketDev%2Fsocket-patch%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FSocketDev%2Fsocket-patch%2Fissues%2Fnew%2Fchoose
Mikola Lysenko (mikolalysenko)https://github.com/mikolalysenko
mainhttps://github.com/SocketDev/socket-patch/tree/main
ci/npm-staged-publishinghttps://github.com/SocketDev/socket-patch/tree/ci/npm-staged-publishing
Conversation 0 https://github.com/SocketDev/socket-patch/pull/87
Commits 1 https://github.com/SocketDev/socket-patch/pull/87/commits
Checks 43 https://github.com/SocketDev/socket-patch/pull/87/checks
Files changed https://github.com/SocketDev/socket-patch/pull/87/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/87/files
ci(release): adopt npm staged publishing via OIDC https://github.com/SocketDev/socket-patch/pull/87/files#top
Show all changes 1 commit https://github.com/SocketDev/socket-patch/pull/87/files
df3dd27 ci(release): adopt npm staged publishing via OIDC mikolalysenko May 27, 2026 https://github.com/SocketDev/socket-patch/pull/87/commits/df3dd277e627ce652956ccceb673767096bc37c9
Clear filters https://github.com/SocketDev/socket-patch/pull/87/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/87/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/87/files
.github/workflows/release.ymlhttps://github.com/SocketDev/socket-patch/pull/87/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
View file https://github.com/SocketDev/socket-patch/blob/df3dd277e627ce652956ccceb673767096bc37c9/.github/workflows/release.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-patch/pull/87/{{ revealButtonHref }}
https://github.com/SocketDev/socket-patch/pull/87/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
https://github.com/SocketDev/socket-patch/pull/87/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
https://github.com/SocketDev/socket-patch/pull/87/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
https://github.com/SocketDev/socket-patch/pull/87/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/87/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.