bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run - #522
bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run#522dependabot[bot] wants to merge 4 commits into
Conversation
dc26cc3 to
e19a3d7
Compare
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.10.1 to 3.0.0. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
e19a3d7 to
7820139
Compare
Dependency Update AnalysisSummary:
|
| Check | Result |
|---|---|
| Breaking changes | actions/core 3.0.0 is ESM-only; CommonJS consumers must use dynamic import() |
| Testable in PR | snapshoty/run in this repo |
Changelog highlights (v1.10.1 → v3.0.0)
- Release notes state a breaking change in
3.0.0: ESM-only. - Intermediate major updates include Node 24 alignment and dependency bumps (
actions/http-client,actions/exec). - No explicit CVE IDs / GHSA advisories are listed in release notes for this range.
- Transitive security-relevant surface changed (newer HTTP stack including
undici), but that does not offset the immediate module-format break.
Usage in this repository
snapshoty/run/index.js uses CommonJS import and core APIs:
snapshoty/run/index.js:1→const core = require('@actions/core');snapshoty/run/index.js:7-12→core.getInput(...)snapshoty/run/index.js:30and:40→core.setSecret(...)snapshoty/run/index.js:52→core.isDebug()snapshoty/run/index.js:59→core.setFailed(...)
The action is configured as a Node action (snapshoty/run/action.yml:23-24, using: 'node24', main: 'dist/index.js').
Compatibility assessment (CVE-focused)
- Verified incompatibility: local install/build for
snapshoty/runfails after this bump duringncc buildwith:Package path . is not exported from package ... node_modules/@actions/core``
- Root cause: repository code still uses CommonJS
require('@actions/core'), while v3 is ESM-only. - CVE-focused view:
- No release-note CVE/GHSA entries were identified for this update.
- Internal dependency shifts may preserve or slightly improve baseline HTTP security posture.
- Practical risk here is a functional availability regression (action packaging/runtime break), not an exploitable-security reduction in this repo.
Risk conclusion: high.
Labels Applied
No labels applied. oblt-aw/ai/merge-ready criteria are not met (overall risk is high and breaking change affects current repository usage).
Note
🔒 Integrity filtering filtered 1 item
Integrity filtering activated and filtered the following item during workflow execution.
This happens when a tool call accesses a resource that does not meet the required integrity or secrecy level of the workflow.
- pr:bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run #522 (
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".)
What is this? | From workflow: Observability Agentic Workflow Entrypoint
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
|
@copilot review if the changes will be enough for the snapshoty/run action |
…rebuild dist Agent-Logs-Url: https://github.com/elastic/oblt-actions/sessions/48448714-318b-4c75-a42c-a2429334a937 Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
The original dependency bump (package.json + package-lock.json) wasn't enough —
Fixed in commit
|
Dependency Update AnalysisSummary:
|
| Check | Result |
|---|---|
| Breaking changes | 3.0.0 as ESM-only (packages/core/RELEASES.md) |
| Testable in PR | ./snapshoty/run or elastic/oblt-actions/snapshoty/run; no-test.yml covers this path with "No test to run" |
Changelog highlights (v1.10.1 → v3.0.0)
@actions/core3.0.0introduces a breaking change: ESM-only packaging.- PR adapts accordingly:
- Converts
snapshoty/run/index.jsfromrequiretoimport. - Adds
"type": "module"insnapshoty/run/package.jsonand bundleddist/package.json. - Rebuilds
dist/index.js.
- Converts
- Transitive lockfile shifts relevant to behavior/security:
@actions/http-client2.1.0→4.0.0(via@actions/core).undiciadded at6.24.1.uuidremoved from this dependency path.
Usage in this repository
- Runtime usage in this action is limited to:
core.getInput(...)core.setSecret(...)core.isDebug()core.setFailed(...)
- Source file:
snapshoty/run/index.js. - No in-repo workflow uses this action path directly (
./snapshoty/run) for PR validation. - The action is primarily consumed externally (documented in
snapshoty/run/README.mdaselastic/oblt-actions/snapshoty/run@v1).
Compatibility assessment (including CVE/security focus)
- Direct compatibility:
- The ESM migration in this PR matches the upstream breaking change and aligns with action runtime
node24(snapshoty/run/action.yml), so the direct@actions/coreupgrade is structurally compatible.
- The ESM migration in this PR matches the upstream breaking change and aligns with action runtime
- CVE/advisory-related findings:
@actions/corerelease notes for3.0.0do not list CVE/GHSA items.- Transitive
undicipath includes a security release:v6.23.0fixed GHSA-g9mf-h72j-4rw9 / CVE-2026-22036 (unbounded content-encoding chain leading to CPU/memory DoS). Lockfile resolves toundici 6.24.1, which includes that fix lineage.
- Internal implementation changes affecting exposure:
- HTTP internals move through newer
@actions/http-client/undicistack. This generally reduces exposure to the known undici decompression-chain DoS class compared to vulnerable ranges. - For this repo’s current usage (
getInput,setSecret,isDebug,setFailed), no direct HTTP client API is called, so vulnerable surface is limited in this action’s code path.
- HTTP internals move through newer
- Potential regressions / new attack surface:
- Main regression vector is ESM module loading/tooling assumptions (already addressed in this PR).
- No new authn/authz, crypto/TLS, or deserialization logic is introduced in this action code itself.
- Residual risk remains because this path is not PR-validated in-repo.
Overall risk level: moderate (major upgrade + untestable production-facing action path in PR context).
Labels Applied
No labels applied. oblt-aw/ai/merge-ready was not applied because the updated runtime dependency path is not testable in PR context and has production impact.
What is this? | From workflow: Observability Agentic Workflow Entrypoint
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
|
A newer version of @actions/core exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Bumps @actions/core from 1.10.1 to 3.0.0.
Since
@actions/core3.0.0 is now a pure ESM package, the following additional changes were required to make the action fully functional:index.jsfrom CommonJS (require) to ESM (import) syntax"type": "module"topackage.jsonfor...ofloopdist/index.jsusingnccin ESM mode