
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.
Generate command line flags from a standard config file.
npm install conff -g
conff.json
file in the root of your project.{
"watch": [
"watchify"
,"app.js"
,{
"transform": ["browserify-css"]
, "outfile": "bundle.min.js"
, "verbose": true
}
]
,"compile": [
"browserify"
"app.js"
,{ "transform": ["browserify-css"] }
]
,"compress": ["uglifyjs", { "mangle": true, "compress": true }]
}
Then in bash:
`conff compile` | `conf compress` > bundle.min.js
The above command will expand into:
browserify app.js --transform browserify-css | uglifyjs --mangle --compress > bundle.min.js
If you are on windows you can use --exec
and --pipe
:
conff compile --exec | conff compress --pipe --exec
A single configuration file for any bash command simplifies your build scripts.
Defining configuration in one place illuminates the relationship between different scripts
Editing json is easier than editing command line flags
Encourages use of verbose flags instead of single letter options
Removes the need for project specific config files with their own particular translation logic
The top level key is the name of your command. The top level value should be an array containing either:
A sub array follows the same rules as the top level array, and can be arbitrarily nested.
Objects will not be deeply traversed they are only a key:value store. If a value is a boolean, only the key will be added.
Strings are inserted verbatim in order. They will usually be either filenames or commands.
conff is a tiny script. I expect it will not change much (if at all), but pull requests are welcome and encouraged!
FAQs
Generate command line flags from a standard config file.
The npm package conff receives a total of 0 weekly downloads. As such, conff popularity was classified as not popular.
We found that conff 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.
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.