[Snyk] Document false positive for Next.js vulnerability #8727
+34
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Snyk Link: SNYK-JS-NEXT-9508709
Issue Type:
Improper AuthorizationPriority: Critical (CVSS 8.5)
Summary: Snyk reported a critical Next.js vulnerability in docs/package.json. However, this is a false positive as Next.js is neither a direct nor transitive dependency of the project.
Analysis
This Snyk vulnerability alert is a false positive for the following reasons:
Next.js is not a dependency: The
docs/package.jsononly listsmintlify@^4.2.3and@c15t/react@^1.7.0as dependencies.Next.js is not installed: Verification via
npm ls nextconfirms no Next.js installation exists in the project:No actual vulnerability exposure: Since Next.js isn't present in the codebase, the project is not affected by the reported Improper Authorization vulnerability.
Recommendation
This Snyk alert should be marked as a false positive and can be safely ignored. The docs project uses Mintlify for documentation and does not utilize Next.js in any capacity.
Additional Context
Snyk Issue Details
{ "vulnerability": { "id": "3ad6663f-f319-4a75-9c25-f27655c49c32", "title": "Improper Authorization", "severity": "critical", "url": "https://security.snyk.io/vuln/SNYK-JS-NEXT-9508709", "description": "Improper Authorization", "cvssScore": 851, "packageName": "NVD", "isUpgradable": true, "isPatchable": false, "fixedIn": [], "upgradePath": [] }, "project": { "id": "fa857427-b8e5-4147-9913-8d56d6835b6d", "name": "continuedev/continue:docs/package.json", "origin": "github", "type": "npm" }, "remediationHints": { "canUpgrade": true, "canPatch": false, "upgradeToVersions": [], "upgradePath": [] } }This agent session was co-authored by nate and Continue.
Summary by cubic
Added SNYK_FALSE_POSITIVE.md to document that the reported Next.js vulnerability (SNYK-JS-NEXT-9508709) does not affect the docs package. Verifies Next.js is neither a dependency nor installed, so the alert can be safely ignored.
Written for commit 055ad88. Summary will update automatically on new commits.