Skip to content

canship 0.6.0

Choose a tag to compare

@Tasomei Tasomei released this 02 Oct 14:04
· 88 commits to main since this release

Added

  • Request-input analysis for SQL and command construction, SSRF review, and open redirects.
  • Checks for server-side trust in Supabase getSession() and unverified Stripe webhook events.

Changed

  • Terminal findings are grouped by file. Use --verbose for excerpts, evidence, and remediation details.
  • Redesigned the self-contained HTML report with filtering, grouping, and copyable fix prompts. --open opens the report in the default browser.

Fixed

  • Preserve code boundaries around JSX and improve Supabase identity recognition.
  • Require verification failure paths to exit; prevent uncalled closures from affecting outer input-flow analysis.
  • Validate report-opener paths and symbolic links against project boundaries.
  • Limit request-input analysis to handlers containing relevant calls.

Usage

npx canship@0.6.0 .

Requires Node.js 18 or later; no runtime dependencies. Scanning remains local and does not execute project code. Findings are static evidence, not proof of runtime exploitability or credential validity.

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

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

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