Skip to content

canship 0.5.0

Choose a tag to compare

@Tasomei Tasomei released this 29 Sep 03:09
· 108 commits to main since this release

Added

  • Bounded authentication analysis across local helpers, aliases, re-exports, and delegated calls.
  • Identity provenance and argument checks for supported assignments, destructuring, getters, and Supabase data.user.
  • Authentication checks across supported if/else and try/catch/finally paths, with explicit coverage gaps when limits are exceeded.
  • GitHub Action honor-ignore-markers input and expanded CLI, package, and application-snapshot tests.

Fixed

  • Redact complete PEM private-key blocks in reports.
  • Reject tracked files beneath linked directories and handle directory-link cycles consistently.
  • Preserve JavaScript code boundaries around regex literals.
  • Apply read budgets to unknown-file probes and bound directory discovery.
  • Correct Firebase and PostgreSQL remediation guidance for individual operations.
  • Avoid repeated full-file operation filtering in large Server Action modules.

Usage

npx canship@0.5.0 .

Requires Node.js 18 or later; no runtime dependencies. Scanning remains local and does not execute project code. Authentication evidence is static and does not prove runtime or business authorization.

For the GitHub Action, explicitly set version: '0.5.0' with the pinned wrapper commit in the README.

Published through GitHub Actions trusted publishing with manual npm approval and SLSA provenance.

npm package · Documentation · 简体中文 · Full changelog

Source commit: 22c44e759002369a7dfa6f805db25d411f295f6e. Subsequent Action-default updates are not part of the published package.