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.
world-flags-sprite
Advanced tools
Include 1 css file and have all the worlds' flags on your site. Tell everyone who uses a lot of country flags to use this link, so it will be in everyone's cache!
In the head of your html file:
<link
rel="stylesheet"
type="text/css"
href="//cloud.github.com/downloads/lafeber/world-flags-sprite/flags32.css"
/>
In the body of your html file:
<ul class="f32">
<li class="flag ar">Argentina</li>
<li class="flag au">Australia</li>
<li class="flag at">Austria</li>
...
</ul>
The countries corresponding to the codes can be found at: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
If a previously visited site uses this same code, the file is already in the cache of the user and doesn't need to be downloaded again.
See the cheese wiki: http://www.cheesewiki.com/ for an example
FAQs
A sprite of all the worlds' flags
The npm package world-flags-sprite receives a total of 4,902 weekly downloads. As such, world-flags-sprite popularity was classified as popular.
We found that world-flags-sprite 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.