·
10 commits
to main
since this release
[v0.3.0] — 2026-06-15
Distribution: KernDX-1.1.0-11-pipeline.zip. Ships alongside the framework as pipeline-v0.3.0 against framework release v1.1.0-11.
This release adds committed-secret scanning, surfaces every security-bypass call site for review, and teaches doctor to catch silent PMD-for-Apex version drift.
Added
secret-scan— committed-credential detection, wired as a CI gate. A newkerndx secret-scancommand scans changed files for credentials that should never reach a repository, with patterns tuned for Salesforce: SFDX auth URLs (force://…), session/access tokens and OAuth refresh tokens, connected-app consumer secrets, Salesforce credential environment variables assigned a literal value, PEM private keys, and prefixed cloud keys (AWS, GitHub, Slack, Google). Detection is tiered: unambiguous credential shapes fail the PR's Secret Scan status check, while keyword-anchored assignments, JWTs, and generic credential literals are reported as advisories that flag a likely leak without blocking CI. It is deliberately quiet on look-alikes — bare org and record IDs, 18-character API names, UUIDs, hashes, and${{ secrets.X }}templating are never flagged.kerndx initscaffolds the Secret Scan workflow, andpreflightruns the same scan locally (advisory) before every push. Pairs with — does not replace — your Git host's native push protection.KernSecurityBypassCallSitePMD rule (informational) — inventories every security-bypass call site (withSystemMode,bypassSharing,withoutSecurity, validation- and trigger-action bypasses) so a pull request that introduces a new bypass surfaces during review. Acknowledge expected call sites with@SuppressWarnings('PMD.KernSecurityBypassCallSite')or an inline// NOPMDcomment stating the reason.
Changed
preflightnow also runssecret-scan— the pre-push sequence isscan+secret-scan+naming(previouslyscan+naming).doctorcatches PMD-for-Apex version drift.doctor --verbosenow surfaces the PMD Apex module version bundled inside Salesforce Code Analyzer — previously undetectable — anddoctorwarns when that bundled version moves past the version this pipeline has validated against, so a silent Code Analyzer upgrade can't change how your scans behave without telling you.
Install
unzip KernDX-1.1.0-11-pipeline.zip -d .kerndx-pipeline
(cd .kerndx-pipeline/pipeline && npm ci --omit=dev)
./.kerndx-pipeline/bin/kerndx initSee pipeline/INSTALL-PIPELINE.md in the bundle for the full guide (SHA verification, ESLint wire-up, upgrade flow).