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.
hexo-image-cloudflare
Advanced tools
A hexo plugin to use Cloudflare to cache images, powered by images.weserv.nl.
npm i hexo-image-cloudflare
After installing the plugin, all image urls will be converted to CDN urls automatically. For example, the origin markdown file is
![Work/Life Balance](https://drive.google.com/uc?id=1PElTKhhNIPYSuoXIQtwTyq-RcWKA5MYd&export=download)
Then it will be converted to
![Work/Life Balance](https://images.weserv.nl/?url=https://drive.google.com/uc?id=1PElTKhhNIPYSuoXIQtwTyq-RcWKA5MYd&export=download)
The local image urls will be also converted. For example, the original file is
![Work/Life Balance](/img/anti996.png)
It will be rendered as
![Work/Life Balance](https://images.weserv.nl/?url=https://your.blog/img/anti996.png)
where https://your.blog
is the url of your blog that you set in _config.yml
.
You can custom the CDN server url in _config.yml
, and the default value is https://images.weserv.nl
.
Some other configurations are avaible.
cdn:
server: https://images.weserv.nl
use_webp: false
native: false # use cloudflare native image resize
max_width:
exclude_domains:
FAQs
Use Cloudflare to cache images in Hexo
The npm package hexo-image-cloudflare receives a total of 36 weekly downloads. As such, hexo-image-cloudflare popularity was classified as not popular.
We found that hexo-image-cloudflare 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.