
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/dawkrish/compression-tool
Inspired by this coding challenge
All the code blocks are meant to be run in a terminal
Install Go You can download Go from [here]
Install the binary
go install github.com/dawkrish/compression-tool@latest
This will place the binary in GOPATH
. You can check your GOPATH
by typing the command go env
Confirm
which compression-tool
should output something like
/Users/<username>/go/bin/compression-tool
There are only 2 flags
-h
for help-d
for decompressingExample
./compression-tool <file-name>
: will compress the content of the file into a new file <file-name_compressed.txt>
./compression-tool -d <file-name>
: will decompress the content of the file into a new file <file-name_decompressed.txt>
Note : the -d
flag must come before the <file-name>
. You can look the reason for it [here]
Note that the flag package requires all flags to appear before positional arguments (otherwise the flags will be interpreted as positional arguments)
The project was simple and small, but effective, if you face any issue, please raise an issue
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.