[v1.102.0]
- Security: hardened ASAR and in-memory archive extraction to skip traversal or absolute entry paths before writing to the temp extraction directory.
- Security: git clone provider tokens (
KF_GITHUB_TOKEN,KF_GITLAB_TOKEN,KF_GITEA_TOKEN,KF_AZURE_TOKEN,KF_HUGGINGFACE_TOKEN) are now installed as host-scoped, HTTPS-only credential helpers (credential.https://<host>.helper) instead of unscoped global ones, so a malicious clone target can no longer capture them via an auth challenge. Trusted hosts derive from each provider's SaaS default plus any configured--<provider>-api-url/--azure-base-url/--endpoint, preserving GitHub Enterprise and other self-hosted flows. - Security:
--outputreport files are opened withO_NOFOLLOW(with a symlink pre-check on non-Unix) so a symlink planted at the report path inside a scanned repository can no longer redirect the write to truncate or overwrite an arbitrary file. - Security: single-stream gzip/bzip2/xz/zlib decompression is now bounded by a 512 MB decompressed-byte cap, preventing a small compression bomb from exhausting disk during a scan.
- Added 3 detection and validation rules for Cognition Devin API credentials:
kingfisher.devin.1(legacy personal keys,apk_user_prefix),kingfisher.devin.2(legacy service keys,apk_prefix), andkingfisher.devin.3(v3 service-user tokens,cog_prefix / RFC 4648 base32). Live validation usesGET /v1/sessionsforapk_*keys andGET /v3/selfforcog_tokens. - Added
kingfisher scan docker --archive <image.tar>for scanning saved Docker/OCI image archives directly, including OCI-layoutdocker saveoutput and compressed tar archives.