Skip to content

References in private libraries #675

Open

Description

@yanhui2623

Hello,I would like to ask what to do if my package.json file contains references to private libraries?

Activity

  1. fraxken commented on Mar 18, 2026

    @fraxken
    Member

    By default it work by looking into npm local configuration: https://github.com/NodeSecure/cli?tab=readme-ov-file#private-registry--verdaccio

    There is maybe hole into the way we manage automatically private registry, do not hesitate to tell us if things are not working as expected.

  2. yanhui2623 commented on Mar 19, 2026

    @yanhui2623
    Author
    Image

    Thank you for your reply. I have set the address of my private library, but when running the CLI scan, it seems that I still use the npm official website address to download dependencies.

  3. fraxken commented on Mar 19, 2026

    @fraxken
    Member

    Are you using the latest version on NPM or directly the cloned git repo ?

  4. yanhui2623 commented on Mar 20, 2026

    @yanhui2623
    Author

    I installed it through the npm install @nodesecure/cli -g command. Also, what if the detected malicious code is a false positive? Do we have a whitelist mechanism.For example, if the result below is a false positive, how should it be handled

    Image
  5. fraxken commented on Mar 20, 2026

    @fraxken
    Member

    Version on NPM is quite old, I'm currently working to publish a V4.0 to npm soon. Some warnings have more prone to false positive, the UI allow to disable them in the settings page.

  6. yanhui2623 commented on Mar 23, 2026

    @yanhui2623
    Author

    Okay, are we planning to fix the issue with private packages in the future 4.0 version, or can I just skip the private package check

  7. fraxken commented on Mar 23, 2026

    @fraxken
    Member

    Not 100% sure rn, we a few contributors we are deeging the subject to see if there is bug in the current version.

  8. yanhui2623 commented on Mar 24, 2026

    @yanhui2623
    Author

    OK ,thanks for your reply.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions