Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A gif performance management service.
Gifease.js looks at your DOM for all your images with a data-gifease attribute. If an image tag has a data-gifease attribute, it will create a click handler on the element. The handler will replace the image with the gif file on click. This will help reduce unnecessary gif loading bandwidth.
This is one way to include gifease.
Include gif.js.
<script src="gifease.js"></script>
Instantiate gif.js.
<script>gifease = new Gifease</script>
There is no step 3.
Before click
<img src="/a/path/image.jpg" data-gifease="/a/path/animate.gif">
![Before](http://fakeimg.pl/250x150?text=Static Image)
After click
<img src="/a/path/animate.gif" data-gifease="/a/path/animate.gif">
FAQs
Check DOM for gif files. Load an image in its place.
The npm package gifease.js receives a total of 0 weekly downloads. As such, gifease.js popularity was classified as not popular.
We found that gifease.js 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.