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.
[].map(f)
for older browsers
var map = require('array-map');
var letters = map([97,98,99], function (c) {
return String.fromCharCode(c);
});
console.log(letters.join(''));
output:
abc
var map = require('array-map')
Create a new array ys
by applying f(xs[i], i, xs)
to each element in xs
at
index i
.
With npm do:
npm install array-map
MIT
v0.0.1 - 2022-10-12
8048dba
0ab0a1f
3909421
83cac41
auto-changelog
8a61987
funding
in package.json 2854c0d
tape
0aec614
npmignore
to autogenerate an npmignore file c5b8638
cb91b96
46f3a20
safe-publish-latest
540233d
aud
in posttest
4f9efa2
FAQs
`[].map(f)` for older browsers
The npm package array-map receives a total of 613,519 weekly downloads. As such, array-map popularity was classified as popular.
We found that array-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.