Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
CLI utility for hashing a "secret" string to SHA512 and copying the hash to the clipboard.
CLI utility for hashing a "secret" string to SHA512 and copying the hash to the clipboard.
Note: all hashes created by this utility are transformed to uppercase, which is NOT the default behavior of Node's crypto hashers.
Install this utility from NPM:
npm i -g bogpaddle
# or
yarn global add bogpaddle
The default usage for bogpaddle is simply typing bogpaddle hash
and entering your "password".
$ bogpaddle hash
? Enter the password to hash: [hidden]
Copied to clipboard.
If you'd rather not be prompted for input, you can pass a -p "secret"
to bogpaddle. I recommend pulling the secret value from an environment variable to keep it out of your logs and history.
$ bogpaddle hash -p "secret"
Copied to clipboard.
Finally, you can write the hashed value out to your terminal rather than copying to your clipboard.
$ bogpaddle hash -d -p "secret"
BD2B1AAF7EF4F09BE9F52CE2D8D599674D81AA9D6A4421696DC4D93DD0619D682CE56B4D64A9EF097761CED99E0F67265B5F76085E5B0EE7CA4696B2AD6FE2B2
You'll note that I'm using "password" and "secret" in quotes. This is because the SHA512 shouldn't be used to hash passwords. Instead you should be using a true password hasher like bcrypt. I have a specific use for hashing a hidden string to SHA512, thus this utility.
FAQs
CLI utility for hashing a "secret" string to SHA512 and copying the hash to the clipboard.
The npm package bogpaddle receives a total of 0 weekly downloads. As such, bogpaddle popularity was classified as not popular.
We found that bogpaddle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.