Vet: Open-Source Software Supply Chain Security Tool

Listen to this Post

Featured Image
Vet is an open-source tool designed to enhance software supply chain security by detecting vulnerabilities and malicious packages. Unlike traditional Software Composition Analysis (SCA) tools, Vet provides deeper insights into potential risks in dependencies.

🔗 Reference: Vet GitHub/Source

You Should Know:

Installation & Setup

To get started with Vet, follow these steps:

Linux/macOS Installation

 Clone the repository 
git clone https://github.com/safedep/vet.git

Navigate to the directory 
cd vet

Install dependencies (Python required) 
pip install -r requirements.txt

Run Vet 
python vet.py --help 

Windows Installation

 Ensure Python is installed 
python --version

Clone the repository 
git clone https://github.com/safedep/vet.git

Install dependencies 
pip install -r requirements.txt

Execute Vet 
python vet.py scan --path C:\your_project 

Key Commands & Usage

Scan a Project for Vulnerabilities

python vet.py scan --path /path/to/your/project 

Check for Malicious Packages

python vet.py detect-malware --package-name suspicious_package 

Export Results to JSON

python vet.py scan --path /your/project --output results.json 

Integrate with CI/CD

 Example GitHub Actions workflow 
- name: Run Vet Supply Chain Scan 
run: | 
git clone https://github.com/safedep/vet.git 
cd vet 
pip install -r requirements.txt 
python vet.py scan --path ./ 

Advanced Security Checks

Verify Package Signatures

python vet.py verify-signature --package package_name --version 1.0.0 

Dependency Tree Analysis

python vet.py analyze-deps --format tree 

Check for Known Exploits (Using CVE Databases)

python vet.py check-cve --package vulnerable_package 

What Undercode Say

Software supply chain attacks are rising, and tools like Vet are essential for proactive security. Key takeaways:
– Always audit third-party dependencies.
– Use Vet in CI/CD pipelines for automated checks.
– Combine with Sigstore for artifact signing verification (cosign verify).
– Monitor for typosquatting attacks (pip install --hash verification).

🔍 Related Security Commands:

 SBOM Generation with Syft 
syft packages /path/to/project -o json

Verify Docker image signatures 
cosign verify docker.io/suspicious/image

Check for leaked secrets 
gitleaks detect --source /repo/path 

Expected Output:

{
"scan_results": {
"vulnerabilities": [
{
"package": "lodash",
"version": "4.17.15",
"cve": "CVE-2021-23337"
}
],
"malicious_packages": []
}
}

Prediction

As supply chain attacks grow, expect Vet to integrate with more platforms (Kubernetes, Terraform) and support AI-driven anomaly detection in dependencies.

🔗 Further Reading:

IT/Security Reporter URL:

Reported By: Mojrhm Vet – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 Telegram