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.
shindanmaker web scraper
shindan is a web scraper for ShindanMaker, a joke fortune telling website.
const shindan = require('shindan')
shindan
.diagnose(587327, 'Pudding')
.then(console.log) // Yes, Pudding is 795% cute.
Authors on ShindanMaker create short, often comical diagnoses based on message fragments that are shuffled together, and then visitors enter their names and read these random diagnoses with their names inserted in. I couldn't find an official API to do this on ShindanMaker's site, so I decided to just scrape their website for data.
Sends a request to ShindanMaker for the provided shindanID
with your name
.
shindanID
number. You can find this in your shindan's uri. Must be an integer.name
string. Who is the diagnosis for? Can't be an empty string, but can be anything else ShindanMaker supports.promise
/ callback
You can use either or both.
result
string. Diagnosis result.error
Error. You can get request errors, which are internet issues, and parsing errors, which would happen because ShindanMaker changed their site markup.Generally, providing the same pair of arguments will give you the same results for a day. Try it yourself for more details.
Scrapes ShindanMaker's list page, passing options
as a query string.
options
You can either provide an object or a string here. If you leave this blank, you'll get the newest listing.
mode
parameter.mode
Your list mode. You can find them by browsing ShindanMaker, but the most useful one is probably hot
for HOT items.p
List page.promise
/ callback
You can use either or both.
results
array. An array of objects representing the items found in the list
order
number. The current list indexid
number. Shindan IDtitle
string. Shindan name / titlediagnoses
number. Number of diagnoses given. Sometimes inaccurate.description
string. Shindan descriptionfavorites
number. Number of favoritesauthor
string. Whoever wrote the shindantags
array. An array of strings representing the tags given to this shindanFAQs
shindanmaker web scraper
We found that shindan 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
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.