Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
macos-alias
Advanced tools
Mac OS aliases creation and reading from node.js
This library does currently not handle the book\0\0\0\0mark\0\0\0\0
-header. It only does manipulation on the raw alias data.
I intend to add something like alias.write(buf, path)
and alias.read(path)
.
npm install macos-alias
var alias = require('macos-alias');
Create a new alias pointing to target
, returns a buffer.
(This function performs blocking fs interaction)
Decodes buffer buf
and returns an object with info about the alias.
Encodes the info
-object into an alias, returns a buffer.
Check if the file at path
is an alias, returns a boolean.
(This function performs blocking fs interaction)
Clone the repo and start making changes, run node-gyp
to build the project.
node-gyp rebuild
mocha
FAQs
Mac OS aliases creation and reading from node.js
The npm package macos-alias receives a total of 14,831 weekly downloads. As such, macos-alias popularity was classified as popular.
We found that macos-alias 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.