skills
- Type
- Skill
- Scanned
- Nov 13, 2026
- Version
- fa691671fda3
- Files read
- 22
This project is a collection of instructional skills and code templates that teach AI coding agents how to write, test, analyze, document, and build Dart and Flutter applications. The main risk is a manual test-coverage workflow that instructs the agent to start a background Dart VM debugger service on localhost with authentication disabled, which could let a malicious website or another local user execute code while the test process remains open.
What it can reach
- Shell commands
- Instructs the AI agent to run local Dart, Flutter, and search commands such as dart test, dart analyze, dart fix, dart pub, dart run, and grep.
- Files
- Guides the AI agent in creating and editing Dart source files, unit tests, native build hooks, pubspec.yaml, pubspec.lock, and analysis_options.yaml.
- Network
- Instructs the AI agent to download packages from pub.dev via dart pub and provides build-hook templates that download precompiled native libraries over HTTPS.
Findings
-
LowManual coverage workflow disables authentication on the Dart VM debugger port
skills/dart-collect-coverage/SKILL.md:82
The advanced manual coverage workflow instructs the agent to start Dart tests in the background with --enable-vm-service=8181, --pause-isolates-on-exit, and --disable-service-auth-codes. Disabling service auth codes removes the secret token that protects the local Dart VM Service debugger from cross-site browser requests and other users on the same computer, allowing arbitrary code execution through the VM service while the process is running—or indefinitely if the subsequent collection command fails before resuming isolates.
Fix: Use dart run coverage:test_with_coverage (passing --branch-coverage or --function-coverage if needed), or omit --disable-service-auth-codes and pass the authenticated VM service URI printed by dart run to collect_coverage.
-
LowNative asset download template uses MD5 to verify executable binaries
skills/dart-setup-ffi-assets/SKILL.md:301
When guiding the agent to generate a build hook that downloads precompiled C or C++ shared libraries (.dll, .so, .dylib), the skill treats MD5 as acceptable for tamper prevention and implements the example check with md5.convert. MD5 is vulnerable to collision attacks and should not be used to verify native binaries that are dynamically loaded into the process, and the template writes the downloaded file to the output directory before verifying its hash without deleting it on failure.
Fix: Require SHA-256 exclusively via sha256.convert from package:crypto when verifying downloaded native binaries, and verify the hash before moving the binary into the final output path (or delete the file immediately on mismatch).
