
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Js module to manipulate NTFS Alternate Data Stream (ADS) on windows.
Alternate data streams allow more than one data stream to be associated with a filename (a fork),
using the format filename:streamname (e.g., text.txt:extrastream).
You can store extended attributes by ADS in NTFS on windows as an alternative form of fs-xattr
npm install --save fs-ads
const ads = require('fs-ads')
Get Alternate Data Stream streamName from file at path.
options is an object that used to set the encoding of ads. The default encoding is utf-8. You can set some custom encoding.
options = { encoding: 'utf-8' } // default
options = { encoding: 'ascii' } // use ascii
options = { encoding: null } // the raw buffer is returned
cb is a callback that will be called with (err, val).
Synchronous version of ads.get
Set Alternate Data Stream streamName to value on file at path.
value can be either a string or a Buffer.
options is an object that used to set the encoding of ads. The encoding option is ignored if data is a Buffer. It defaults to utf-8.
options = { encoding: 'utf-8' } // default
options = { encoding: 'hex' } // use hex
cb is a callback that will be called with (err).
Synchronous version of ads.set
Remove Alternate Data Stream streamName on file at path.
cb is a callback that will be called with (err).
Synchronous version of ads.remove
FAQs
Node.js module to manipulate NTFS Alternate Data Stream (ADS)
We found that fs-ads 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.