# ShakerScan 2.15.1

> ShakerScan documentation at v2.15.1. [Source](https://github.com/andriyze/shakerscan/blob/v2.15.1/docs/releases/2.15.1.md) · [Web version](https://shakerscan.com/docs/open-source/releases/2.15.1)

A patch release: a CVE lookup over the bundled advisory snapshot with a per-CVE evaluation of every
observed listener, fixes for target-controlled input in the request backoff, the Hunt sweep and the
MCP answers, masking and browser-proof fixes, and a release pipeline that builds the SBOMs in the
candidate run. No schema changes and no new settings; a rollback restores the pre-upgrade database
dump, as for every release (`docs/upgrade-and-rollback.md`).

**Upgrade.** Upgrade in place from 2.15.0 (or any 2.14 release).

## Exposure

* **Look up one CVE and see where it applies.** `GET /exposure/advisories/{cve_id}` returns what the
  loaded offline snapshot holds for one CVE: every record (product, CPE, version bounds, the exact
  version list of snapshot v2), title, severity, publication date, CVSS, KEV, EPSS and, when curated
  briefings are enabled, its briefing. A CVE the snapshot does not hold answers `in_snapshot: false`,
  which is not evidence that it does not apply; a malformed id is a 422.
* **Evaluate one CVE for every listener.** `GET /exposure/services?advisory_id=CVE-...` adds
  `advisory_evaluation` to each target: per listener `affected`, `not_affected`
  (`version_outside_range` or `no_observed_component_named`) or `unresolved` with its reason, the
  deciding component, the matching or excluding ranges and the observation. It uses the same matcher
  and applicability rule as the service inventory, without its 30-candidate cap.
  `scan_id=` keeps only the listeners one Scan observed. Every target now says whether anything was
  `observed`.
* **One target's whole exposure.** `GET /exposure/targets/{target_id}` lists its listeners and
  components with every advisory that names a component, each evaluated on its own.
* The operator's intelligence settings apply as they do to the inventory: publisher-declared ranges
  are withheld (and counted) unless enabled, and briefings are shown only when enabled.
* MCP: `shakerscan_asm` gains `advisory` and `exposure_target`; `exposure_services` takes
  `advisory_id`, `scan_id` and `offset`. All are reads.

## Fixes

* **A target's `Retry-After` can no longer break its own request relay.** A value made of
  non-ASCII digits or thousands of digits raised while the response was read. Delta-seconds are now
  ASCII digits only, a very long delta reads as the longest hold, and a value longer than any HTTP
  date is ignored; a 429 still holds the origin.
* **The Hunt sweep recognizes more destructive route names.** A hyphenated name (`/delete-account`,
  `/admin/drop-database`), a percent-encoded one (`/%64elete`, `/api%2Freset`) or one with a matrix
  parameter (`/logout;jsessionid=...`) is now kept out of the engine's own requests, GET reads
  included. Descriptive pages such as `/install-guide` and `/reset-password` are still swept.
* **The engine's own accounts never guess an object id.** A write the engine sends as an account it
  created filled an input named like an object id (`AddressId`, `cardId`) with 1 when the account's
  own answers never named one, which on many applications is another user's object. Such an input is
  now left out and recorded under `omitted` in `engine_writes`.
* **A forced Hunt finish stops the engine's sweep.** A finish with `force` and a `force_reason` while
  the engine's own discovery and sweep ran was deferred until the sweep ended, so the sweep kept
  sending requests. It now checks its guard, stops the sweep and finishes the Hunt at once. An
  unforced finish is still deferred to the sweep's end.
* **A Hunt's CVE candidates name the component the advisory matched.** A candidate row labelled
  every CVE with the listener's product and version, so an advisory matched on another component
  observed behind that listener read as the listener's (a Jenkins CVE shown under a Grafana
  version). The row now names the matched component's product and version.
* **A Hunt can cite a curated briefing.** When curated briefings are enabled, a briefed candidate
  row and an advisory lead's metadata carry `briefing_id` and `briefing_date` beside `briefed`: the
  briefing's id and publication date only, never its text.
* **Masking: a labelled value in a script body is withheld again.** A body with no tags that reads
  as script showed a short labelled value such as `Password: S3cretPw` in clear (2.14.1 withheld it).
  It is withheld again, while object members and calls that continue code (`password: pass }`,
  `token: t,`) are still shown as written.
* **Browser XSS proofs hold the time they need.** In a Scan's proof batch, an attempt whose even share
  of the slice's wall was below the browser's own reservation (many attempts, or the sign-in pace
  taken out of it) could fail its budget contract on a slow page, and its proof was discarded. Such
  an attempt now takes the reservation from what is left, and when that cannot hold it the remaining
  candidates are named as left unfunded. The settle wait no longer rescans every console message on
  each poll.
* **Model Intake: the bundled Semgrep rules are never reported stale.** Their freshness was measured
  from the file's modification time, which is its checkout or copy time, so an image built from an
  old working tree failed the adapter self-test although the rules matched the release. Rules
  shipped with the release now report fresh with their sha256; downloaded databases are still aged.

## Console

* **Findings opens on every open finding, most severe first.** The default view showed only
  findings seen in the last 14 days and left older open findings, proven criticals among them,
  behind a count. "Seen in 14 days" is still one press away.
* **Dashboard Top actions start with the open critical and high findings** of the selected scope
  and are ordered most severe first, as the findings list is. The card no longer says there are no
  high-priority actions while such findings are open.
* **A scope that holds every target hides no result.** The Dashboard said the Operational filter
  hid recent results while it counted no target outside that scope; it now filters only when some
  target is outside the scope.

## Agents and MCP

* **The commands a person is asked to run are shell-quoted.** `shakerscan targets authorize <url>`
  and `shakerscan knowledge dismiss ...` quote each value as one shell word, and a value that would
  read as an option is replaced by a placeholder.
* **Target text stays under `untrusted_data`.** A Scan's coverage summary, degraded reason and error
  message, and an exported Scan's stored artifact rows (their keys and metadata), are now quoted
  there; plain ids, states, times and tallies stay readable outside it.
* **A long non-ASCII excerpt no longer drops its observation.** Long strings in a capability answer
  are cut by their encoded size, not their length, so an excerpt of mostly non-ASCII text keeps its
  status, headers and forms in the answer.

## Client 0.15.1

The client vendors the MCP adapter, so it carries the MCP fixes above and the new `shakerscan_asm`
exposure actions. Nothing else changed.

## Release process

* The release SBOMs are generated in the candidate run, beside certification; publishing only binds
  them to the certified receipt, signs them and attaches them, together with one signed SBOM archive
  (`shakerscan-<version>-sbom.tar.gz`, with its `.sha256` and `.sigstore.json`). `docs/sbom.md`
  describes the archive.
* A check of the published release replaces the public install smoke: the version tags resolve and
  pull to the certified digests, the scanner and API images report the version and commit, and the
  public installer installs that version with the same image lock. Its receipt is attached to the
  release.

## Dependencies

* UI: lucide-react 1.80.0, @types/node 26.6.7, @types/react 19.3.1. Workflows: scorecard-action
  2.6.0, codeql-action 4.39.4 (its init, analyze and upload-sarif steps now update together),
  bake-action 7.5.0. Posture: fast-check 4.11.0, @types/node 26.6.7. Scanner: the beautifulsoup4
  floor is 4.15.0 and the aiohttp floor 3.14.5.
