search

Home  >  Q&A  >  body text

Analyze the security of npm packages

<p>Is there a way to verify the security of npm packages? I'm working on a project that requires CSV file processing and discovered the Papa Parse package (https://www.papaparse.com/). Before continuing, I want to make sure it's safe. Any insight would be greatly appreciated. </p> <p>I don’t know how to verify whether a package is safe</p>
P粉550323338P粉550323338513 days ago609

reply all(1)I'll reply

  • P粉293550575

    P粉2935505752023-08-16 09:49:48

    No.

    Something is not "safe" or "unsafe" without understanding the context of use and user expectations.

    The NPM package manager does a decent job of finding known vulnerabilities, but of course it cannot be relied upon entirely.

    You need to review the code yourself, or trust the opinion of others (such as a company that audits code).

    reply
    0
  • Cancelreply