Dependency Firewall: Block ris... Note
GitLab

Dependency Firewall: Block risky packages before the build

Malicious open-source packages pose a significant risk to software builds, especially with AI coding agents automatically adding dependencies. These packages can execute with pipeline privileges, impacting systems the development pipelines touch. GitLab Dependency Firewall, in early access, prevents the inclusion of malicious, vulnerable, or non-compliant packages before they enter a build. This shifts remediation from weeks to minutes by providing built-in governance. The firewall allows developers and AI agents to add dependencies without manual security reviews, while ensuring compliance. Unlike traditional Software Composition Analysis which scans after installation, Dependency Firewall enforces policies at the point of installation. Policies can be set for malicious status, vulnerability severity, license type, and package age. Enforcement can start in "warn" mode to analyze before enabling "block" mode for pipeline stoppage. Policies can be set globally and then tailored for specific teams or projects, with the strictest rule applying. Developers can now check package compliance using the GitLab CLI before adding them, avoiding build failures and workflow interruptions. The firewall provides a single view of allowed, warned, and blocked actions with an immutable audit trail for compliance. It is compatible with GitLab Artifact Central and external registries and is available in early access for Premium or Ultimate tier customers.