Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
The FoxHound javascript query generator, for node.js and the browser.
$ npm install foxhound --save
Then...
var foxhound = require('foxhound');
var my_awesome_query = foxhound.scope('Users').cap(20).generate().query.body;
console.log(my_awesome_query);
The default query dialect is english, so, node should output:
Please give me 20 of your Users. Thank you!
This is not very useful for anything other than testing, so, we might want to change the dialect and try again:
var foxhound = require('foxhound');
var my_awesome_query = foxhound.scope('Users').cap(20).setDialect('MySQL').generate().query.body;
console.log(my_awesome_query);
Which now will output:
SELECT * FROM Users LIMIT 20;
$ npm test
$ npm run coverage
docker build ./ -t retold/foxhound:local
alternatively you can use npm to run this
npm run docker-dev-build-image
docker run -it --name foxhound-dev -p 127.0.0.1:12346:8080 -v "$PWD/.config:/home/coder/.config" -v "$PWD:/home/coder/foxhound" -u "$(id -u):$(id -g)" -e "DOCKER_USER=$USER" retold/foxhound:local
alternatively you can use npm to run this
npm run docker-dev-run
Go to http://localhost:12346/ in a web browser
The password is "retold"
Right now you (may) need to delete the node_modules
folders and regenerate it for Linux.
FAQs
A Database Query generation library.
The npm package foxhound receives a total of 120 weekly downloads. As such, foxhound popularity was classified as not popular.
We found that foxhound demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.