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.
@dodona/dolos-lib
Advanced tools
This is the software library behind Dolos. It exposes a JavaScript API to integrate plagiarism detection in your applications.
Visit dolos.ugent.be for more information.
yarn add @dodona/dolos-lib # or,
npm install @dodona/dolos-lib
Dolos uses tree-sitter to parse source code files. Tree-sitter currently only runs in node and will thus not run in browser environments. Since some of the library's functionality is use by the Dolos Web UI, the dependency on tree-sitter is optional.
import { Dolos } from "@dodona/dolos-lib";
const dolos = new Dolos();
const report = dolos.analyzePaths(["./file1.js", "./file2.js"]);
yarn install
yarn build
yarn test
Visit our web page at https://dolos.ugent.be.
FAQs
Code similarity detection based on the Winnowing algorithm
The npm package @dodona/dolos-lib receives a total of 27 weekly downloads. As such, @dodona/dolos-lib popularity was classified as not popular.
We found that @dodona/dolos-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’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.