
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
whatta-type
Advanced tools
Verify that your users are inputting the correct types in a runtime environment. If they don't then your program will be alerted and you can deal with it in your own manner.
const type = require("whatta-type/whatta-type");
import type from "whatta-type/whatta-type.js";
Here are some examples cases of how to use the package
console.log(type.isArray(["1", "2", "3"])); // true
console.log(type.isArray("I am a string")); // false
This package is the equivalent of the text information gathered here. I did not create the code in this package rather I found that this was the most accurate source for verifying types at runtime that I could find and put it in package format so that other's could use it in their programs if they wanted w/o having to look-it-up everytime. The code is still open source with an ISC license for everyone!
FAQs
Verify that your users are inputting the correct types in a runtime environment. If they don't then your program will be alerted and you can deal with it in your own manner.
The npm package whatta-type receives a total of 25 weekly downloads. As such, whatta-type popularity was classified as not popular.
We found that whatta-type 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.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.