ProfMalPlus detects malicious NPM packages with 98.1% F1, uncovering 597 new threats
ProfMalPlus achieves 98.1% F1-score and identifies 597 previously unknown malicious NPM packages
Software arXiv 15 Jul 2026 Method Prototype evidence
Published as “ProfMalPlus: Agent-Coordinated Detection of Malicious NPM Packages via Static-Dynamic Analysis Synergy”
Why it matters
The system can substantially improve supply-chain security for NPM ecosystems, but its runtime cost may limit high-throughput deployment.
Summary
ProfMalPlus achieved the highest F1-score of 98.1% on a curated dataset of 1,090 malicious and 3,000 benign NPM packages, outperforming five prior detectors by 3.5% to 52.6% and detecting 597 previously unknown malicious packages in three months of real-world monitoring with a 16.5% false-positive rate. The evidence comes from a controlled evaluation (10-fold cross-validation for learning-based baselines) and a live deployment, but the system is slower (394 s per package) and still produces false negatives when behavior extraction fails.
What they found 2
- Highest detection effectiveness
“ProfMalPlus achieved the highest F1-score of 98.1%, outperforming detectors by 3.5% to 52.6%.”
- Real-world detection of unknown malware
“ProfMalPlus detected 597 previously unknown malicious packages, achieving the lowest false positive rate of 16.5%.”
Caveats 3
- ProfMalPlus’s false negatives mainly come from incomplete behavior extraction or unavailable dynamic evidence.
- ProfMalPlus takes 394.37 s/pkg, which is higher than all baselines.
- ProfMalPlus’s false positives mainly come from highly suspicious behaviors whose benign intent cannot be verified from source-level evidence.
What’s new here 4
- Unified behavior graph that models control, data dependencies and resolves obfuscation, object-sensitive references, and merges dynamic evidence.
- Multi-agent reasoning framework with local and global judges, routing, and self-consistency verification.
- Code slicing that extracts suspicious code slices preserving original source with inline static annotations.
- Third-party enrichment agent that injects registry metadata and runtime API semantics into slices, plus a localization agent for line-level explanations.