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.
generate-avatar
Advanced tools
👆 The logo is: generateFromString('generateavatar')
Check out the example: https://generate-avatar.now.sh/
Your lightweight avatar generator, which 100% fingerprinted on any input you want.
You can pass your email, uuid, username etc. as an input and it will generate everytime the same unique svg based avatar for you. Which means you don't need to store any image in your database anymore. It generates that image on the fly whereever you want based on the id, email and so on.
The best thing it's only 5kB big, so it can be basically used everywhere you want.
npm i generate-avatar
You pass in the string you want and it will return the svg in a string format:
import { generateFromString } from 'generate-avatar'
generateFromString("example@test.com")
This will generate the following svg image.
You can try it out here. Try to pass in example@test.com
and you will see the exact same image.
FAQs
Generate your 100% fingerprinted example avatar from id, email, username etc.
We found that generate-avatar 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
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.