Skip to content

Remove the dependency CVE audit check from app doctor - #8555

Merged
jplhomer merged 1 commit into
mainfrom
joshlarson/remove-app-doctor-cve-audit
Sep 16, 2026
Merged

jplhomer merged 1 commit into
mainfrom
joshlarson/remove-app-doctor-cve-audit

Conversation

@jplhomer

@jplhomer jplhomer commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

https://github.com/shop/issues-develop/issues/23910

CVE auditing is tricky. Previous support was pinned to just NPM dependencies, and even within those, false positives were detected for dependencies used only in development or tests. npm audit also calls out to the public internet which makes it a little iffy as far as exposing private package names to third parties.

This PR removes App Doctor's package-manager CVE audit while a replacement is developed in a future PR.

WHAT is this pull request doing?

Removes the CVE audit runner, check registration, fallback prompt, and related tests. Cleans up command help and generated metadata, preserves submission coverage using an existing check, and adds a removal changeset. No replacement or absence tests are added.

How to manually test your changes?

pnpm shopify app doctor --path /path/to/shopify-app --skip-instructions
pnpm shopify app doctor --path /path/to/shopify-app --json

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

Co-authored-by: AI (Pi/GPT-6 Astra) <noreply@pi.dev>
@github-actions github-actions Bot added the Area: @shopify/app @shopify/app package issues label Sep 15, 2026
@jplhomer
jplhomer marked this pull request as ready for review September 15, 2026 16:30
@jplhomer
jplhomer requested review from a team as code owners September 15, 2026 16:30
Copilot AI lite review requested due to automatic review settings September 15, 2026 16:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jplhomer
jplhomer added this pull request to stack #8557 September 15, 2026 17:26
@jplhomer
jplhomer requested a review from dmerand September 16, 2026 14:34
}
if (
['source', 'app_source', 'theme', 'manifest', 'secrets', 'source_and_theme'].includes(definition.target) &&
['source', 'app_source', 'theme', 'secrets', 'source_and_theme'].includes(definition.target) &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad for this cleanup, the references to manifest and audit look like potential inconsistency debt from fast iteration?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think audit (CVE audit) used manifest as a target (package lockfile) so this was a legit removal 👍

@jplhomer
jplhomer added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 63d82e4 Sep 16, 2026
79 of 81 checks passed
@jplhomer
jplhomer deleted the joshlarson/remove-app-doctor-cve-audit branch September 16, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/app @shopify/app package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants