Repository navigation
Added
injection/path: reports file reads, writes and deletes whose path is built from request input (fs,fs/promises,fs-extra, Expressres.sendFile/res.downloadwithoutroot). A whole path taken directly from the request iscertain; joined or checked paths arelikely. Values reduced withpath.basenameare not reported.- Credential formats: GitLab, Shopify, Linear, Notion, DigitalOcean, Sentry, PlanetScale, Doppler, Fly.io, Postman, Heroku, and webhook signing secrets (
whsec_). These values are also masked in reports.
Fixed
- Router mounts: nested cross-file mounts carry outer middleware and URL prefixes. Mounts registered only in test or example files no longer affect production routes.
- Server requests:
ssrf/request-urlaccepts an exit before the request when the parsed URL'sorigin,hostorhostnamemust match a literal value or literal list. - Shared prefixes:
sk_live_(Stripe, Clerk) andsk-(OpenAI, DeepSeek and other compatible services) are attributed from the variable name or nearby code; otherwise findings name the shared format. - Placeholders: values in form
placeholderattributes are no longer reported as credentials.
Changed
- Titles and rotation steps for
sk_live_andsk-findings may differ from 0.8.1. Rule IDs and fingerprints are unchanged; existing baselines still match. - The Action defaults to
0.8.2.
Usage
npx canship@0.8.2 .npm package · Documentation · 简体中文 · Changes since 0.8.1
Source commit: 237a98773dd4765cc63fabf77a2716553215d189.