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-tencent_cos
Advanced tools
Active Storage Serivce for Tencent COS
It is important to note that this library is still in early stages and is currently being implemented according to my needs
Enable CORS on your bucket(for direct upload) https://cloud.tencent.com/document/product/436/13318
Add to your Gemfile
gem 'activestorage-tencent_cos'
Edit config/storage.yml
tencent:
service: TencentCOS
secret_id: your_secret_id
secret_key: your_secret_key
app_id: your_app_id
bucket: your_bucket
region: ap-guangzhou # https://cloud.tencent.com/document/product/436/6224
endpoint: https://assets.example.com # your cdn url
max_age: 3600 # http cache time
Edit config/environments/production.rb
config.active_storage.service = :tencent
Use cdn url directly
<%= image_tag book.cover.service_url %>
FAQs
Unknown package
We found that activestorage-tencent_cos 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.