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.
fog-aws-dynamodb-locker
Advanced tools
This is an attempt to use DynamoDB as a lock store.
We don't have a 'Locks as a Service' thing yet, so this is an experiment to make the best of what we do have.
Would love to hear of any use of this or if you think it is just a terrible idea to begin with.
Inspired by the simplicity of sequel-pg-locker by @dylanegan.
Add this line to your application's Gemfile:
gem 'fog-aws-dynamodb-locker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fog-aws-dynamodb-locker
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export DYNAMODB_LOCK_TABLE='my-lock-table'
require 'fog/aws/dynamodb/locker'
# first run only
Fog::AWS::DynamoDB::Locker.init!
# create a lock
Fog::AWS::DynamoDB::Locker.lock!('my lock')
# => true
# try to claim it a second time
Fog::AWS::DynamoDB::Locker.lock!('my lock')
# => false
# release it
Fog::AWS::DynamoDB::Locker.release!('my lock')
# => true
Fog::AWS::DynamoDB::Locker.sweep!(n)
to remove all locks that are n
oldgit checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that fog-aws-dynamodb-locker 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.