Repository navigation
ci(deps): bump sbdl from 2.0.1 to 2.1.8 in /docs - #182
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [sbdl](https://sbdl.dev) from 2.0.1 to 2.1.8. --- updated-dependencies: - dependency-name: sbdl dependency-version: 2.1.8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Max errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 25 | 0 | 0 | 0.42s | ||
| zizmor | 25 | 0 | 0 | 1 | 4.62s | ||
| ✅ DOCKERFILE | hadolint | 4 | 0 | 0 | 0.84s | ||
| ✅ JSON | npm-package-json-lint | yes | no | no | 0.43s | ||
| ✅ JSON | prettier | 28 | 3 | 0 | 0 | 0.74s | |
| ✅ JSON | v8r | 28 | 0 | 0 | 11.72s | ||
| ✅ MARKDOWN | markdownlint | 13 | 0 | 0 | 0 | 0.9s | |
| ✅ MARKDOWN | markdown-table-formatter | 13 | 0 | 0 | 0 | 0.31s | |
| ✅ REPOSITORY | betterleaks | yes | no | no | 0.78s | ||
| ✅ REPOSITORY | checkov | yes | no | no | 22.83s | ||
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | ||
| ✅ REPOSITORY | grype | yes | no | no | 99.32s | ||
| osv-scanner | yes | 1 | 3 | 4.9s | |||
| ✅ REPOSITORY | secretlint | yes | no | no | 1.6s | ||
| ✅ REPOSITORY | syft | yes | no | no | 4.97s | ||
| trivy | yes | 1 | no | 13.99s | |||
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 1.52s | ||
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.36s | ||
| lychee | 95 | 6 | 0 | 47.49s | |||
| ✅ YAML | prettier | 33 | 0 | 0 | 0 | 0.98s | |
| ✅ YAML | v8r | 33 | 0 | 0 | 10.07s | ||
| ✅ YAML | yamllint | 33 | 0 | 0 | 1.08s |
Detailed Issues
⚠️ SPELL / lychee - 6 errors
📝 Summary
---------------------
🔍 Total..........139
🔗 Unique.........118
✅ Successful.....127
⏳ Timeouts.........1
🔀 Redirected......14
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........6
⛔ Unsupported......6
Errors in .github/PULL_REQUEST_TEMPLATE.md
[503] https://github.com/embedded-pro/embedded-devcontainer/blob/main/.github/CONTRIBUTING.md (at 13:27) | Rejected status code: 503 Service Unavailable
Errors in .github/TOOL_VERSION_ISSUE_TEMPLATE.md
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads (at 30:7) | Rejected status code: 403 Forbidden
[TIMEOUT] https://ubuntu.com/about/release-cycle (at 8:90) | Request timed out
Errors in templates/cpp/devcontainer-template.json
[503] https://github.com/embedded-pro/embedded-devcontainer/blob/main/LICENSE (at 7:18) | Rejected status code: 503 Service Unavailable
[503] https://github.com/embedded-pro/embedded-devcontainer/blob/main/README.md (at 6:24) | Rejected status code: 503 Service Unavailable
Errors in templates/rust/devcontainer-template.json
[503] https://github.com/embedded-pro/embedded-devcontainer/blob/main/README.md (at 6:24) | Rejected status code: 503 Service Unavailable
Errors in test/cpp/features/compatibility.feature
[503] https://github.com/opencontainers/image-spec/blob/main/spec.md (at 20:36) | Rejected status code: 503 Service Unavailable
Hint: Followed 14 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`
⚠️ REPOSITORY / osv-scanner - 1 error
ery U+E000..U+F8FF character in the input',
user, pattern, {}, [
['x\\*' + PUA + '.js', true],
['x\\ZZZ' + PUA + '.js', false],
])
const opts = { windowsPathsNoEscape: true, magicalBraces: true }
const user4 = '{q,b}' + PUA
check('P4', 'behavior 4 with every U+E000..U+F8FF character in the input',
user4, escape(user4, opts), opts, [
['{q,b}' + PUA, true],
['b' + PUA, false],
])
}
console.log('\n' + (failures ? failures + ' assertion(s) failed: escape() output did not match only the literal input.' : 'all assertions passed'))
Output on macOS, Node.js v24.2.0, minimatch 11.0.5, brace-expansion 5.0.12:
$ node poc.js
minimatch 11.0.5, brace-expansion 5.0.12
[1] leading '!' becomes negation
user input : "!secret.txt"
options : {}
pattern : "!secret.txt"
ok match("!secret.txt") expected=true actual=true
FAIL match("passwd") expected=false actual=true
FAIL match(".env.production") expected=false actual=true
[1w] leading '!' becomes negation (windowsPathsNoEscape)
user input : "!secret.txt"
options : {"windowsPathsNoEscape":true}
pattern : "!secret.txt"
ok match("!secret.txt") expected=true actual=true
FAIL match("passwd") expected=false actual=true
[2] leading '#' becomes a comment
user input : "#notes.md"
options : {}
pattern : "#notes.md"
FAIL match("#notes.md") expected=true actual=false
[2w] leading '#' becomes a comment (windowsPathsNoEscape)
user input : "#notes.md"
options : {"windowsPathsNoEscape":true}
pattern : "#notes.md"
FAIL match("#notes.md") expected=true actual=false
[3] escaped backslash collapsed by a caller-added brace group
user input : "x\\*"
options : {}
pattern : "x\\\\\\*.{js,ts}"
ok match("x\\*.js") expected=true actual=true
FAIL match("x\\anything.js") expected=false actual=true
braceExpand: ["x\\\\*.js","x\\\\*.ts"]
[3b] escaped backslash collapsed by a user-supplied brace group
user input : "x\\*{,}"
options : {}
pattern : "x\\\\\\*{,}"
FAIL match("x\\anything") expected=false actual=true
braceExpand: ["x\\\\*","x\\\\*"]
[3c] control: same input, no brace group
user input : "x\\*"
options : {}
pattern : "x\\\\\\*.js"
ok match("x\\*.js") expected=true actual=true
ok match("x\\anything.js") expected=false actual=false
[4] windowsPathsNoEscape + magicalBraces: class-wrapped braces expanded
user input : "x{a,b}"
options : {"windowsPathsNoEscape":true,"magicalBraces":true}
pattern : "x[{]a,b[}]"
FAIL match("x{a,b}") expected=true actual=false
FAIL match("xa") expected=false actual=true
braceExpand: ["x[]a]","x[b[]"]
[4b] same, with a caller-added brace group
user input : "x{a,b}"
options : {"windowsPathsNoEscape":true,"magicalBraces":true}
pattern : "x[{]a,b[}].{js,ts}"
FAIL match("x{a,b}.js") expected=true actual=false
FAIL match("xa.js") expected=false actual=true
[P3] behavior 3 with every U+E000..U+F8FF character in the input
user input : "x\\*<U+E000..U+F8FF>"
options : {}
pattern : "x\\\\\\*<U+E000..U+F8FF>.{js,ts}"
ok match("x\\*<U+E000..U+F8FF>.js") expected=true actual=true
FAIL match("x\\ZZZ<U+E000..U+F8FF>.js") expected=false actual=true
[P4] behavior 4 with every U+E000..U+F8FF character in the input
user input : "{q,b}<U+E000..U+F8FF>"
options : {"windowsPathsNoEscape":true,"magicalBraces":true}
pattern : "[{]q,b[}]<U+E000..U+F8FF>"
FAIL match("{q,b}<U+E000..U+F8FF>") expected=true actual=false
FAIL match("b<U+E000..U+F8FF>") expected=false actual=true
14 assertion(s) failed: escape() output did not match only the literal input.
Notes on the output:
- In checks 1 and 1w,
!secret.txtmatches itself only because the negated pattern excludessecret.txt, not!secret.txt.passwdshows the negation. - The script has 11 numbered checks (1, 1w, 2, 2w, 3, 3b, 3c, 4, 4b, P3, P4). Each check makes one or more match assertions. The final line counts failed assertions, not checks: on 11.0.5, 14 assertions fail across 10 checks.
- Check 3c is the control. The same escaped text without a brace group behaves correctly.
- Checks P3 and P4 put every character from U+E000 to U+F8FF (6400 characters) into the user text. They exist to test fixes that pick sentinel characters from that range. On 11.0.5 they fail the same way as checks 3 and 4.
Impact
The impact depends on how the application uses the result. The precondition for every case is an application that passes user-controlled text through escape() and uses the resulting pattern for an access, filter, or exclusion decision. Each case below follows that pattern.
- Leading
!, allowlist. A file-sharing feature builds an allow pattern per shared file:allow.push(escape(fileName)), then grants access whenminimatch(requestedPath, p)is true for anyp. A tenant uploads a file named!a.txtand shares it. The share grants access to every path excepta.txt, including other files in the same scope. If the list is a denylist instead, the same file name blocks every other path. - Leading
#, denylist or ignore list. A backup or publish step excludes user-selected files:exclude.push(escape(name)). A file named#secret#(the Emacs autosave naming scheme) or#notes.mdis never excluded and is uploaded or published. No error is reported. - Backslash plus brace group, allowlist. An application allows a user-selected base name with known extensions:
escape(name) + '.{js,ts}'. On POSIX,\is a legal file name character. A user who can create a file namedx\*gets a pattern that matches any file in that directory whose name starts withx\and ends in.jsor.ts. With default options the application does not need to add a brace group: the namex\*{,}alone gives a pattern that matches any name that starts withx\. The over-match is limited to one path segment, to the user's chosen prefix, and to names that contain a literal backslash. windowsPathsNoEscape+magicalBraces. An application on Windows escapes names with both options so braces are literal. The namereport{draft,final}.docxbecomesreport[{]draft,final[}].docx, which expands toreport[]draft].docxandreport[final[].docx. That pattern matches any name made ofreport, one character from]draftorfinal[, and.docx(for examplereportd.docx,reporta.docx,report].docx,report[.docx). It does not matchreport{draft,final}.docx. For the input{secret,b}the pattern matches any one-character name from]secretorb[(for exampleb,[,],s), and does not match{secret,b}orsecret. A denylist entry silently fails to block the file. An allowlist entry admits unrelated names.
This is not remote code execution and not a denial of service. It is an integrity and confidentiality issue in security decisions that rely on escape().
Workarounds until a fix ships (each measured on 11.0.5):
- Behaviors 1 and 2: pass
{ nonegate: true, nocomment: true }when matching escaped patterns. Withnonegate,escape('!secret.txt')matches!secret.txtand notpasswd. Withnocomment,escape('#notes.md')matches#notes.md. This covers both modes. - Behavior 3: do not combine escaped text with a brace group, and use
{ magicalBraces: true }so user braces are escaped. Passingnobrace: truestops the over-match (x\anything.jsno longer matches), but the caller's brace group then becomes literal:x\*.jsno longer matches either, and onlyx\*.{js,ts}does. Expand the group in application code instead. - Behavior 4: pass
nobrace: truewhen matching. With{ windowsPathsNoEscape: true, magicalBraces: true, nobrace: true },x[{]a,b[}]matchesx{a,b}and notxa. On POSIX,{ magicalBraces: true }withoutwindowsPathsNoEscapegivesx\{a,b\}, which matches only the literal. DroppingmagicalBracesdoes not help:escape('x{a,b}', { windowsPathsNoEscape: true })returnsx{a,b}, which matchesxaand not the literal.
warning: Package 'minimatch@10.2.4' is vulnerable to 'CVE-2026-118764' (also known as 'GHSA-g3hv-75wg-m249').
= CVE-2026-118764: minimatch has potential denial of service via globparts amplification
= minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.
researcher: Reid Downing (b1nv0id)
files:
- src/index.ts: 690-770
- src/index.ts: 780-796
issue:
input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.
the **/../ transformation clones a globparts entry and appends the clone to the same globparts array:
parts.splice(gs, 1)
const other = parts.slice(0)
other[gs] = '**'
globParts.push(other)
this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.
the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons:
for (let i = 0; i < globParts.length - 1; i++) {
for (let j = i + 1; j < globParts.length; j++) {
this.partsMatch(...)
}
}
an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.
warning: 3 warnings emitted
(Truncated to last 10000 characters out of 38795)
</details>
<details>
<summary>⚠️ REPOSITORY / trivy - 1 error</summary>
error: Artifact: .devcontainer/rust/Dockerfile
Type: dockerfile
Vulnerability DS-0017
Severity: HIGH
Message: The instruction 'RUN update' should always be followed by ' install' in the same RUN statement.
Link: DS-0017
┌─ .devcontainer/rust/Dockerfile:30:1
│
30 │ ╭ RUN --mount=type=bind,from=apt-sources,source=/out/ubuntu.sources,target=/etc/apt/sources.list.d/ubuntu.sources
31 │ │ --mount=type=bind,from=apt-sources,source=/out/80-retries,target=/etc/apt/apt.conf.d/80-retries
32 │ │ --mount=type=bind,source=.devcontainer/apt-install-pinned.sh,target=/tmp/apt-install-pinned.sh
33 │ │ --mount=type=bind,source=.devcontainer/rust/apt-requirements.json,target=/tmp/apt-requirements.json
· │
39 │ │ && update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-15 10
40 │ │ --slave /usr/bin/c++ c++ /usr/bin/g++-15
│ ╰^
│
= 'RUN update' instruction alone
= The instruction 'RUN update' should always be followed by ' install' in the same RUN statement.
error: 1 errors emitted
</details>
<details>
<summary>⚠️ ACTION / zizmor - 1 warning</summary>
INFO zizmor: 🌈 zizmor v1.25.0
WARN audit: zizmor: one or more inputs contains YAML anchors; see https://docs.zizmor.sh/usage/#yaml-anchors for details
INFO audit: zizmor: 🌈 completed .github/workflows/build-push-test.yml
INFO audit: zizmor: 🌈 completed .github/workflows/continuous-integration.yml
INFO audit: zizmor: 🌈 completed .github/workflows/image-cleanup.yml
INFO audit: zizmor: 🌈 completed .github/workflows/issue-cleanup.yml
INFO audit: zizmor: 🌈 completed .github/workflows/issue-creation-tool-versions.yml
INFO audit: zizmor: 🌈 completed .github/workflows/linting-formatting.yml
INFO audit: zizmor: 🌈 completed .github/workflows/ossf-scorecard.yml
INFO audit: zizmor: 🌈 completed .github/workflows/pr-conventional-title.yml
INFO audit: zizmor: 🌈 completed .github/workflows/pr-image-cleanup.yml
INFO audit: zizmor: 🌈 completed .github/workflows/pr-report.yml
INFO audit: zizmor: 🌈 completed .github/workflows/release-build.yml
INFO audit: zizmor: 🌈 completed .github/workflows/release-please.yml
INFO audit: zizmor: 🌈 completed .github/workflows/update-dependencies.yml
INFO audit: zizmor: 🌈 completed .github/workflows/vulnerability-scan.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-acceptance-test.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-build-push-test.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-build-push.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-dependency-review.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-document-generation.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-integration-test-docker.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-integration-test-podman.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-integration-test.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-mirror-image.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-publish-templates.yml
INFO audit: zizmor: 🌈 completed .github/workflows/wc-sanitize-image-name.yml
{
"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/schemas/sarif-schema-2.1.0.json",
"runs": [
{
"invocations": [
{
"executionSuccessful": true
}
],
"results": [],
"tool": {
"driver": {
"downloadUri": "https://github.com/zizmorcore/zizmor",
"informationUri": "https://docs.zizmor.sh",
"name": "zizmor",
"rules": [],
"semanticVersion": "1.25.0",
"version": "1.25.0"
}
}
}
],
"version": "2.1.0"
No fixes available to apply.
}
</details>
### Notices
⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: `REPOSITORY_KICS`. See [Removed linters](https://megalinter.io/10.2.0/removed-linters/) to find their replacements.
See detailed reports in [MegaLinter artifacts](https://github.com/embedded-pro/embedded-devcontainer/actions/runs/46776439807)
You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- [oxsecurity/megalinter/flavors/salesforce@v10.2.0](https://megalinter.io/10.2.0/flavors/salesforce/) (58 linters)
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining `FLAVOR_SUGGESTIONS: false`)
- Documentation: [Custom Flavors](https://megalinter.io/10.2.0/custom-flavors/)
- Command: `npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,DOCKERFILE_HADOLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R`
[](https://www.ox.security/?ref=megalinter)
Show us your support by [**starring ⭐ the repository**](https://github.com/oxsecurity/megalinter)
<!-- megalinter: github-comment-reporter workflow='Linting & Formatting' jobid='linter' -->
Bumps sbdl from 2.0.1 to 2.1.8.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)