fix: clear dependency audit findings and add multi-ecosystem CI - #354
Conversation
Refresh stale lockfiles, bump vulnerable/blocked packages, repair broken builds, and gate future advisories with a weekly audit workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
Greptile SummaryThe PR clears dependency audit findings and adds fail-closed, multi-ecosystem dependency auditing.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the previously reported fail-open audit paths now propagate failures, and Maven dependencies declared in the current Gradle fragments are scanned. Important Files Changed
Reviews (10): Last reviewed commit: "refactor: audit Maven deps via osv-scann..." | Re-trigger Greptile |
Fail closed on OSV HTTP/network errors, use osv-scanner v2 scan API with a moderate+ JSON filter for Dart, and run govulncheck on a patched stable Go toolchain. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed Greptile P1 (OSV fail-closed on HTTP/URL errors) and fixed failing |
The allowlist was empty and only wired into the Maven/Deno OSV script, so drop the file and the dead allowlist logic. Co-authored-by: Cursor <cursoragent@cursor.com>
Use native audit commands per ecosystem (npm audit, composer audit, pip-audit, bundler-audit, govulncheck, cargo audit, osv-scanner) and drop the custom OSV Python helpers and severity filters. Co-authored-by: Cursor <cursoragent@cursor.com>
Match sdk-generator's approach and pin every third-party Action to a full commit hash with a version comment for readability. Co-authored-by: Cursor <cursoragent@cursor.com>
Latest cargo-audit requires rustc 1.88+, but the pinned toolchain action installs 1.83.0. Install 1.85.0 and pin cargo-audit 0.22.1. Co-authored-by: Cursor <cursoragent@cursor.com>
Make PHP/Ruby/Dart multi-command subshells use set -euo pipefail so resolution failures are not masked, and honor dotnet list package exit codes instead of only grepping stdout. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed Greptile P1s: PHP/Ruby/Dart subshells now use |
Java/Kotlin templates only ship deps.gradle fragments, so add a minimal OSV coordinate scan for those manifests. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Restored Maven/ |
Require packages to be at least 3 days old before install to reduce exposure to freshly published compromised versions. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the hand-rolled OSV HTTP client; emit a temp osv-scanner.json from deps.gradle coords and reuse the same scanner as the Dart audit job. Co-authored-by: Cursor <cursoragent@cursor.com>
No description provided.