
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.
rust-change-detection
Advanced tools
Change detection library written is rust, using file hashes to detect changes in files and directories.
Using gxhash
for hashing files
yarn add rust-change-detection --dev
or
npm install rust-change-detection --save-dev
export RCD_FOLDERS=./packages
{
"scripts": {
"rcd": "rcd"
}
}
yarn rcd
.rcd_log
file.env
file in the root of your project and add the RCD_FOLDERS
variable there..env
file before running the command, using a package like dotenv-cli
or cross-env
or env-cmd
.{
"scripts": {
"rcd": "env-cmd .env rcd"
}
}
Variable | Description | Default | Required |
---|---|---|---|
RCD_FOLDERS | The folders to watch for changes | none | true |
RCD_IGNORE_FOLDER | The folders to ignore with ; as separator | node_modules;dist;.git;coverage;.turbo | false |
RCD_IGNORE_FILE | The files to ignore with ; as separator | .gitignore;.prettierrc;.eslintrc;.babelrc;.DS_Store;Thumbs.db | false |
RCD_HASH_FILE | The file to store the hashes | .rcd_hash | false |
RCD_LOG_FILE | The file to store the logs, i.e the list of changed files | .rcd_log | false |
RCD_LOG_LEVEL | The log level, can be info or debug | info | false |
MIT
FAQs
A files change detection tool written in Rust
The npm package rust-change-detection receives a total of 20 weekly downloads. As such, rust-change-detection popularity was classified as not popular.
We found that rust-change-detection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.