Skip to content

PRP: Extractor for Dart package_config.json #2217

Description

@sanjay20m
  • Software distribution method or binary type: Dart package configuration (.dart_tool/package_config.json).
  • Popularity of distribution method: Dart and Flutter use the Pub ecosystem, which contains tens of thousands of packages and serves millions of developers. The package_config.json file is a standard artifact in every Dart and Flutter application created since Dart 2.8. It is generated during dart pub get or flutter pub get and explicitly maps all installed dependencies to their cached file locations, capturing the exact runtime dependency tree.
  • Any critical, emergent vulnerability associated with software from the distribution method: The OSV.dev database natively supports the Pub ecosystem. While there is no single emergent CVE, supply chain risks in widely-used Flutter packages (like http or webview_flutter) are common. SCALIBR currently extracts dependencies from the pubspec.lock manifest. Extracting from package_config.json is highly complementary, as it acts as a deployed/runtime artifact that reflects exactly which packages the Dart build system resolved and installed locally, similar to Go's vendor/modules.txt or PHP's installed.json.
  • Resources:

Metadata

Metadata

Assignees

Labels

PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:AcceptedPatch Reward Program: This issue has been accepted as a PRP entry.PRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions