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.
@cloudimage-strapi/content-plugin
Advanced tools
npm install @cloudimage-strapi/content-plugin
config/middlewares.js
Replace 'strapi::security',
with:
{
name: 'strapi::security',
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
'connect-src': ["'self'", 'https:'],
'img-src': ["'self'", 'data:', 'blob:', 'scaleflex.cloudimg.io', 'assets.scaleflex.com', '*.cloudimg.io'],
'media-src': ["'self'", 'data:', 'blob:', 'scaleflex.cloudimg.io', 'assets.scaleflex.com', '*.cloudimg.io'],
upgradeInsecureRequests: null,
},
},
},
},
config/server.js
Append url: 'domain (including the http/https:// part)'
Eg: if you website is called mywebsite.com
, then write like this:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
url: 'https://www.mywebsite.com',
});
It’s very important that you don’t forget to do this
If you enter nothing or an invalid token, you will get this error.
In the rare case that we can’t auto-detect whether token is v7 or not, you will get the option to manually set it.
FAQs
Strapi v4 plugin for Cloudimage by Scaleflex
The npm package @cloudimage-strapi/content-plugin receives a total of 0 weekly downloads. As such, @cloudimage-strapi/content-plugin popularity was classified as not popular.
We found that @cloudimage-strapi/content-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
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.