Skip to content

[BUG] npm audit doesn't show github Dependabot alerts #4681

Description

@Ockejanssen

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

package.json
with
"dependencies": {
"node-forge": "^0.10.0"
}

npm audit

npm audit report

node-forge <=1.2.1
Severity: moderate

Expected Behavior

CVE-2022-0122 (moderate)
CVE-2022-24773 (moderate)
CVE-2022-24772 (high)
CVE-2022-24771 (high)

The issue appears in npm 7 and npm 8. npm 6 works as expected.

Steps To Reproduce

  1. In this environment...
    npm 8
  2. With this config...
  3. Run '...'
    npm i node-forge@^0.10.0
    npm shrinkwrap
    npm audit
  4. See error...
    Only 1 moderate

Environment

  • npm: 8.6.0
  • Node.js: 16.14.2
  • OS Name: Linux, Mac
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingPriority 2secondary priority issueRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions