Skip to content

chore(deps): bump Scriban 6.6.0 -> 7.1.0 (closes #87)#89

Open
andikrueger wants to merge 1 commit into
trsdn:mainfrom
andikrueger:chore/bump-scriban
Open

chore(deps): bump Scriban 6.6.0 -> 7.1.0 (closes #87)#89
andikrueger wants to merge 1 commit into
trsdn:mainfrom
andikrueger:chore/bump-scriban

Conversation

@andikrueger
Copy link
Copy Markdown

Summary

Bumps Scriban from 6.6.0 → 7.1.0 to clear three NuGet advisories that are promoted to hard build errors by TreatWarningsAsErrors=true, blocking the McpServer build.

Why

Advisory Severity Description
GHSA-5wr9-m6jw-xx44 Critical Sandbox bypass via cached MemberFilter
GHSA-m2p3-hwv5-xpqw Moderate LimitToString denial of service
GHSA-xw6w-9jjh-p9cr Moderate Unbounded string mul / BigInteger shift DoS

Build fails with:

error NU1902: Package 'Scriban' 6.6.0 has a known moderate severity vulnerability
error NU1904: Package 'Scriban' 6.6.0 has a known critical severity vulnerability

Practical exposure was nil. Scriban is only used at build time by PptMcp.Build.Tasks/GenerateSkillFile.cs to render source-controlled skill prompt templates — there is no path for attacker-supplied template text. The advisories matter here only because they block CI.

Why 7.1.0

There is no Scriban 6.7.x — the project jumped from 6.x to 7.x. 7.1.0 is the latest release.

API surface used by GenerateSkillFile (Template.Parse, HasErrors, Messages, ScriptObject.Import(model, renamer:), TemplateContext, PushGlobal, Render) is stable across 6 → 7. No source changes required.

Changes

  • Directory.Packages.propsScriban 6.6.07.1.0
  • CHANGELOG.md — new ### Security entry under [Unreleased]

Verification

  • dotnet build PptMcp.sln -c Debug0 warnings, 0 errors (was: 3 errors on McpServer)
  • GenerateSkillFile build task ran successfully — generated obj\Debug\net9.0-windows\PptSkillPrompts.g.cs from 5 skill files — proves runtime API compatibility with the new version

Related

Closes #87


Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Clears three NuGet advisories that were promoted to hard build errors
by TreatWarningsAsErrors=true:

- GHSA-5wr9-m6jw-xx44 (critical) - sandbox bypass via cached MemberFilter
- GHSA-m2p3-hwv5-xpqw (moderate) - LimitToString denial of service
- GHSA-xw6w-9jjh-p9cr (moderate) - unbounded string mul / BigInteger shift DoS

Practical exposure was nil - Scriban is only used at build time by
PptMcp.Build.Tasks/GenerateSkillFile.cs to render source-controlled
skill prompt templates, never with attacker-supplied input. The bump
unblocks the McpServer build and clears the advisories.

Scriban API surface used by GenerateSkillFile (Template.Parse,
HasErrors, Messages, ScriptObject.Import, TemplateContext, PushGlobal,
Render) is stable across 6 -> 7. No source changes required.

Verified: dotnet build PptMcp.sln succeeds with 0 warnings, 0 errors.
The GenerateSkillFile build task ran successfully (PptSkillPrompts.g.cs
generated from 5 skill files), proving runtime API compatibility.

Closes trsdn#87

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days.

@github-actions github-actions Bot added the stale label May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scriban 6.6.0 vulnerabilities block McpServer build (NU1902/NU1904)

1 participant