
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@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.
npm install @dodona/dolos-lib
Required: Node.js, Python 3 and a compiler (GCC)
Dolos uses tree-sitter to parse source code files. Tree-sitter currently only runs in node and will thus not run in browser environments.
If you only require the matching algorithms, you can use the platform-independent library Dolos Core.
import { Dolos } from "@dodona/dolos-lib";
const dolos = new Dolos();
const report = dolos.analyzePaths(["./file1.js", "./file2.js"]);
npm install
npm run build
npm run test
Visit our web page at https://dolos.ugent.be.
FAQs
Code similarity detection based on the Winnowing algorithm
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 6 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.