You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cli: loopback-only source override so install tests can exercise skills install offline #590
The released binary fetches agent skills from fixed hosts (github.com/squirrelscan/skills.git for the ref lookup, raw.githubusercontent.com/squirrelscan/skills for the manifest and files; see apps/cli/src/self/skills-manifest.ts). There is no way to point it at another source, so the release install tests cannot exercise squirrel skills install against a local fixture server (#423).
An override would decide where skill files are fetched from, so it is a supply-chain-sensitive change that needs its own security review. A narrow design to evaluate: an env var honoured only when it resolves to a loopback address, ignored otherwise, never read from project config.
Acceptance Criteria
A design note states the threat model and why the override cannot redirect a user's skill fetch to an attacker-controlled host
The override is honoured only for loopback addresses and ignored (with a visible warning) for anything else
A test proves a non-loopback value is rejected and the default hosts are used
The release install tests run squirrel skills install against a local fixture server on every platform
Docs describe the variable as a test hook, not a supported mirror setting
Verified against main after v0.0.145 (loopback-only test hook landed). Met: criteria 1, 2, 3 and 5. Open: criterion 4, no workflow or release install test runs squirrel skills install with the hook on each platform (the in-process test covers syncSkills). Leaving this open for that.
Acceptance check against main 7c31d5b (hook first released in v0.0.145, release gate step in v0.0.148, in v0.0.161):
#
Criterion
Result
Evidence
1 to 3, 5
Threat model, loopback-only, rejection test, docs
PASS
already ticked; apps/cli/tests/self/skills-test-source.test.ts 19 pass on this main; docs/cli/skills.mdx calls it a test hook, not a mirror setting
4
Release install tests run squirrel skills install against a local fixture server on every platform
PASS
issue #1367 added the step in commit 8b09cb9: .github/workflows/test-install.yml runs scripts/skills-install-fixture-check.py with SQUIRREL_SKILLS_TEST_SOURCE in the Linux glibc, Linux musl, macOS arm64, macOS x64 and Windows jobs; scripts/skills-install-gate.test.ts (2 pass) checks that every job embeds the same script. Release run 41736440175, at the v0.0.161 tag commit, shows "Install skills from a local fixture server" with conclusion success in all five "Verify installers" jobs
Activity
test(cli): build the credential URL at run time (secret scan) #590
feat(cli): loopback-only SQUIRREL_SKILLS_TEST_SOURCE test hook for sk…
test(cli): build the credential URL at run time (secret scan) #590
fix(cli): announce the skills test source on stderr, non-vacuous redi…
feat(cli): loopback-only SQUIRREL_SKILLS_TEST_SOURCE test hook for sk…
test(cli): build the credential URL at run time (secret scan) #590
fix(cli): announce the skills test source on stderr, non-vacuous redi…
nc9 commentedon Oct 30, 2026
Verified against main after v0.0.145 (loopback-only test hook landed). Met: criteria 1, 2, 3 and 5. Open: criterion 4, no workflow or release install test runs
squirrel skills installwith the hook on each platform (the in-process test coverssyncSkills). Leaving this open for that.nik
nc9 commentedon Nov 4, 2026
Acceptance check against main 7c31d5b (hook first released in v0.0.145, release gate step in v0.0.148, in v0.0.161):
apps/cli/tests/self/skills-test-source.test.ts19 pass on this main;docs/cli/skills.mdxcalls it a test hook, not a mirror settingsquirrel skills installagainst a local fixture server on every platform.github/workflows/test-install.ymlrunsscripts/skills-install-fixture-check.pywithSQUIRREL_SKILLS_TEST_SOURCEin the Linux glibc, Linux musl, macOS arm64, macOS x64 and Windows jobs;scripts/skills-install-gate.test.ts(2 pass) checks that every job embeds the same script. Release run 41736440175, at the v0.0.161 tag commit, shows "Install skills from a local fixture server" with conclusion success in all five "Verify installers" jobsTicked criterion 4 and closing.
nik