Malware analysis is available for free with SafeDep Cloud. See pricing for details.
Supported Ecosystems
npm
JavaScript and TypeScript packages
PyPI
Python packages and wheels
Go Modules
Go language modules
RubyGems
Ruby packages and gems
GitHub Actions
GitHub Action workflows
VS Code Extensions
Visual Studio Code extensions
Requirements
Install Vet
You must have Vet version
1.9.7 or above installed.SafeDep Cloud Access
You must be onboarded to SafeDep Cloud with a Tenant Domain and API Key. See SafeDep Cloud Quickstart for onboarding instructions.
Repository Scanning
Basic Malware Scanning
Enable malware analysis with the--malware flag:
vet waits for a timeout period for malware analysis to complete. This works well for pull requests and CI/CD pipelines where the number of changed packages is small.Timeout Configuration
Adjust analysis timeout for different scenarios:Specific Manifest Scanning
Scan individual package manifest files:PURL-Based Scanning
Scan specific packages using Package URLs:
Visual Studio Code Extensions
Scan locally installed VS Code extensions:GitHub Actions Integration
vet-action Cloud Mode
Enable malicious package protection in GitHub repositories using vet-action:Pull Request Integration
When enabled, Vet scans changed packages for malware and provides results directly in pull requests:

Package Inspection
Enable Experimental Feature
Package inspection is currently experimental. Enable it with:Inspect Single Packages
Perform detailed analysis of individual packages:Package analysis is performed asynchronously. Scanning usually takes a few minutes but may take longer depending on the analysis queue.
Analysis Results
On completion, Vet shows the analysis status and classification:
Export Results
Export analysis results as JSON:Understanding Results
Classification Levels
- SAFE: No malicious behavior detected
- SUSPICIOUS: Potentially risky patterns identified
- MALICIOUS: Confirmed malicious behavior found
Analysis Techniques
Static Analysis
Static Analysis
- Code pattern analysis
- Suspicious function detection
- Obfuscation identification
Behavioral Analysis
Behavioral Analysis
- Network communication patterns
- File system access patterns
- Process execution analysis
Metadata Analysis
Metadata Analysis
- Package metadata anomalies
- Publisher reputation analysis
- Distribution pattern analysis
CI/CD Integration Examples
GitLab CI
Jenkins Pipeline
Troubleshooting
Analysis times out frequently
Analysis times out frequently
- Increase the timeout with
--malware-analysis-timeout - Scan smaller package sets
- Check network connectivity to SafeDep Cloud
Authentication errors
Authentication errors
- Verify your API key has malware analysis permissions
- Check your tenant configuration
- Ensure you are using Vet v1.9.7 or later
Legitimate packages are flagged
Legitimate packages are flagged
- Review the analysis details
- Contact SafeDep support with the package details
- Use exceptions management for temporary overrides
vet-action Documentation
Complete GitHub Actions integration guide
SafeDep Cloud Setup
Get started with SafeDep Cloud for malware analysis
Package Inspection Guide
Learn more about experimental package inspection features
Report Issues
Report bugs or request features for malware analysis

