Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
activestorage-storj-s3
Advanced tools
ActiveStorage-Storj-S3 is a ruby gem extension for activestorage-storj gem to provide Storj S3 Compatible Gateway support for some ActiveStorage features, e.g. direct upload which requires S3 presigned URL.
Add this line to your Rails application's Gemfile:
gem 'activestorage-storj-s3', '~> 1.0'
And then execute:
$ bundle install
Modify Storj configuration in config/storage.yml
:
storj:
service: storj_s3 # change from "storj" to "storj_s3"
...
# provide the Storj S3 gateway credentials
s3_gateway:
access_key_id: ""
secret_access_key: ""
endpoint: ""
region: global
The rest configurations are same as in activestorage-storj
gem.
Create configurations.yml
file in test/dummy/config/environments/service
folder, or copy the existing configurations.example.yml
as configurations.yml
.
Provide Storj configurations for both storj
and storj_public
services in configurations.yml
:
storj:
service: storj_s3
access_grant: ""
bucket: ""
auth_service_address: auth.storjshare.io:7777
link_sharing_address: https://link.storjshare.io
s3_gateway:
access_key_id: ""
secret_access_key: ""
endpoint: ""
region: global
storj_public:
service: storj_s3
access_grant: ""
bucket: ""
auth_service_address: auth.storjshare.io:7777
link_sharing_address: https://link.storjshare.io
s3_gateway:
access_key_id: ""
secret_access_key: ""
endpoint: ""
region: global
public: true
Run the tests:
$ bin/test
FAQs
Unknown package
We found that activestorage-storj-s3 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.