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.
Icon.
Can be used to display icons from the following sources:
img
-tag based media objects (bitmaps like .png
or vectors like
.svg
can be used)background-image
or glyphs from icon fonts),use
-tag refs.There is no size defined by the icon class. Sizing should be done by
the surrounding container, the inherited font-size or modifiers like
vclIconSize1
.
Based on an img
tag using bitmap (PNG) and vector (SVG) in this example.
img-tag based media objects example
Based on a background image. The size is defined by the container and the use
of vclLayoutFit
on the div carrying the background image.
background image based media objects example
CSS class based (icon font).
CSS class based with icon font example
Inline SVG based.
vclIcon
vclIconSize1
: Default size for non icon-font based icons ~24px.vclIconSize2
: ~36px.vclIconSize3
: ~48px.example.html on GH-pages.
FAQs
Icon
The npm package @vcl/icon receives a total of 2 weekly downloads. As such, @vcl/icon popularity was classified as not popular.
We found that @vcl/icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.