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.
@tom-s/kquery
Advanced tools
TODO: - handle bad user input (selector not string and replace with)
A jQuery-like capable library.
You can play with kQuery here: https://codesandbox.io/s/unruffled-davinci-8mgyt
OR You can also run the example locally:
git clone git@github.com:tom-s/kQuery.git
cd kQuery
npm install
npm run start
Add the package to your dependencies
npm install --save @tom-s/kquery
Import the library in your file
import kQuery from "@tom-s/kquery"
Use the library (make sure the DOM is loaded before you run any kQuery)
kQuery('.my-selector').remove()
See assignment.md
npm run test
npm run build`
npm publish`
I have made the following (debattable) choices:
The following improvements could be made in the future:
FAQs
TODO: - handle bad user input (selector not string and replace with)
The npm package @tom-s/kquery receives a total of 1 weekly downloads. As such, @tom-s/kquery popularity was classified as not popular.
We found that @tom-s/kquery 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.