Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/public/cli-commands/npm-audit/ drwxr-xr-x |
Viewing file: Select action/file-type: npm auditRun a security auditSynopsis
ExamplesScan your project for vulnerabilities and automatically install any compatible updates to vulnerable dependencies:
Run
Skip updating
Have
Do a dry run to get an idea of what
Scan your project for vulnerabilities and just show the details, without fixing anything:
Get the detailed audit report in JSON format:
Get the detailed audit report in plain text result, separated by tab characters, allowing for future reuse in scripting or command line post processing, like for example, selecting some of the columns printed:
To parse columns, you can use for example
Fail an audit only if the results include a vulnerability with a level of moderate or higher:
DescriptionThe audit command submits a description of the dependencies configured in your project to your default registry and asks for a report of known vulnerabilities. The report returned includes instructions on how to act on this information. The command will exit with a 0 exit code if no vulnerabilities were found. You can also have npm automatically fix the vulnerabilities by running By default, the audit command will exit with a non-zero code if any vulnerability
is found. It may be useful in CI environments to include the Content Submitted
ScrubbingIn order to ensure that potentially sensitive information is not included in the audit data bundle, some dependencies may have their names (and sometimes versions) replaced with opaque non-reversible identifiers. It is done for the following dependency types:
The non-reversible identifiers are a sha256 of a session-specific UUID and the value being replaced, ensuring a consistent value within the payload that is different between runs. Exit CodeThe If vulnerabilities were found the exit code will depend on the See Also👀 Found a typo? Let us know! The current stable version of npm is here. To upgrade, run: To report bugs or submit feature requests for the docs, please post here. Submit npm issues here. |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0984 ]-- |