Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
nodegit-lfs
Advanced tools
Nodegit LFS is an extension library used to augment NodeGit with the capability to use git lfs via the command line.
To use this package, you must have git and git lfs installed.
This project is new, and is highly volatile. It should be noted that any subsequesnt releases may have breaking changes for the foreseeable future.
NodeGit
is a peer dependency of the NodeGit LFS
package, so you should make sure to install NodeGit
before NodeGit LFS
.
To install NodeGit
run:
yarn add nodegit
To install NodeGit LFS
run:
yarn add nodegit-lfs
Once installed, you only need to bootstrap NodeGit LFS
once:
const nodegit = require('nodegit');
const addLfs = require('nodegit-lfs');
// Call the function returned from nodegit-lfs with nodegit as a parameter
// and you are good to go!
addLfs(nodegit);
// After nodegit has been augmented you can use LFS via the LFS object
nodegit.LFS.register()
.then(() => {
console.log('The LFS filter has been registered!');
});
Clone the repo:
git clone https://github.com/axosoft/nodegit-lfs
Once cloned:
cd nodegit-lfs
yarn
FAQs
A wrapper for NodeGit to facilitate LFS Support
We found that nodegit-lfs 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.