
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Returns true
if the current environment is a Continuous Integration
server configured to run a PR build.
If PR detection is not supported for the current CI server, the value
will be null
. Otherwise false
.
Please open an issue if your CI server or PR build isn't properly detected :)
npm install is-pr --save
const isPR = require('is-pr')
if (isPR) {
console.log('The code is running on a CI server as part of a PR build')
}
For CLI usage you need to have the is-pr
executable in your PATH
.
There's a few ways to do that:
npm install is-pr -g
./node_modules/.bin/is-pr
is-pr && echo "This is a PR build on a CI server"
Refer to ci-info docs for all supported CI's
v2.0.0
Breaking changes:
ci-info
v3. This drops support for EOL node versions 6, 13FAQs
Detect if the current environment is a CI server configured for a PR build
The npm package is-pr receives a total of 27 weekly downloads. As such, is-pr popularity was classified as not popular.
We found that is-pr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.