Pith. sign in

REVIEW 2 cited by

DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge Mapping

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2403.08334 v1 pith:LZXKD6YO submitted 2024-03-13 cs.CR

classification cs.CR
keywords packagespackageanalysismaliciouscallcodeknowledgestatic
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

With the growing popularity of modularity in software development comes the rise of package managers and language ecosystems. Among them, npm stands out as the most extensive package manager, hosting more than 2 million third-party open-source packages that greatly simplify the process of building code. However, this openness also brings security risks, as evidenced by numerous package poisoning incidents. In this paper, we synchronize a local package cache containing more than 3.4 million packages in near real-time to give us access to more package code details. Further, we perform manual inspection and API call sequence analysis on packages collected from public datasets and security reports to build a hierarchical classification framework and behavioral knowledge base covering different sensitive behaviors. In addition, we propose the DONAPI, an automatic malicious npm packages detector that combines static and dynamic analysis. It makes preliminary judgments on the degree of maliciousness of packages by code reconstruction techniques and static analysis, extracts dynamic API call sequences to confirm and identify obfuscated content that static analysis can not handle alone, and finally tags malicious software packages based on the constructed behavior knowledge base. To date, we have identified and manually confirmed 325 malicious samples and discovered 2 unusual API calls and 246 API call sequences that have not appeared in known samples.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. An Effective Docker Image Slimming Approach Based on Source Code Data Dependency Analysis

    cs.SE 2025-01 conditional novelty 6.0 of 10

    Static source-code analysis of Node.js projects can identify the system commands needed at runtime, allowing Docker images to be slimmed by up to 61.4% without breaking the tested apps.

  2. Bypassing Array Canaries via Autonomous Function Call Resolution

    cs.CR 2025-01 conditional novelty 5.0 of 10

    Arphsy bypasses Darcula's Array Canary by building a harness that calls the obfuscated file's own resolver function over a computed address range.

Pith tools