Points the prodsec orb at the dev build of snyk/prodsec-orb#166 so this repository
can exercise the agentic Open Source fix before that PR is released, and switches
it on for the code-analysis job.
- prodsec orb: snyk/prodsec-orb@1 -> @dev:147560e6e116bd16f2ca8e66dab50798323e77f6
- open-source-scan: high -> medium
- open-source-agentic-fix-enabled: true
- prodsec-orb-runtime added to the code-analysis contexts, which is where
REMY_LITELLM_API_KEY, REMY_LITELLM_BASE_URL, REMY_LITELLM_MODEL and REMY_GITHUB_TOKEN come
from. Without it the feature skips, naming what is missing.
When the Enhanced Gate blocks an Open Source scan the job still fails exactly as
it does today, and in addition `snyk fix --agentic` runs at the same severity
threshold the gate uses and raises a pull request against the branch that failed.
The fix step always exits 0, so it cannot turn a passing build red or mask a
failure.
Worth knowing before this merges:
- Lowering to medium is a real behavioural change on its own: the gate can now
block on medium-severity findings that previously passed. This repository also
sets open-source-block-ignore-sla, so the gate already ignores remediation SLA -
the two together widen what blocks considerably. Both this repository's AI
reviewer and the orb author flagged that the most likely first outcome is a
blocked main pipeline, and that the fix may exceed its own safety caps (50 files
/ 5000 lines / 1MB patch) and refuse to push anything. Reverting this one line to
high is a reasonable call if the trial should be informative rather than broad.
- Enabling the feature adds a github-cli/install step that runs on every build of
this repository, not only blocked ones, because a CircleCI step cannot be made
conditional on a runtime value. If that install fails it fails the job even when
the gate passed.
- `snyk fix` runs this repository's dependency lifecycle scripts in the same job
that holds the context secrets. The LLM key, the Snyk token and - since the orb
now exports GH_TOKEN for the GitHub CLI - a repository-write GitHub token are all
readable by those scripts.
The dev orb reference is mutable and expires after 90 days, so this must move back
to snyk/prodsec-orb@1 once #166 is released - otherwise the orb stops resolving and
blocks every pull request.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Snyk agentic fix
The Snyk Open Source quality gate blocked
feat/AG-387-trial-agentic-fix. This branch was produced bysnyk fix --agentic, working on vulnerabilities at or above medium severity — the same threshold that gate is configured with.7 of 9 fixed.
Fixed
ts-binary-wrapper/package.json@sentry/nodewithin the v7 series. While there are no direct breaking API removals in this range, there is a significant behavioral change related to OpenTelemetry and numerous deprecations in preparation for the next major version. Key Changes: - Default OpenTelemetry Tracer: The SDK now defaults to a minimal, Sentry-specific tracer provider instead of the full OpenTelemetryBasicTracerProviderto reduce performance overhead. This is a behavioral change that could impact users with advanced OpenTelemetry setups. [1, 2] - Deprecations: Many functions and patterns were deprecated in later versions of v7 in preparation for v8. This includes the deprecation ofaddGlobalEventProcessorin favor ofaddEventProcessor(v7.85.0) and changes to how spans are accessed on the scope (v7.93.0). [10] Recommendation: - If you rely on specific OpenTelemetry SDK features (like custom span processors), you may need to opt-out of the new minimal tracer. You can restore the previous behavior by settingopenTelemetryBasicTracerProvider: truein yourSentry.init()options. [1] - Review the code for usage of deprecated functions to prepare for future upgrades to v8. A migration tool,@sentry/migr8, is available to help automate some of these changes. [10] Source: Sentry JavaScript SDK Changelog, Sentry v7 Deprecationspackage.jsonpackage.jsongotcould be manipulated to follow a redirect to a UNIX socket. This upgrade is recommended to ensure security. There are no documented breaking API changes in this version range. The update hardens redirect behavior without altering the public API. Source: Package documentation and security advisories.package.jsonmarkedfrom4.0.1to4.0.10. This range of patch releases includes bug fixes and security vulnerability patches. No breaking changes are expected in this upgrade. Source: Release notespackage.jsonmarkedfrom4.0.1to4.0.10. This range of patch releases includes bug fixes and security vulnerability patches. No breaking changes are expected in this upgrade. Source: Release notespackage.jsontarpackage are generally limited to bug fixes and security patches. No breaking changes are expected. Source: Package documentationpackage.json1.10.2to1.10.3. According to the package's semantic versioning policy, patch releases are intended for bug fixes and should not contain breaking changes. No specific release notes detailing breaking changes for this version were found. The upgrade is considered safe. Source: Package documentationNot fixed
package.json\) are no longer treated as path separators in glob patterns; they are now exclusively used for escaping characters. All patterns, including on Windows, must use forward-slashes (/). * Module Exports: The package no longer has a default export. You must use named imports, for example:const { glob } = require('glob');. * Removed Options: Many options from v7 have been removed in v8.0, includingsilent,strict,nonull,nounique, andnosort. The behavior associated with these options (like ensuring unique results) is now standard. Recommendation: Due to the complete API rewrite, this upgrade requires careful code refactoring. You must update allglobcalls to use the new Promise-based syntax and ensure your patterns use forward-slashes. Thorough testing is essential. Source: GitHub Changelogpackage.json\) are no longer treated as path separators in glob patterns; they are now exclusively used for escaping characters. All patterns, including on Windows, must use forward-slashes (/). * Module Exports: The package no longer has a default export. You must use named imports, for example:const { glob } = require('glob');. * Removed Options: Many options from v7 have been removed in v8.0, includingsilent,strict,nonull,nounique, andnosort. The behavior associated with these options (like ensuring unique results) is now standard. Recommendation: Due to the complete API rewrite, this upgrade requires careful code refactoring. You must update allglobcalls to use the new Promise-based syntax and ensure your patterns use forward-slashes. Thorough testing is essential. Source: GitHub ChangelogA row marked Fix available: No has no upgrade path for
snyk fixto take. One marked Yes does, but needed a change the agent would not make unattended — those are the rows to look at first.This is not necessarily a complete fix. The build on this pull request runs the same quality gate that blocked
feat/AG-387-trial-agentic-fix, so its result — not this description — is the verdict on what is left.Changes
Snyk ProdSec orb · build 628825 · model
claude-opus-4-8