Skip to content

docs: explain SDK development-dependency advisories - #2

Merged
jschuller merged 1 commit into
mainfrom
docs/sdk-dev-advisories
Oct 21, 2026
Merged

jschuller merged 1 commit into
mainfrom
docs/sdk-dev-advisories

Conversation

@jschuller

Copy link
Copy Markdown
Owner

What

Expands Known advisories in development tooling in SECURITY.md and adds a [Unreleased] changelog entry.

Why

The repository's Dependabot tab shows 24 open alerts (2 critical, 8 high). All of them are transitive development dependencies of @servicenow/sdk@4.13.6 (handlebars, fastify, @fastify/static, js-yaml, joi, undici, sprintf-js). Dependabot cannot open fix PRs because the SDK is pinned exactly and 4.13.6 is the latest release.

None of these packages reaches the instance. The now-sdk pack zip contains only update-set XML (metadata, server scripts, UI bundle); I checked, and none of the flagged packages appears in it.

Policy documented

  • These advisories are fixed by SDK updates through the grouped @servicenow/* Dependabot PR, after a test-instance deployment passes.
  • No npm overrides by default. If a critical advisory is still open after the next SDK release, pin patched versions through overrides in a release that is verified on an instance first.
  • An advisory in something that does reach the instance (React or code in src/) is a vulnerability in this template.

Docs only; no code or keys.ts changes.

https://claude.ai/code/session_01MYbPFQzCE5G9HGmQa7nNAf

Dependabot reports advisories (2 critical, 8 high) in transitive dependencies of
@servicenow/sdk 4.13.6 (handlebars, fastify, js-yaml, joi, undici). None of them is
in the packaged app. Document that they are fixed by SDK updates through the grouped
Dependabot PR, and that npm overrides are a fallback only after the next SDK release.

Claude-Session: https://claude.ai/code/session_01MYbPFQzCE5G9HGmQa7nNAf
@jschuller
jschuller force-pushed the docs/sdk-dev-advisories branch from 59b931b to 6ffaf96 Compare October 20, 2026 23:09
@jschuller
jschuller merged commit 5f6373d into main Oct 21, 2026
2 checks passed
jschuller added a commit that referenced this pull request Oct 21, 2026
… exact Node, cooldowns, zizmor (#5)

- release.yml: no npm cache (a cache written by another run never reaches the job that writes the release
  and signs attestations), Node 24.21.0 by exact version (npm 11.19.0), npm ci --ignore-scripts.
- ci.yml: npm ci --ignore-scripts in build and instance-test (the SDK builds and packs without install
  scripts); no npm cache in instance-test, which holds the instance's OAuth secret; a zizmor 1.30.1 job.
- Both workflows grant nothing at the top; each job asks for what it needs.
- Dependabot cooldowns (7 days, 14 for a semver-major npm bump); .npmrc min-release-age=7.
- CHANGELOG: one line under [Unreleased] Added (placed so it merges cleanly with #2).

Co-authored-by: Joshua Schuller <116460872+jschuller@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants