/wings-authoring:sec-supply-chainfrom WINGS Authoring
Enforces supply chain integrity for Go/WINGS apps: dependency review, go.sum anchoring, govulncheck (native + GOOS=js), SRI on served scripts, catalog signing, and secure Docker builds.
Ships in WINGS Authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A dependency is trusted code you didn't write and won't review on every update — it runs with all the access your app has. The same philosophy that keeps WINGS itself lean applies to the app you build on it.
go mod graph | grep <dep> to see what it drags in,
check its maintenance pulse, and ask whether you need 1% of its API.go.mod change run
go mod tidy && go mod graph and skim what appeared; go mod why -m <mod>
answers "who pulled this in." An indirect module you can't explain is a
finding.go.sum is the integrity anchor — never bypass it. No GOFLAGS=-mod=mod
in CI, no GONOSUMCHECK/GONOSUMDB, no broad GOPRIVATE wildcards. Build
with Go's default -mod=readonly so a build never silently rewrites deps.govulncheck ./... before each
release, and also run it in GOOS=js mode. Native call-graph scanning
excludes //go:build js packages by build constraint, so without the second
pass your entire browser-side code is never scanned. Fix or explicitly
triage any finding before tagging.require github.com/luisfurquim/wings vX.Y.Z at a real tag, not a floating pseudo-version. go install [email protected], never @latest, in anything reproducible. Toolchain and
dependency bumps are deliberate, reviewed events, not background magic.<script> you serve. Your wasm loader, prana_helper.js,
and wasm_exec.js are static files an intermediary could tamper with — emit
integrity= hashes and keep them current with the bytes you actually ship.wi18n.SetCatalogPublicKey
and a missing or invalid .sig becomes a refusal, not a warning. Embed only
the public key (//go:embed *.pub); the private key signs at build time and
never ships. Any new runtime-fetched JSON should join this scheme from day one.FROM wings. Pin the base image (prefer a digest, or the
WINGS_VERSION tag), keep build-time ARG separate from runtime env, and
never bake private keys, tokens, or passphrases into an image — images are
shared, layers are inspectable. Embed only public material.retract directive in go.mod so go get warns; deleting the tag breaks
everyone who already pinned it.go mod tidy clean; no unexplained new indirect modulesgovulncheck ./... AND GOOS=js GOARCH=wasm govulncheck ./... clean/triagedwings pinned to a real tag; no @latest anywhere reproducible<script>Sibling skills: sec-minimal-trusted-code (the "fewest deps" principle),
sec-wasm-go (why the js pass matters), wings-build (build/dev/Docker setup).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub luisfurquim/wings --plugin wings-authoring11 skills in this plugin
/sec-fail-operationalApollo AGC fail-operational design (priority shedding, bounded everything, restart protection, NASA Power of 10) applied to YOUR WINGS app — loops, goroutines, timers, fetch error paths, recovery. Use when writing component effects, background goroutines, polling/retry, or any code that must keep the app rendering when one part fails./sec-fuzzingContinuous fuzzing with Go native fuzzing for any parser/decoder YOU add to a WINGS app — keeping parseable logic in portable (non-js) packages so it's fuzzable, writing targets, the properties to assert, corpus management. Use when you add or change any string/byte parser, custom wire format, or decoder in your app./sec-hostile-inputInput validation and parsing discipline for WINGS apps (djb "don't parse" + Margaret Hamilton's defensive design) — applied to YOUR boundaries — fetch/API responses, form fields, URL hash/query, postMessage, localStorage, and js.Values. Use when writing or changing any code in your app that reads data from outside the wasm module./sec-minimal-trusted-codedjb's trusted-code minimization applied to YOUR WINGS app — keep parsing at build time, design misuse-resistant APIs, add the fewest deps and config knobs, don't evaluate user strings at runtime. Use when designing a new component/package/public helper, adding a dependency or config option, or reviewing a diff that grows your app./sec-wasm-goSecurity peculiarities of Go-to-WASM in the browser, for apps you build with WINGS — the syscall/js trust boundary, panic = whole-app death, the innerHTML/XSS invariant, secrets in browser memory, single-thread concurrency, GOOS=js tooling gaps. Use when writing or reviewing any component (GOOS=js code), DOM interop via syscall/js, fetch, or browser-delivered features in your app./wings-buildSet up, build, and serve a WINGS app — Go module setup, the WASM build (GOOS=js), copying the JS runtime helpers, a static dev server, and the cross-platform cmd/build orchestrator (targets + the camelCase binding lint + rebuild-on-save dev mode). Use when scaffolding a new WINGS project, configuring its build, wiring main.go, or setting up a dev server / dev loop.Other plugins' skills for the same job