Skip to content

docs(dev-design): use bare npx ai-devkit fallback - #387

Closed
codeaholicguy wants to merge 1 commit into
mainfrom
security/dev-design-pin
Closed

codeaholicguy wants to merge 1 commit into
mainfrom
security/dev-design-pin

Conversation

@codeaholicguy

@codeaholicguy codeaholicguy commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Removes the mutable-version fallback in the dev-design skill per the skill security audit (systemic fix S1, revised form).

  • Finding: npx ai-devkit@latest fetches and executes whatever latest resolves to at runtime — flagged across the skills tree by skills.sh (Snyk W012 'unverifiable external dependency', TrustHub REMOTE_CODE_EXECUTION; Socket flagged this pattern on dev-lifecycle as a LOW anomaly).
  • Change (revised): uses bare npx ai-devkit — no version specifier. Bare npx prefers any installed binary (project or global) with zero network access, and only fetches (resolving latest) when nothing is installed. This is strictly better than @latest, which bypasses installed versions every run, and avoids pin staleness from a hardcoded @x.y.z. Accepted residual risk: the not-installed fetch window, unchanged from today. Prefer-installed phrasing kept where the skill promotes npx as primary.
  • Behavior: instruction text only; no executable code changed (dev-lifecycle also updates its bundled scripts/check-status.sh default).

Test plan

  • Diff limited to the skill's files
  • Repo pre-push hooks (fmt:check, lint, test) passed

Generated with Devin

@codeaholicguy
codeaholicguy force-pushed the security/dev-design-pin branch from ab468ec to d969ee7 Compare October 14, 2026 19:33
@codeaholicguy codeaholicguy changed the title docs(dev-design): pin ai-devkit to 0.70.1 docs(dev-design): use bare npx ai-devkit fallback Oct 14, 2026
Replace npx ai-devkit@latest with bare npx ai-devkit: it prefers any
installed binary (project or global) with zero network and only fetches
when absent, avoiding both @latest's bypass of installed versions and
pin staleness. Instruction text only.
@codeaholicguy
codeaholicguy force-pushed the security/dev-design-pin branch from d969ee7 to d3fb665 Compare October 14, 2026 19:40
@codeaholicguy
codeaholicguy deleted the security/dev-design-pin branch October 14, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant