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.
@the-grid/caliper
Advanced tools
Measurement library for The Grid content, handling different media and non-media types.
First make sure you have all dependencies installed (check .travis.yml file to a list of dependencies on Ubuntu):
npm install
Make sure you have the environment variables set:
AMAZON_API_BUCKET
: AWS bucket we use for uploading processed images for testsAMAZON_API_ID
: Our ID on AWSAMAZON_API_REGION
: Our region on AWSAMAZON_API_TOKEN
: Access token on AWS(Please ask some Caliper maintainer about env vars if you want to use it for local development).
Use the following command to run tests locally:
grunt
It is also helpful to run tests for only a pattern, e.g. for running image related tests:
grunt test --grep "measuring images"
Caliper deals with many media and non-media (e.g. text only html blocks). You can find more information about schemas for those types and their calculated measurements in The Grid's API docs.
To run Caliper on some image URL and draw measurements:
./bin/caliperize <SOME IMAGE URL>
FAQs
Measurement library
The npm package @the-grid/caliper receives a total of 6 weekly downloads. As such, @the-grid/caliper popularity was classified as not popular.
We found that @the-grid/caliper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers 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.