Skip to Content
SCA & DependenciesDependency Management

Dependency Management

Supported Ecosystems

CodeStax supports scanning dependencies across 9 package ecosystems:

EcosystemManifest FilesLock Files
npmpackage.jsonpackage-lock.json, yarn.lock
Python (pip)requirements.txt
Python (Pipenv)PipfilePipfile.lock
Python (Poetry)pyproject.tomlpoetry.lock
Mavenpom.xml
Gradlebuild.gradle
Gogo.modgo.sum
RustCargo.tomlCargo.lock
RubyGemfileGemfile.lock
PHPcomposer.jsoncomposer.lock
NuGet*.csprojpackages.config

Dependency Details

For each dependency, CodeStax tracks:

  • Current version in your project
  • Latest available version
  • Whether it’s outdated (visual indicator)
  • Known vulnerabilities (CVE count)
  • License type
  • Package manager source

Risk Scoring

Dependencies are scored using a composite formula:

FactorWeightHow It’s Calculated
CVSS Score40%Highest CVSS of any CVE in the package
Fix Availability30%Higher risk if no patched version exists
Severity Weight30%Critical=1.0, High=0.75, Medium=0.5, Low=0.25

Risk Score = (CVSS × 0.4) + (Fix Factor × 0.3) + (Severity × 0.3) × 100

Health Metrics

The dependency health dashboard shows:

  • Total dependencies — Direct and transitive
  • Vulnerable packages — Those with known CVEs
  • Outdated packages — Those behind the latest version
  • Avg update age — How far behind your dependencies are
  • Recommendations — Prioritized list of packages to update