audit-flutter-package

Audit Flutter package archives and transitive dependencies for supply chain risk.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/chooyan-eng/ai_skills --skill audit-flutter-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-flutter-package
Source: https://github.com/chooyan-eng/ai_skills/tree/main/.claude/skills/audit-flutter-package
Command: npx skills add https://github.com/chooyan-eng/ai_skills --skill audit-flutter-package

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

このスキルは、Flutter/Dart パッケージを導入または更新する前に、公開アーカイブを dart pub unpack --no-resolve で取得して静的にレビューし、隔離した一時プロジェクトで推移的依存を再帰的に検証し、根拠ベースの監査レポートを出力します。

Core Features & Use Cases

  • 静的検証を実施し、公開アーカイブと推移的依存の安全性を評価します。
  • 隔離環境での依存解決を再現し、問題となるエンティティを特定します。
  • 根拠付きの監査レポートを生成します。
  • Use Case: 新規導入前の Flutter パッケージの信頼性評価が典型的な適用例です。

Quick Start

Run the audit for a Flutter package via /audit-flutter-package <package_name> [version] to obtain a provenance-based report.

Frequently Asked Questions about audit-flutter-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Flutter package for supply-chain risk before adoption?

It checks dependencies by resolving them in an isolated temporary project using dart pub get, then executing dart pub deps --json to recursively map and verify all transitive dependencies for problematic entities.

What is the best way to evaluate a pub package's safety before integrating it into a Dart project?

The best way to evaluate a pub package's safety is to statically review the unpacked archive and reproduce dependency resolution in a sandboxed environment to identify supply-chain risks and generate an evidence-based audit report.

Does the Flutter package audit process run builds or execute tests during verification?

No, the Flutter package audit process prohibits running builds or tests, enforcing the use of safe commands like dart pub unpack --no-resolve, dart pub get, and dart pub deps --json for static verification and dependency resolution.

Why do I need to verify transitive dependencies when auditing a Dart package archive?

You need to verify transitive dependencies because packages resolved in a sandboxed environment may pull in problematic entities through the dependency tree, which static review of the top-level package archive alone cannot detect.

Can I use this supply-chain audit approach for an existing Flutter project update?

Yes, you can use this supply-chain audit approach for both new adoption and existing project updates by unpacking the target package archive and validating its resolved transitive dependency graph in an isolated temporary project.