Skip to content

fix: clear dependency audit findings and add multi-ecosystem CI - #354

Merged
ChiragAgg5k merged 10 commits into
mainfrom
chore-dependency-audit-and-ci
Aug 2, 2026
Merged

fix: clear dependency audit findings and add multi-ecosystem CI#354
ChiragAgg5k merged 10 commits into
mainfrom
chore-dependency-audit-and-ci

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Aug 2, 2026

Copy link
Copy Markdown
Member

No description provided.

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-apps

greptile-apps Bot commented Aug 2, 2026

Copy link
Copy Markdown

Greptile Summary

The PR clears dependency audit findings and adds fail-closed, multi-ecosystem dependency auditing.

  • Adds dedicated npm, Bun, PHP, Python, Ruby, Dart, Go, Rust, .NET, and Maven audit jobs.
  • Adds an OSV Scanner adapter for Maven coordinates declared in Java and Kotlin deps.gradle fragments.
  • Updates dependency manifests, lockfiles, and affected template implementations.

Confidence Score: 5/5

The 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

Filename Overview
.github/workflows/audit.yml Adds multi-ecosystem audit jobs and preserves the fixes that propagate preparation and .NET audit command failures.
.github/scripts/audit-maven.py Converts all current deps.gradle Maven coordinates into OSV Scanner input and propagates scanner failures.
bun/sync-with-meilisearch/package.json Removes browser polyfills for Node built-ins and moves Bun typings into development dependencies.
bun/sync-with-qdrant/package.json Removes redundant Node built-in packages and updates Bun type dependency placement.

Reviews (10): Last reviewed commit: "refactor: audit Maven deps via osv-scann..." | Re-trigger Greptile

Comment thread .github/scripts/audit-osv.py Outdated
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>
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

Addressed Greptile P1 (OSV fail-closed on HTTP/URL errors) and fixed failing govulncheck / osv-scanner (dart) jobs.

ChiragAgg5k and others added 3 commits August 2, 2026 12:27
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>
Comment thread .github/workflows/audit.yml Outdated
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>
Comment thread .github/workflows/audit.yml
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>
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

Addressed Greptile P1s: PHP/Ruby/Dart subshells now use set -euo pipefail so prep failures fail the job, and the .NET job honors dotnet list package exit codes.

Comment thread .github/workflows/audit.yml
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>
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

Restored Maven/deps.gradle coverage with a minimal OSV coordinate audit job for Java/Kotlin templates.

ChiragAgg5k and others added 2 commits August 2, 2026 12:49
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>
@ChiragAgg5k
ChiragAgg5k merged commit 48934ad into main Aug 2, 2026
11 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the chore-dependency-audit-and-ci branch August 2, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants