Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
It is a vCard generator written in TypeScript for NodeJS that uses amazing ez-vcard library written in Java. It can read and write vCards in many different formats. The "ez" stands for "easy" because the goal is to create a library that's easy to use.
make
and g++
on Ubuntu: sudo apt install build-essential
(to build node-java dependency)npm i ez-vcard
const ezVcard = require('ez-vcard').default;
(async () => {
const vcard = await ezVcard({name: {first: 'Maxim'}});
console.log(vcard);
})();
npm install @types/node typescript
src/vcard.ts
import ezVcard from 'ez-vcard';
(async () => {
const vcard = await ezVcard({name: {first: 'Maxim'}});
console.log(vcard);
})();
tsconfig.json
{
"compilerOptions": {
"esModuleInterop": true
}
}
and run: npx ts-node src/vcard.ts
or compile: npx tsc --outDir dist
.
Note: the first run might take a while, because it downloads maven packages required for package to run. Subsequent runs will be much faster than the first one.
FAQs
A vCard parser library for NodeJS with TypeScript support
The npm package ez-vcard receives a total of 0 weekly downloads. As such, ez-vcard popularity was classified as not popular.
We found that ez-vcard 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.