bestzip is vulnerable to Argument Injection
84
High Risk
bestzip is a Node.js wrapper that builds an argument array for the system's native zip binary and passes user-supplied source file paths to it. It does not place the -- option terminator before the source list, so a source path beginning with - is parsed by native zip as an operational flag instead of a filename. The fix inserts -- before the expanded sources so all following tokens are treated strictly as filenames.
You are affected if you are using a version that falls within the vulnerable range and you pass untrusted source file paths to bestzip.
bestzip is vulnerable to Argument Injection in versions 0.0.1 - 2.2.5 and 3.0.0 - 3.0.1.
Upgrade the bestzip library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant