Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
github.com/tai9/cargo-nft-be
To start backend service, you need to install docker and golang-migrate first.
brew install golang-migrate
make postgres
make createdb
We also provide a cli to drop database if you need to refresh project
make dropdb
make migrateup
make sqlc
make server
make migrations name={ARGS}
make migrationup
make migrationdown
make docker.build
make docker.push
make deploy.staging
Library: https://github.com/casbin/casbin
Model:
permission
: define all system permissions. Permission can have type
or not.
Currently, there is only one type
, this is CRUD
, it represents 4 action: read, update, create, delete with
following bitmask. In contrast, if type
is null
, this means action is can
.action | bit |
---|---|
create | 8 // 0b1000 |
read | 4 // 0b0100 |
update | 2 // 0b0010 |
delete | 1 // 0b0001 |
FAQs
Unknown package
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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.