You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YAML11_SCHEMA, a combination of all YAML 1.1 tags (YAML 1.1 does not
specify a schema, only "types").
load/dump default behaviour is now specified exactly via schemas:
load uses CORE_SCHEMA, without !!merge by default.
dump uses YAML11_SCHEMA + CORE_SCHEMA for the quoting check, to
guarantee backward compatibility by default.
!!set is now loaded as a JavaScript Set.
Replaced the Type API with a tags API. Similar, but more precise and
simpler. See examples for details. Tags can be defined via defineScalarTag(), defineSequenceTag() and defineMappingTag(), or as a
spread + override of an existing tag.
Renamed Schema.extend() to Schema.withTags().
Expanded YAML 1.2 conformance and improved handling of directives, document
markers, block keys, multiline scalars, tag syntax and other things.
load() now throws on empty input instead of returning undefined.
Moved browser builds to the js-yaml/browser export.
Deprecated the loadAll signature with an iterator (still works, but is a
candidate for removal).
Removed
Removed deprecated safeLoad(), safeLoadAll() and safeDump() exports.
Removed DEFAULT_SCHEMA and the nested types export.
Removed loader options onWarning, legacy and listener.
Removed dumper options styles, replacer, noCompatMode, condenseFlow, quotingType and forceQuotes. Renamed noArrayIndent to seqNoIndent.
Formatting and representation are now configured through presenter options,
schemas and tag definitions. See migration guide on how to replace.
Removed support for importing internal files from lib/.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/js-yaml@4.2.0. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
[0000] WARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal) from=syft
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
error purl scheme is not "pkg": ""
NAME INSTALLED FIXED IN TYPE VULNERABILITY SEVERITY EPSS RISK
form-data 4.0.5 4.0.6 npm GHSA-hmw2-7cc7-3qxx High 0.3% (24th) 0.3
brace-expansion 5.0.5 5.0.6 npm GHSA-jxxr-4gwj-5jf2 Medium 0.2% (10th) 0.1
logback-core 1.5.18 1.5.19 java-archive GHSA-25qh-j22f-pwp8 Medium 0.2% (4th) < 0.1
logback-core 1.5.18 1.5.25 java-archive GHSA-qqpg-mvqg-649v Low 0.2% (4th) < 0.1
jackson-core 2.19.0 2.21.1 java-archive GHSA-72hv-8253-57qq Medium N/A N/A
tar 7.5.13 7.5.16 npm GHSA-vmf3-w455-68vh Medium N/A N/A
[0044] ERROR discovered vulnerabilities at or above the severity threshold
❌ REPOSITORY / trivy - 1 error
2026-06-20T21:54:55Z INFO [vulndb] Need to update DB
2026-06-20T21:54:55Z INFO [vulndb] Downloading vulnerability DB...
2026-06-20T21:54:55Z INFO [vulndb] Downloading artifact... repo="mirror.gcr.io/aquasec/trivy-db:2"
2.34 MiB / 97.03 MiB [->_____________________________________________________________] 2.41% ? p/s ?26.23 MiB / 97.03 MiB [---------------->____________________________________________] 27.04% ? p/s ?58.97 MiB / 97.03 MiB [------------------------------------->_______________________] 60.77% ? p/s ?92.00 MiB / 97.03 MiB [-------------------------------------------->__] 94.82% 149.63 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 149.63 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 149.63 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 140.52 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 140.52 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 140.52 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 131.45 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 131.45 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 131.45 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 122.97 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 122.97 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 122.97 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 115.04 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [--------------------------------------------->] 100.00% 115.04 MiB p/s ETA 0s97.03 MiB / 97.03 MiB [-------------------------------------------------] 100.00% 29.37 MiB p/s 3.5s2026-06-20T21:54:58Z INFO [vulndb] Artifact successfully downloaded repo="mirror.gcr.io/aquasec/trivy-db:2"
2026-06-20T21:54:58Z INFO [vuln] Vulnerability scanning is enabled
2026-06-20T21:54:58Z INFO [misconfig] Misconfiguration scanning is enabled
2026-06-20T21:54:58Z INFO [misconfig] Need to update the checks bundle
2026-06-20T21:54:58Z INFO [misconfig] Downloading the checks bundle...
165.46 KiB / 165.46 KiB [------------------------------------------------------] 100.00% ? p/s 100ms2026-06-20T21:55:00Z INFO Suppressing dependencies for development and testing. To display them, try the '--include-dev-deps' flag.
2026-06-20T21:55:00Z INFO Number of language-specific files num=1
2026-06-20T21:55:00Z INFO [npm] Detecting vulnerabilities...
2026-06-20T21:55:00Z INFO Detected config files num=1
Report Summary
┌───────────────────┬────────────┬─────────────────┬───────────────────┐
│ Target │ Type │ Vulnerabilities │ Misconfigurations │
├───────────────────┼────────────┼─────────────────┼───────────────────┤
│ package-lock.json │ npm │ 3 │ - │
├───────────────────┼────────────┼─────────────────┼───────────────────┤
│ Dockerfile │ dockerfile │ - │ 0 │
└───────────────────┴────────────┴─────────────────┴───────────────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)
For OSS Maintainers: VEX Notice
--------------------------------
If you're an OSS maintainer and Trivy has detected vulnerabilities in your project that you believe are not actually exploitable, consider issuing a VEX (Vulnerability Exploitability eXchange) statement.
VEX allows you to communicate the actual status of vulnerabilities in your project, improving security transparency and reducing false positives for your users.
Learn more and start using VEX: https://trivy.dev/v0.67/docs/supply-chain/vex/repo#publishing-vex-documents
To disable this notice, set the TRIVY_DISABLE_VEX_NOTICE environment variable.
package-lock.json (npm)
=======================
Total: 3 (UNKNOWN: 0, LOW: 0, MEDIUM: 2, HIGH: 1, CRITICAL: 0)
┌─────────────────┬────────────────┬──────────┬────────┬───────────────────┬─────────────────────┬────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
├─────────────────┼────────────────┼──────────┼────────┼───────────────────┼─────────────────────┼────────────────────────────────────────────────────────────┤
│ brace-expansion │ CVE-2026-45149 │ MEDIUM │ fixed │ 5.0.5 │ 5.0.6 │ brace-expansion: brace-expansion: Denial of Service due to │
│ │ │ │ │ │ │ excessive memory allocation when expanding... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-45149 │
├─────────────────┼────────────────┼──────────┤ ├───────────────────┼─────────────────────┼────────────────────────────────────────────────────────────┤
│ form-data │ CVE-2026-12143 │ HIGH │ │ 4.0.5 │ 2.5.6, 3.0.5, 4.0.6 │ form-data is a library for creating readable │
│ │ │ │ │ │ │ multipart/form-data strea ... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-12143 │
├─────────────────┼────────────────┼──────────┤ ├───────────────────┼─────────────────────┼────────────────────────────────────────────────────────────┤
│ tar │ CVE-2026-53655 │ MEDIUM │ │ 7.5.13 │ 7.5.16 │ node-tar applies PAX size override to intermediary GNU │
│ │ │ │ │ │ │ long-name/long-link headers, causing tar... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-53655 │
└─────────────────┴────────────────┴──────────┴────────┴───────────────────┴─────────────────────┴────────────────────────────────────────────────────────────┘
📣 Notices:
- Version 0.71.2 of Trivy is now available, current version is 0.67.2
To suppress version checks, run Trivy scans with the --skip-version-check flag
docs/github-dependents-info.md:11:3 MD051/link-fragments Link fragments should be valid [Context: "[github.com/nvuillam/npm-groovy-lint](#package-github.comnvuillamnpm-groovy-lint)"]
docs/index.md:39:65 MD059/descriptive-link-text Link text should be descriptive [Context: "[**here**]"]
README.md:39:65 MD059/descriptive-link-text Link text should be descriptive [Context: "[**here**]"]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.1.0→^5.0.0Release Notes
nodeca/js-yaml (js-yaml)
v5.0.0Compare Source
Added
JSON_SCHEMAandCORE_SCHEMAwith spec-compliant scalar resolutionrules, and added
YAML11_SCHEMA.realMapTagfor lossless mappings with non-string and complex keys.Object-based mappings now reject complex keys instead of stringifying them.
dump()transformoption for changing the generated AST beforerendering.
dump()optionsseqInlineFirst,flowBracketPadding,flowSkipCommaSpace,flowSkipColonSpace,quoteFlowKeys,quoteStyleandtagBeforeAnchor.test set.
Changed
exports.
CORE_SCHEMA(loader default),JSON_SCHEMA,FAILSAFE_SCHEMA.YAML11_SCHEMA, a combination of all YAML 1.1 tags (YAML 1.1 does notspecify a schema, only "types").
load/dumpdefault behaviour is now specified exactly via schemas:loadusesCORE_SCHEMA, without!!mergeby default.dumpusesYAML11_SCHEMA+CORE_SCHEMAfor the quoting check, toguarantee backward compatibility by default.
!!setis now loaded as a JavaScriptSet.TypeAPI with a tags API. Similar, but more precise andsimpler. See examples for details. Tags can be defined via
defineScalarTag(),defineSequenceTag()anddefineMappingTag(), or as aspread + override of an existing tag.
Schema.extend()toSchema.withTags().markers, block keys, multiline scalars, tag syntax and other things.
load()now throws on empty input instead of returningundefined.js-yaml/browserexport.loadAllsignature with an iterator (still works, but is acandidate for removal).
Removed
safeLoad(),safeLoadAll()andsafeDump()exports.DEFAULT_SCHEMAand the nestedtypesexport.onWarning,legacyandlistener.styles,replacer,noCompatMode,condenseFlow,quotingTypeandforceQuotes. RenamednoArrayIndenttoseqNoIndent.Formatting and representation are now configured through presenter options,
schemas and tag definitions. See migration guide on how to replace.
lib/.v4.2.0Compare Source
Added
docs/safety.mdwith notes about processing untrusted YAML.maxDepth(100) loader option. Not a problem, but gives a betterexception instead of RangeError on stack overflow.
maxMergeSeqLength(20) loader option. Not a problem aftermergefix,but an additional restriction for safety.
dist/builds.Changed
dist/files are no longer kept in the repository.Fixed
Security
elements (makes sense for malformed files > 10K).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.