Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Generates and validates compact UUIDs. Basically, this is an abstraction of http://github.com/assaf/uuid
This gem is part of Vidibus, an open source toolset for building distributed (video) applications.
Add gem "vidibus-uuid"
to your Gemfile. Then call bundle install
on your console.
Vidibus::Uuid.generate
# => "b063263064e0012d47b658b035f038ab"
Vidibus::Uuid.validate("b063263064e0012d47b658b035f038ab")
# => true
Include the Vidibus::Uuid::Mongoid module in your Mongoid model:
class MyModel
include Mongoid::Document
include Vidibus::Uuid::Mongoid
end
To verfify that custom attributes are formatted as UUID, add the uuid validator to your model:
class MyModel
include Mongoid::Document
field :product_uuid
validates :product_uuid, :uuid => {:allow_blank => true}
end
© 2010-2012 Andre Pankratz. See LICENSE for details.
FAQs
Unknown package
We found that vidibus-uuid 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.