T08 · Insecure Dependencies
- Location
SKILL.md:224- Finding
Unpinned Runtime Execution and Undeclared Native Dependency
- Content
View full analysis
[options] ``` Options: - `-s, --scale ` — Scale factor (default: 2) - `-o, --output ` — Custom output path (default: `@2x.png`) - `--json` — JSON output ## Process 1. Identify the diagram type from the user's request 2. Read the relevant reference file if one exists for that type 3. Plan the layout: list all components, determine grouping and flow direction, calculate positions 4. Write the SVG following the layering order above 5. Verify spacing rules — no overlaps, legends outside boundaries, viewBox large enough 6. Save the SVG file 7. Run `${BUN_X} {baseDir}/scripts/main.ts ` to generate @2x PNG 8. Present both files to the user ``` From `scripts/main.ts:41`: ```typescript const sharp = (await import("sharp")).default; ``` ### Technical Analysis The Skill directs the Agent to execute `npx -y bun` when Bun is not already installed. No exact package version, integrity digest, package manifest, or lockfile is provided. Consequently, the package selected from the configured npm registry may change after the Skill has been audited. The conversion script also dynamically imports `sharp`, but the project does not include a dependency manifest or lockfile declaring an audited version. Resolution therefore depends on the runtime and surrounding environment. It may use an unexpected local installation, fail unpredictably, or, in environments supporting automatic package installation, retrieve an unpinned package. This violates reproducible d ...[truncated 1583 chars]- Remediation
View remediation
