Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@arethetypeswrong/history
Advanced tools
This package provides `@arethetypeswrong/core` analysis for every [npm-high-impact](https://github.com/wooorm/npm-high-impact) package at the latest version available on the first of every month since January 2022.
This package provides @arethetypeswrong/core
analysis for every npm-high-impact package at the latest version available on the first of every month since January 2022.
The analysis is saved as a 1.2 GB newline-delimited JSON file, cached in Azure Storage for incremental updates going forward, compressed down to 34 MB for shipping to npm, and accessible in Node as a JavaScript object via a small programmatic interface.
import { getAllDataAsObject, getVersionsByDate } from "@arethetypeswrong/history";
const dates = await getVersionsByDate();
const data = await getAllDataAsObject();
function getPackagesWithFalseCJSProblems(date) {
const packages = dates[date];
const result = [];
for (const { packageName, packageVersion } of packages) {
const analysis = data[`${packageName}@${packageVersion}`];
// `analysis` is undefined if the package doesn't contain types
if (analysis?.problems.some((p) => p.kind === "FalseESM")) {
result.push(analysis);
}
}
return result;
}
const mayFalseESMProblems = getPackagesWithFalseCJSProblems("2023-05-01").length;
const juneFalseESMProblems = getPackagesWithFalseCJSProblems("2023-06-01").length;
console.log({ mayFalseESMProblems, juneFalseESMProblems });
FAQs
This package provides `@arethetypeswrong/core` analysis for every [npm-high-impact](https://github.com/wooorm/npm-high-impact) package at the latest version available on the first of every month since January 2022.
The npm package @arethetypeswrong/history receives a total of 1 weekly downloads. As such, @arethetypeswrong/history popularity was classified as not popular.
We found that @arethetypeswrong/history demonstrated a healthy version release cadence and project activity because the last version was released less than 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.