
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@breezertwo/strapi-provider-upload-digitalocean
Advanced tools
Digital ocean spaces provider for Strapi asset upload
This provider will upload to the space using the AWS S3 API. Strapi v5 ready and AWS Client SDK v3.
https://fra.digitaloceanspaces.com
)myspace
)/example
)https://fra.cdn.digitaloceanspaces.com
)npm i @breezertwo/strapi-provider-upload-digitalocean
./config/plugins.js
of your strapi projectmodule.exports = ({env}) => ({
// ...
upload: {
config: {
provider: "@breezertwo/strapi-provider-upload-digitalocean",
providerOptions: {
key: env('DO_SPACE_ACCESS_KEY'),
secret: env('DO_SPACE_SECRET_KEY'),
endpoint: env('DO_SPACE_ENDPOINT'),
space: env('DO_SPACE_BUCKET'),
region: env('DO_SPACE_REGION'),
directory: env('DO_SPACE_DIRECTORY'),
cdn: env('DO_SPACE_CDN'),
}
},
},
// ...
})
.env
and add Digital Ocean env variables.DO_SPACE_ACCESS_KEY=
DO_SPACE_SECRET_KEY=
DO_SPACE_ENDPOINT=
DO_SPACE_BUCKET=
DO_SPACE_REGION= #Optional (defaults to fra1)
DO_SPACE_DIRECTORY= #Optional
DO_SPACE_CDN= #Optional
module.exports = ({ env }) => ({
// ...
{
name: "strapi::security",
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
"connect-src": ["'self'", "https:"],
"img-src": [
"'self'",
"data:",
"blob:",
"<you digital ocean space endpoint or cdn domain>",
],
"media-src": [
"'self'",
"data:",
"blob:",
"<you digital ocean space endpoint or cdn domain>",
],
upgradeInsecureRequests: null,
},
},
},
},
// ...
})
FAQs
Digital ocean spaces provider for Strapi asset upload
The npm package @breezertwo/strapi-provider-upload-digitalocean receives a total of 14 weekly downloads. As such, @breezertwo/strapi-provider-upload-digitalocean popularity was classified as not popular.
We found that @breezertwo/strapi-provider-upload-digitalocean demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.