Skip to content

cbs-consulting/stack-sentinel

v0.4.0Apache-2.0

Sets up @cbs-consulting/stack-sentinel in SAP UI5, CAP and Node.js projects: the weekly scan pipeline on GitHub Actions or Azure DevOps, Teams reports, fix pull requests and ignore rules.

Changelog

What changed in each release of @cbs-consulting/stack-sentinel, newest first. Add your change under "Unreleased" in the same pull request; a check fails otherwise, unless the pull request has the label "no changelog". To release, raise the version in package.json and rename "Unreleased" to that version and the date. The tests fail while the version in package.json has no entry here, and the Release workflow publishes the entry as the GitHub release notes.

Unreleased

  • New agent skill for AI coding agents such as Claude Code, Codex and GitHub Copilot. It sets stack-sentinel up in a project: a first scan, the pipeline example, and a short list of the variables, secrets and permissions the user sets. It also explains why a run sent no card or opened no fix pull request. The repository is now an agent plugin (plugin.json), so the skill installs from the cbs Agentic Marketplace with /plugin install stack-sentinel@cbs-consulting.

0.4.0 - 2026-11-03

  • SENTINEL_DASHBOARD_ENABLED=true keeps one GitHub issue or Azure DevOps work item per repository up to date with the latest findings, the open fix pull requests and the ignored findings.

  • New check license: the licenses of the packages in package-lock.json are checked against a policy. Strong copyleft (AGPL, GPL, SSPL, EUPL, OSL) is an error by default; license.allow turns it into an allow list.

  • The title of an npm-audit fix pull request names the versions npm moved to, not the lowest fixed versions the advisories name, which npm may never have published (lodash 4.17.24, where npm moves to 4.18.0).

  • Fix pull requests carry release notes: the SAPUI5, Node.js and CAP change logs, and for vulnerable npm packages the advisories they fix and the GitHub release notes between the old and the new version.

  • minReleaseAgeDays (SENTINEL_MIN_RELEASE_AGE_DAYS): UI5 patches and npm packages are only recommended and moved to once they have been published that many days. UI5 patches are dated from the SAP CDN, and npm gets --before. Off by default.

  • Ignore rules: findings listed under "ignore" in the config file, by check, file, package, version, advisory or message, are left out of notifications, the exit code and fix pull requests until the rule's until date. An expired rule, and one that matches nothing, is reported.

  • Two opt-in kinds of fix pull request that run npm to update package-lock.json (--package-lock-only --ignore-scripts, in a temporary folder): cap moves CAP packages on an old major to the current one, as a draft, and npm-audit moves vulnerable packages that npm audit fix can move, raising a range in package.json that pins them below the fix. Both work with npm workspaces. Turn them on with SENTINEL_FIX_GROUPS.

  • SENTINEL_FIX_AUTO_MERGE=patch (or all) turns on auto-merge for fix pull requests that only move to newer patches, so they merge once their required checks pass.

  • A Cloud Foundry app that declares no Node.js version gets "engines.node" for the line the buildpack keeps longest in the Node.js fix pull request.

  • The fix for the UI5 version pins a local Fiori preview (fiori-tools-proxy) that loads the latest release to the version the app builds with.

  • node-version also reads the Node.js version that CI pipelines set up (GitHub's actions/setup-node, Azure Pipelines' NodeTool and UseNode) and the node image Dockerfiles build on, and fix pull requests move them.

  • Fix pull requests, much like Dependabot: with SENTINEL_FIX_MODE=pr the scheduled run on GitHub Actions or Azure DevOps opens one pull request per kind of fix, and keeps it up to date. It changes UI5 versions in ui5.yaml, bootstrap URLs and manifest.json, Node.js versions in "engines.node", .nvmrc and .node-version, and removes npm overrides that are no longer needed. SENTINEL_FIX_MODE=apply changes the scanned files instead, and SENTINEL_FIX_GROUPS chooses which kinds of fix are made. Findings that can be fixed carry a fix in the JSON report.

  • Add contributing guide, code of conduct, security policy, issue and pull request templates, and Dependabot updates for GitHub Actions and the dev container.

  • Releases have a changelog. CHANGELOG.md ships in the npm package, and each version's entry is its GitHub release notes.

0.3.3 - 2026-10-19

  • The npm-audit check reports overrides in package.json that are no longer needed, as info: overrides whose package every dependent already allows at the installed version, and overrides for packages that are not installed.
  • When only the lockfile stands between a vulnerable package and its fix, the action says so: npm audit fix is enough and no override is needed.

0.3.2 - 2026-10-19

  • The npm-audit check names the direct dependency each vulnerable package comes in through (details.introducedBy in the JSON report). Its action depends on the version ranges along the way: npm audit fix, raising the version in package.json, updating the direct dependency, adding an override, or waiting for a release of the package that bundles it.

0.3.1 - 2026-10-19

  • Published to npm as @cbs-consulting/stack-sentinel. Pipelines install @cbs-consulting/stack-sentinel@latest instead of github:cbs-consulting/stack-sentinel#stable.
  • Releases are staged on npm and go live only when a maintainer approves them.
  • The license is Apache-2.0.
  • No changes to the checks.

0.3.0 - 2026-10-19

  • First release.