
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.
lfs-auto-track
Advanced tools
If the files bigger than the size (you can configure, check the usage part), when commit, automatically run git lfs track
files.
make sure use husky
and lint-staged
in the project, and run git lfs install
npm i lfs-auto-track -D
Add lint-staged
script in package.json
{
"name": "module-name",
...
"lint-staged": {
"*": [
"lfs-auto-track 'image,video,audio:100;*:1024'"
],
}
...
}
'image,video,audio:100;*:1024'
means if mimetype is image/video/audio files's size bigger than 100 KB, and others files bigger than 1024 KB, these files will add to.gitattributes
with run commandgit lfs track
automatically;
'*:1024'
means any files size bigger than 1024 KB when commit, these files will add to.gitattributes
with run commandgit lfs track
automatically;
The size units support
B
/KB
/MB
/GB
, default isKB
'jpg,png,gif:1MB'
means files with extensionjpg
orpng
orgif
size bigger than 1 MB when commit, these files will add to.gitattributes
with run commandgit lfs track
automatically.
package.json
/ imgs/
) This file should be store in LFSgit lfs push --all origin
GIT_LFS_SKIP_SMUDGE=1 git clone THE_REPO_URL
git lfs pull
v1.1.1 2025-02-25
B
/KB
/MB
/GB
.package.json
).FAQs
git lfs auto track module
We found that lfs-auto-track 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
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.