Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    NPM Audit

    Scheduled Pinned Locked Moved Support
    6 Posts 4 Posters 80 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dave.raven_6424
      last edited by

      Hi,

      In Proget 5.1.16 - the PG-1403 issue - Improve error message when running npm audit, has changed the message to show that ProGet does not support the NPM audit endpoint.

      Are there any plans to add this support to future versions?

      Thanks

      Dave

      1 Reply Last reply Reply Quote 1
      • apxltdA Offline
        apxltd inedo-engineer
        last edited by

        Unfortunately, npm audit is a totally undocumented endpoint and based on past experiences, npm's API frequently changes is nontrivial to reverse engineer. Moreover, npm, Inc does not permit or support third-party access to the API that's used by npm audit.

        When they change that underlying API (whether to enforce the no third-parties rule, or to do something from the client), ProGet will once again be broken (or worse, provide incomplete/incorrect results). At least now, you know that this is the only supported way to handle it...

        Do you have an npm enterprise license? This might be something to work with through their support channel.... they don't have a partner program at this time, so getting permission or insight into how we can access this API is difficult.

        Founder and CEO, Inedo

        1 Reply Last reply Reply Quote 0
        • apxltdA Offline
          apxltd inedo-engineer
          last edited by

          Just as an update, we will be doing this:

          https://inedo.myjetbrains.com/youtrack/issue/PG-1555

          "Proxy npm audit requests to npmjs.org (experimental)"

          Founder and CEO, Inedo

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            dave.raven_6424 @apxltd
            last edited by

            Hi,

            That's great.

            Thanks for your time. Much appreciated

            1 Reply Last reply Reply Quote 0
            • maxim_mazurokM Offline
              maxim_mazurok
              last edited by

              Would be great to have this option to use npm audit. ProGet is used in a corporate environment, where security is a pretty high priority, so not having npm audit working is kind of a deal-breaker, IMO.

              atrippA 1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer @maxim_mazurok
                last edited by

                @maxim_mazurok this has been implemented for a couple years now -- however it is still considered an "Experimental feature" because the npm audit API is undocumented and npm, Inc. does not support third-party implementations.

                Instead, ProGet will attempt to forward requests to the audit endpoint to npmjs.org or a connector. This may stop working if npmjs.org changes the API or blocks ProGet's requests. They've only changed APIs once, and we've promptly fixed it. In any case, you can configure the proxy URL in ProGet 5.3 by navigating to the Manage Feed page on your npm feed.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation