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.
@mojotech/mojo-ghost-s3-adapter
Advanced tools
A Ghost blog storage adapter to store and serve images from AWS S3.
After installing, new images uploaded will use an absolute URL to your
S3 storage bucket. Any old, existing requests to /content/images
will be
proxied to your S3 bucket as well, so that previous images will not be affected.
This requires you to have uploaded your previous /content/images
assets to
your S3 bucket.
This adapter has been tested with Ghost 1.8.x and higher.
Ghost storage adapters need to be installed directly in your ghost installation content directory:
$ npm install @mojotech/mojo-ghost-s3-adapter
$ mkdir -p content/adapters/storage
$ cp -r node_modules/@mojotech/mojo-ghost-s3-compat content/adapters/storage
An AWS IAM user with GetObject
bucket permissions is required. You will need
the IAM users access and secret key information to configure the storage adapter.
In your Ghost configuration file, add a storage
block for your environment:
'storage': {
'active': 'mojo-ghost-s3-adapter',
'mojo-ghost-s3-adapter': {
'accessKeyId': '<ACCESS_KEY_ID>',
'secretAccessKey': '<SECRET_ACCESS_KEY>',
'bucket': '<S3_BUCKET_NAME>',
'region': '<S3_REGION_NAME>'
}
}
If you use a CDN such as CloudFront or CloudFlare you can add an optional
assetHost
key to your storage
configuration with the virtual host url
of your CDN.
assetHost: 'https://cdn.yourdomain.com'
Bug reports and Pull Requests are welcome at https://github.com/mojotech/mojo-ghost-s3-adapter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant Code of Conduct.
Copyright (c) 2017 MojoTech, LLC.
Released under the MIT license.
FAQs
Ghost storage adapter to store and serve images from AWS S3
The npm package @mojotech/mojo-ghost-s3-adapter receives a total of 3 weekly downloads. As such, @mojotech/mojo-ghost-s3-adapter popularity was classified as not popular.
We found that @mojotech/mojo-ghost-s3-adapter 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.