
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
grunt-mount
Advanced tools

Grunt task to mount/unmount a network share
Provides two tasks: mount and unmount.
npm install --save-dev grunt-mount
grunt.initConfig({
mount: {
share: {
options: {
windows: { // windows specific options
driveLetter: "X"
},
'*nix': { // *nix specific options
fileSystem: "smbfs", // equivalent to 'mount -t [smbfs|cifs|nfs]'
},
share: {
host: "my.server.com",
folder: "/path/on/server" // paths can be windows or *nix style (will be normalised)
},
mountPoint: "./share", // path to mount the share (can be windows or unix style)
username: "someuser",
password: "password"
}
}
},
unmount: {
share: {
options: {
windows:{ // windows specific options
driveLetter: "X"
},
mountPoint: "./share"
}
}
}
});
grunt.loadNpmTasks('grunt-mount');
On *nix systems, the share will be mounted at the specified mount-point. On Windows, the share will be mounted on the specified drive letter, and a symlink will be created at the mount-point.
FAQs
grunt task to mount a network share
We found that grunt-mount 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.