Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
detect_flake
Advanced tools
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky.
See the GitHub Releases for installation scripts and pre-built binaries.
You can also use one of the following package managers.
cargo install detect_flake
npm install detect_flake
brew install aqrln/homebrew-tap/detect_flake
nix profile install github:aqrln/detect_flake
(or run it right away without installing with nix run github:aqrln/detect_flake -- <ARGUMENTS>
)
detect_flake [FLAGS] [OPTIONS] --command <command>
Flags:
-h, --help
— Prints help information-V, --version
— Prints version information-i, --inherit-stdio
— Inherit stdio instead of redirecting to /dev/null
-p, --print-failing-output
— Print the stdout and stderr of unsuccessful runs only-e, --exit-early-on-error
— Exit early the first time the command returns a non-zero error codeOptions:
-c, --command <command>
— Command to run-r, --runs-per-thread <runs-per-thread>
— Number of serial runs per each thread [default: 100]-t, --threads <threads>
— Number of parallel threads [default: 10]Version 0.6.0 (2024-01-23)
Commits: https://github.com/aqrln/detect_flake/compare/v0.5.7...v0.6.0
Proper parser for command arguments which mimics the POSIX shell. You can now use commands with arguments that contain spaces by wrapping them in quotes:
detect_flake -c 'echo "hello world"'
Conversely, if you relied on quotes used in the commands verbatim, they may now need to be escaped using backslashes.
Retroactively added the changelog since the past few versions which will now be maintained for all future releases.
FAQs
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky
The npm package detect_flake receives a total of 1 weekly downloads. As such, detect_flake popularity was classified as not popular.
We found that detect_flake demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.