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.
@xyo-network/api-diviner-nodejs
Advanced tools
The main API for accessing a diviner on the XYO network information using GraphQL.
Install Node 10.x or later from: NodeJs
sudo npm install @xyo-network/api-diviner-nodejs -g --unsafe-perm=true
xyo-diviner start
Install Node 10.x or later from: NodeJs
npm install https://github.com/XYOracleNetwork/api-diviner-nodejs
npm run build
npm run start
Install the Diviner in a Docker and start the server at the end.
Note: There currently are quite a few build errors/warnings generted from dependencies that can safely be ignored, but should addressed in the future.
docker image build -t xyonetwork-api-diviner-nodejs-install:latest https://raw.githubusercontent.com/XYOracleNetwork/api-diviner-nodejs/master/docker/install/Dockerfile
docker run -p 12002:12002 xyonetwork-api-diviner-nodejs-install:latest
GraphQL Query
mutation QuestionHasIntersected($partyOneAddresses: [String!], $partyTwoAddresses: [String!]) {
questionHasIntersected(partyOneAddresses: $partyOneAddresses, partyTwoAddresses: $partyTwoAddresses)
}
Query Variables (replace the addresses with known addresses)
{
"partyOneAddresses": ["040135DC4E51B3A3AC55F5A88D22DDAD498FDE02273BD0DF6FC63D5138EB8C128CF4268A6ED86A1DC433E0D3EFD24172CD1253EAFEFF71C9B6C133B7D759BFFE7E95"],
"partyTwoAddresses": ["0401FF4FD5F39558F82E53111993D632756FBB9E5FAF85C0316DA8465F6B8B0F0BD1EC61D9C56EBBDF31C14F125964279F1996623995CCC1E30ACDF4A42E002620D4"]
}
Only for internal XY Company use at this time
Made with ❤️ by XYO
FAQs
Main Diviner Interface
The npm package @xyo-network/api-diviner-nodejs receives a total of 0 weekly downloads. As such, @xyo-network/api-diviner-nodejs popularity was classified as not popular.
We found that @xyo-network/api-diviner-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.