
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.
keyword-brunch
Advanced tools
A brunch plugin to replace predefined keywords of public files after every compilation.
Add "keyword-brunch": "x.y.z"
to package.json
of your brunch app.
Pick a plugin version that corresponds to your minor (y) brunch version.
If you want the latest repository version, install the plugin by running the following command:
npm install --save "git+ssh://git@github.com:huafu/keyword-brunch.git"
Usage:
module.exports =
keyword:
# file filter
filePattern: /\.(js|css|html)$/
# Extra files to process which `filePattern` wouldn't match
extraFiles: [
"public/humans.txt"
]
# By default keyword-brunch has these keywords:
# {!version!}, {!name!}, {!date!}, {!timestamp!}
# using information from package.json
map:
myDate: -> (new Date).toISOString()
someString: "hello"
The plugin will replace any keyword in map surrounded with '{!' and '!}' by the result of the given associated function or with the given associated string. The functions are re-calculated on every build, but only once per build, not at every file. So you can make some keywords for the current git repository branch, commit hash, ...
FAQs
Adds keyword processing support to brunch.io application packager.
We found that keyword-brunch 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.