Urgent.News

What's breaking now, across thousands of outlets.

Tech

Does Dependency Security Really Need the Cloud?

The question I kept asking myself a simple question: Why does checking a dependency for a known vulnerability need to send anything to the cloud? This isn't an argument against cloud-based security tooling . There are good reasons to use centralized services, especially when you need continuously updated data, organization-wide policies, reporting, or large-scale analysis. I was interested in a…

The question of whether dependency security truly requires cloud-based solutions arises from a desire to understand if a dependency vulnerability analyzer can function entirely locally. This consideration led to the development of Dependency Vulnerability Companion, an IntelliJ-family plugin that performs vulnerability checks without needing an internet connection, an account, token, API key, or any network calls during analysis.

The core of the analyzer's architecture involves parsing a project file, normalizing the dependency, matching it against a local vulnerability database, and performing an IntelliJ inspection. The plugin contains a versioned vulnerability database within its JAR, sourced from OSV bulk data. At runtime, the plugin reads this data locally, making the core vulnerability check independent of network availability.

The plugin currently supports dependency declarations in several formats, including pom.xml, build.gradle, build.gradle.kts, package.json, and requirements.txt. The initial parsers are kept relatively lightweight, focusing on extracting key information like the ecosystem, package, version, and source location. This representation allows the vulnerability matching layer to operate without needing to understand the original ecosystem-specific declaration syntax.

One critical aspect of the analyzer is its ability to retain source offsets, enabling it to pinpoint the exact location of a vulnerable dependency within the original source file. This feature enhances the usefulness of the analysis by providing concrete information, such as "This declaration in the file you're editing matches a known vulnerable version."

The analyzer's approach to version comparison is particularly noteworthy. It must handle various version ranges and boundaries across different ecosystems, ensuring that it accurately determines whether a given version is affected by a known vulnerability. The current implementation avoids attempting to resolve complex dependency expressions or property resolutions, focusing instead on reliably analyzing declarations that can be processed with the available information.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why is PageSpeed Insights worse than my local Lighthouse score?

You run Lighthouse in Chrome DevTools on a client URL and see Performance 94. You paste the same URL into PageSpeed Insights and the lab Performance score drops to the sixties.

  • Lighthouse and PageSpeed Insights run on different machines
  • PageSpeed Insights lab data often worse than local Lighthouse
  • Differences arise from throttling, cache, and extension states

Why Post-Fetch Filtering on LinkedIn Guest Pages Drops Your Dataset Yield

The Illusion of Server-Side Filters in Guest Sessions Data engineers integrating the linkedin-jobs-scraper often assume that selecting an input parameter means LinkedIn's database executes that query.

  • LinkedIn limits post-fetch filtering on guest pages
  • Data engineers must implement custom filtering after scraping
  • EnrichmentDepth setting impacts data yield and structure

More from Friday 2 October →