Skip to content

Rebuild root lockfile to restore deterministic npm audit scanning - #13

Merged
Pmaster-dev merged 6 commits into
developfrom
copilot/audit-needs-teardown
Aug 2, 2026
Merged

Rebuild root lockfile to restore deterministic npm audit scanning#13
Pmaster-dev merged 6 commits into
developfrom
copilot/audit-needs-teardown

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown

npm audit was failing before vulnerability evaluation due to a corrupted lockfile state (Cannot read properties of undefined (reading 'extraneous')). This change rebuilds the lock graph so audit can execute normally and produce real findings for triage.

  • Lockfile recovery

    • Replaced the root package-lock.json with a freshly generated workspace-resolved lockfile.
    • Removed inconsistent virtual-tree metadata that was causing Arborist to crash during audit/--package-lock-only operations.
  • Audit path normalization

    • Restored the expected workflow: dependency graph resolution succeeds first, then advisory scanning runs and returns actionable CVEs instead of terminating on lockfile parsing.
# Previous failure mode
npm audit
# -> Cannot read properties of undefined (reading 'extraneous')

# After this change
npm audit
# -> completes and reports vulnerabilities for remediation

Comment thread scripts/generate-sdk.js Fixed
…from environment values'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Pmaster-dev <8pinkycollie8@gmail.com>
@Pmaster-dev
Pmaster-dev marked this pull request as ready for review July 20, 2026 15:06
@Pmaster-dev

Copy link
Copy Markdown
Owner

@copilot please fix the merge conflicts in this pull request.

@Pmaster-dev

Copy link
Copy Markdown
Owner

@copilot please fix the merge conflicts in this pull request.

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Author

@copilot please fix the merge conflicts in this pull request.

Fixed. I merged develop into this PR branch and resolved the merge conflicts in commit 72d2a85, then addressed follow-up workflow security validation in e60ef6d.

@Pmaster-dev
Pmaster-dev merged commit 2e250e6 into develop Aug 2, 2026
4 checks passed
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.

3 participants