axstack 0.66.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/docs/host-operations.md +8 -8
- package/docs/installation.md +8 -8
- package/docs/workflows.md +5 -9
- package/package.json +2 -2
- package/skills/axstack/references/automations.md +11 -19
- package/skills/axstack/references/autopilot.md +1 -0
- package/skills/axstack/references/candidate-publication.md +7 -12
- package/skills/axstack/references/capture-receipts.md +22 -0
- package/skills/axstack/references/fleet-verification.md +3 -3
- package/skills/axstack/references/lifecycle.md +2 -2
- package/skills/axstack/references/live-run.md +59 -0
- package/skills/axstack/references/pr-shape.md +14 -9
- package/skills/axstack/references/review-manager-prompt.md +37 -19
- package/skills/axstack/references/run-record.md +2 -2
- package/skills/axstack/references/schedule-policy.json +123 -0
- package/skills/axstack/references/t3-runtime.md +5 -5
- package/skills/axstack/references/test-audit-weekly.md +1 -2
- package/skills/axstack/references/ui-verification.md +5 -3
- package/skills/axstack/references/workspace-hygiene.md +12 -3
- package/skills/axstack/sandbox/Dockerfile +28 -0
- package/skills/axstack/sandbox/host-execution.md +14 -0
- package/skills/axstack/sandbox/inventory.json +503 -0
- package/skills/axstack/sandbox/launcher-capture.js +63 -0
- package/skills/axstack/sandbox/launcher-contract.schema.json +341 -0
- package/skills/axstack/sandbox/launcher-contracts.js +35 -0
- package/skills/axstack/sandbox/launcher-docker.js +75 -0
- package/skills/axstack/sandbox/launcher-host-budget.json +10 -0
- package/skills/axstack/sandbox/launcher-host.js +165 -0
- package/skills/axstack/sandbox/launcher-host.json +5 -0
- package/skills/axstack/sandbox/launcher-image.json +4 -0
- package/skills/axstack/sandbox/launcher-interface.md +7 -0
- package/skills/axstack/sandbox/launcher-policy.js +135 -0
- package/skills/axstack/sandbox/launcher-policy.json +121 -0
- package/skills/axstack/sandbox/launcher-runtime.js +157 -0
- package/skills/axstack/sandbox/launcher-source.js +72 -0
- package/skills/axstack/sandbox/launcher.js +106 -0
- package/skills/axstack/sandbox/network-address.js +39 -0
- package/skills/axstack/sandbox/network-firewall.js +81 -0
- package/skills/axstack/sandbox/network-rules.js +86 -0
- package/skills/axstack/sandbox/network-runtime.js +109 -0
- package/skills/axstack/sandbox/network.js +49 -0
- package/skills/axstack/sandbox/probes-android-platform.xml +17 -0
- package/skills/axstack/sandbox/probes-check.js +185 -0
- package/skills/axstack/sandbox/probes-exec.js +20 -0
- package/skills/axstack/sandbox/probes-image-build.js +129 -0
- package/skills/axstack/sandbox/probes-image-pins.json +370 -0
- package/skills/axstack/sandbox/probes-link-local.js +25 -0
- package/skills/axstack/sandbox/probes-storage.js +33 -0
- package/skills/axstack/sandbox/probes-udp.js +44 -0
- package/skills/axstack/sandbox/probes.js +239 -0
- package/skills/axstack/sandbox/proxy-command.js +6 -0
- package/skills/axstack/sandbox/proxy-config.json +9 -0
- package/skills/axstack/sandbox/proxy-dns.js +114 -0
- package/skills/axstack/sandbox/proxy-policy.js +22 -0
- package/skills/axstack/sandbox/proxy.js +119 -0
- package/skills/axstack/sandbox/reap.md +7 -0
- package/skills/axstack/sandbox/sidecars.json +153 -0
- package/skills/axstack/sandbox/storage-checks.js +39 -0
- package/skills/axstack/sandbox/storage-cleanup.js +49 -0
- package/skills/axstack/sandbox/storage-execution.js +110 -0
- package/skills/axstack/sandbox/storage-plan.js +78 -0
- package/skills/axstack/sandbox/storage-support.js +91 -0
- package/skills/axstack/sandbox/storage.js +75 -0
- package/skills/axstack/scripts/archive-evidence.js +2 -2
- package/skills/axstack/scripts/capture-identity.js +122 -0
- package/skills/axstack/scripts/check-run.js +248 -0
- package/skills/axstack/scripts/check-staged-file-tokens.js +6 -3
- package/skills/axstack/scripts/command-capture.js +81 -0
- package/skills/axstack/scripts/evidence-inspector.js +182 -0
- package/skills/axstack/scripts/git-argv.js +6 -0
- package/skills/axstack/scripts/image-evidence.js +183 -0
- package/skills/axstack/scripts/pr-shape.js +206 -22
- package/skills/axstack/scripts/readiness-run.js +3 -75
- package/skills/axstack/scripts/readiness.js +2 -2
- package/skills/axstack/scripts/run-init.js +13 -11
- package/skills/axstack/scripts/schedule-drift.js +132 -0
- package/skills/axstack/scripts/scratch.js +201 -0
- package/skills/axstack-audit/SKILL.md +2 -0
- package/skills/axstack-audit/references/record.md +1 -1
- package/skills/axstack-explain/references/inline-pages.md +8 -4
- package/skills/axstack-implement/SKILL.md +6 -5
- package/skills/axstack-review/references/candidate-brief.md +12 -21
- package/skills/axstack-review/references/codebase-brief.md +1 -0
- package/skills/axstack-review/references/codebase-mode.md +4 -1
- package/skills/axstack-review/references/codebase-report.md +2 -1
- package/skills/axstack-review/references/review-candidate.md +2 -2
- package/skills/axstack-review/references/review-receipt.md +8 -3
- package/skills/axstack-verify/SKILL.md +18 -5
- package/skills/axstack-watch/references/proven-verification.md +3 -2
- package/skills/axstack-watch/references/readiness.md +56 -61
- package/skills/voa/references/verification.md +5 -2
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"platform": "linux/amd64",
|
|
4
|
+
"resolvedAt": "2026-11-16",
|
|
5
|
+
"base": {
|
|
6
|
+
"image": "docker.io/library/debian@sha256:a72b4433de1cf7d6bae0c4cee74d0547f58601a643b3375f070c51600d63b6b2",
|
|
7
|
+
"source": "https://registry-1.docker.io/v2/library/debian/manifests/trixie-slim"
|
|
8
|
+
},
|
|
9
|
+
"artifacts": [
|
|
10
|
+
{
|
|
11
|
+
"id": "node-20",
|
|
12
|
+
"version": "20.20.2",
|
|
13
|
+
"url": "https://nodejs.org/dist/v20.20.2/node-v20.20.2-linux-x64.tar.xz",
|
|
14
|
+
"algorithm": "sha256",
|
|
15
|
+
"checksum": "df770b2a6f130ed8627c9782c988fda9669fa23898329a61a871e32f965e007d",
|
|
16
|
+
"source": "https://nodejs.org/dist/v20.20.2/SHASUMS256.txt",
|
|
17
|
+
"kind": "tar",
|
|
18
|
+
"destination": "/opt/node-20",
|
|
19
|
+
"strip": 1
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "node-22",
|
|
23
|
+
"version": "22.23.4",
|
|
24
|
+
"url": "https://nodejs.org/dist/v22.23.4/node-v22.23.4-linux-x64.tar.xz",
|
|
25
|
+
"algorithm": "sha256",
|
|
26
|
+
"checksum": "1805bcd35e6815559bd2eb97db438d3fdb0eb3a5e6a977b7c1badca76337e9ce",
|
|
27
|
+
"source": "https://nodejs.org/dist/v22.23.4/SHASUMS256.txt",
|
|
28
|
+
"kind": "tar",
|
|
29
|
+
"destination": "/opt/node-22",
|
|
30
|
+
"strip": 1
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "node-24",
|
|
34
|
+
"version": "24.21.0",
|
|
35
|
+
"url": "https://nodejs.org/dist/v24.21.0/node-v24.21.0-linux-x64.tar.xz",
|
|
36
|
+
"algorithm": "sha256",
|
|
37
|
+
"checksum": "fd8e59d5a511510f6a298afb548f18c7d2b1be404d8b4a27d94fbe49f56cb2d6",
|
|
38
|
+
"source": "https://nodejs.org/dist/v24.21.0/SHASUMS256.txt",
|
|
39
|
+
"kind": "tar",
|
|
40
|
+
"destination": "/opt/node-24",
|
|
41
|
+
"strip": 1
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "bun-1.2.2",
|
|
45
|
+
"version": "1.2.2",
|
|
46
|
+
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.2.2/bun-linux-x64.zip",
|
|
47
|
+
"algorithm": "sha256",
|
|
48
|
+
"checksum": "3f4efb8afd1f84ac2a98c04661c898561d1d35527d030cb4571e99b7c85f5079",
|
|
49
|
+
"source": "https://github.com/oven-sh/bun/releases/download/bun-v1.2.2/SHASUMS256.txt",
|
|
50
|
+
"kind": "zip",
|
|
51
|
+
"destination": "/opt/bun-1.2.2"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "bun-1.3.14",
|
|
55
|
+
"version": "1.3.14",
|
|
56
|
+
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/bun-linux-x64.zip",
|
|
57
|
+
"algorithm": "sha256",
|
|
58
|
+
"checksum": "951ee2aee855f08595aeec6225226a298d3fea83a3dcd6465c09cbccdf7e848f",
|
|
59
|
+
"source": "https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/SHASUMS256.txt",
|
|
60
|
+
"kind": "zip",
|
|
61
|
+
"destination": "/opt/bun-1.3.14"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "bun-1.4.4",
|
|
65
|
+
"version": "1.4.4",
|
|
66
|
+
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.4.4/bun-linux-x64.zip",
|
|
67
|
+
"algorithm": "sha256",
|
|
68
|
+
"checksum": "bf8ccbfb2b0b80159e0f9a6d15c55317add8077534dbc6130a3edb52fccb395c",
|
|
69
|
+
"source": "https://github.com/oven-sh/bun/releases/download/bun-v1.4.4/SHASUMS256.txt",
|
|
70
|
+
"kind": "zip",
|
|
71
|
+
"destination": "/opt/bun-1.4.4"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "pnpm",
|
|
75
|
+
"version": "9.15.4",
|
|
76
|
+
"url": "https://registry.npmjs.org/pnpm/-/pnpm-9.15.4.tgz",
|
|
77
|
+
"algorithm": "sha512",
|
|
78
|
+
"checksum": "b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
|
|
79
|
+
"source": "https://registry.npmjs.org/pnpm/9.15.4",
|
|
80
|
+
"kind": "tar",
|
|
81
|
+
"destination": "/opt/pnpm",
|
|
82
|
+
"strip": 1
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "npm",
|
|
86
|
+
"version": "11.19.0",
|
|
87
|
+
"url": "https://registry.npmjs.org/npm/-/npm-11.19.0.tgz",
|
|
88
|
+
"algorithm": "sha512",
|
|
89
|
+
"checksum": "48377f8478372aa1c4e47b763475b135836da82436a5700f2e5e8eb5084fc840f93c7b117eb3ad3b5f7d3194c81b6710a10d59448f6ddbcb21ac3fb672bdc003",
|
|
90
|
+
"source": "https://registry.npmjs.org/npm/11.19.0",
|
|
91
|
+
"kind": "tar",
|
|
92
|
+
"destination": "/opt/npm",
|
|
93
|
+
"strip": 1
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "python-3.12",
|
|
97
|
+
"version": "3.12.16",
|
|
98
|
+
"url": "https://www.python.org/ftp/python/3.12.16/Python-3.12.16.tar.xz",
|
|
99
|
+
"algorithm": "sha256",
|
|
100
|
+
"checksum": "b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c",
|
|
101
|
+
"source": "https://www.python.org/ftp/python/3.12.16/Python-3.12.16.tar.xz.sigstore",
|
|
102
|
+
"kind": "python",
|
|
103
|
+
"destination": "/opt/python-3.12",
|
|
104
|
+
"strip": 1
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "python-3.13",
|
|
108
|
+
"version": "3.13.18",
|
|
109
|
+
"url": "https://www.python.org/ftp/python/3.13.18/Python-3.13.18.tar.xz",
|
|
110
|
+
"algorithm": "sha256",
|
|
111
|
+
"checksum": "abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68",
|
|
112
|
+
"source": "https://www.python.org/ftp/python/3.13.18/Python-3.13.18.tar.xz.sigstore",
|
|
113
|
+
"kind": "python",
|
|
114
|
+
"destination": "/opt/python-3.13",
|
|
115
|
+
"strip": 1
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "go",
|
|
119
|
+
"version": "1.27.4",
|
|
120
|
+
"url": "https://go.dev/dl/go1.27.4.linux-amd64.tar.gz",
|
|
121
|
+
"algorithm": "sha256",
|
|
122
|
+
"checksum": "7226736c2339719cda28fbf3a54d71aa63bcefe376e98cef00034268dab24840",
|
|
123
|
+
"source": "https://go.dev/dl/?mode=json",
|
|
124
|
+
"kind": "tar",
|
|
125
|
+
"destination": "/opt/go",
|
|
126
|
+
"strip": 1
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "jdk-11",
|
|
130
|
+
"version": "11.0.33+10",
|
|
131
|
+
"url": "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.33%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.33_10.tar.gz",
|
|
132
|
+
"algorithm": "sha256",
|
|
133
|
+
"checksum": "c4b8eaf56c93b95b689ffc08d155df1bcdbbffb666f8f71d21d97aedaea6f0ec",
|
|
134
|
+
"source": "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.33%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.33_10.tar.gz.sha256.txt",
|
|
135
|
+
"kind": "tar",
|
|
136
|
+
"destination": "/opt/jdk-11",
|
|
137
|
+
"strip": 1
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "jdk-25",
|
|
141
|
+
"version": "25.0.5+8.0.LTS",
|
|
142
|
+
"url": "https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_x64_linux_hotspot_25.0.5_8.tar.gz",
|
|
143
|
+
"algorithm": "sha256",
|
|
144
|
+
"checksum": "68982529869257d0ee6b824ec5aa270ff8b118bb438670da0b97ebdab178d7fb",
|
|
145
|
+
"source": "https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_x64_linux_hotspot_25.0.5_8.tar.gz.sha256.txt",
|
|
146
|
+
"kind": "tar",
|
|
147
|
+
"destination": "/opt/jdk-25",
|
|
148
|
+
"strip": 1
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "rust",
|
|
152
|
+
"version": "1.91.1",
|
|
153
|
+
"url": "https://static.rust-lang.org/dist/2025-11-10/rust-1.91.1-x86_64-unknown-linux-gnu.tar.xz",
|
|
154
|
+
"algorithm": "sha256",
|
|
155
|
+
"checksum": "db178028da493a663b2e344a142076fb0f72adea4120043983f488de9cf95214",
|
|
156
|
+
"source": "https://static.rust-lang.org/dist/channel-rust-1.91.1.toml",
|
|
157
|
+
"kind": "rust",
|
|
158
|
+
"destination": "/opt/rust",
|
|
159
|
+
"strip": 1
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "cargo-deny",
|
|
163
|
+
"version": "0.20.2",
|
|
164
|
+
"url": "https://static.crates.io/crates/cargo-deny/cargo-deny-0.20.2.crate",
|
|
165
|
+
"algorithm": "sha256",
|
|
166
|
+
"checksum": "e528dfcbe739af7ce37a77d3d6df1b29dd6887b1c701d888820c0f16b864f737",
|
|
167
|
+
"source": "https://crates.io/api/v1/crates/cargo-deny/0.20.2",
|
|
168
|
+
"kind": "cargo",
|
|
169
|
+
"destination": "/opt/cargo-tools",
|
|
170
|
+
"strip": 1
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "cargo-vet",
|
|
174
|
+
"version": "0.10.2",
|
|
175
|
+
"url": "https://static.crates.io/crates/cargo-vet/cargo-vet-0.10.2.crate",
|
|
176
|
+
"algorithm": "sha256",
|
|
177
|
+
"checksum": "dd93790018205cbbfa161f078ca4631afa8ed57fc8f32482268bcfdf0c0d7499",
|
|
178
|
+
"source": "https://crates.io/api/v1/crates/cargo-vet/0.10.2",
|
|
179
|
+
"kind": "cargo",
|
|
180
|
+
"destination": "/opt/cargo-tools",
|
|
181
|
+
"strip": 1
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "terraform",
|
|
185
|
+
"version": "1.15.8",
|
|
186
|
+
"url": "https://releases.hashicorp.com/terraform/1.15.8/terraform_1.15.8_linux_amd64.zip",
|
|
187
|
+
"algorithm": "sha256",
|
|
188
|
+
"checksum": "d25ce7b6902013ad905db3d2eab0be4cd905887fe88b81a6171b8d5503c31f3d",
|
|
189
|
+
"source": "https://releases.hashicorp.com/terraform/1.15.8/terraform_1.15.8_SHA256SUMS",
|
|
190
|
+
"kind": "zip",
|
|
191
|
+
"destination": "/opt/terraform"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "gradle",
|
|
195
|
+
"version": "9.6.0",
|
|
196
|
+
"url": "https://services.gradle.org/distributions/gradle-9.6.0-bin.zip",
|
|
197
|
+
"algorithm": "sha256",
|
|
198
|
+
"checksum": "bbaeb2fef8710818cf0e261201dab964c572f92b942812df0c3620d62a529a01",
|
|
199
|
+
"source": "https://services.gradle.org/distributions/gradle-9.6.0-bin.zip.sha256",
|
|
200
|
+
"kind": "zip",
|
|
201
|
+
"destination": "/opt/gradle"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "kotlin",
|
|
205
|
+
"version": "2.2.10",
|
|
206
|
+
"url": "https://github.com/JetBrains/kotlin/releases/download/v2.2.10/kotlin-compiler-2.2.10.zip",
|
|
207
|
+
"algorithm": "sha256",
|
|
208
|
+
"checksum": "302d1d8e671e5c3207e6ed62ff11fb555462a628e22a1158254dcaaf7e7394bc",
|
|
209
|
+
"source": "https://api.github.com/repos/JetBrains/kotlin/releases/tags/v2.2.10",
|
|
210
|
+
"kind": "zip",
|
|
211
|
+
"destination": "/opt/kotlin"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "agp",
|
|
215
|
+
"version": "9.4.1",
|
|
216
|
+
"url": "https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.pom",
|
|
217
|
+
"algorithm": "sha256",
|
|
218
|
+
"checksum": "ee7d29e7d41cb389dc65b02518ffa8c806c522ca565510694eb8ee8dad7f938a",
|
|
219
|
+
"source": "https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.pom.sha256",
|
|
220
|
+
"kind": "file",
|
|
221
|
+
"destination": "/opt/android-maven/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.pom"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "agpJar",
|
|
225
|
+
"version": "9.4.1",
|
|
226
|
+
"url": "https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.jar",
|
|
227
|
+
"algorithm": "sha256",
|
|
228
|
+
"checksum": "4021fa6ea76b6fac076dd0bdacbb3e1b76c31f33b6c392e1a49a2e42072196bf",
|
|
229
|
+
"source": "https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.jar.sha256",
|
|
230
|
+
"kind": "file",
|
|
231
|
+
"destination": "/opt/android-maven/com/android/tools/build/gradle/9.4.1/gradle-9.4.1.jar"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "android-sdk",
|
|
235
|
+
"version": "platforms;android-37.0 revision 2",
|
|
236
|
+
"url": "https://dl.google.com/android/repository/platform-37.0_r02.zip",
|
|
237
|
+
"algorithm": "sha1",
|
|
238
|
+
"checksum": "ed8ebf7f8822a4de5686d427f237d2fa30ff7410",
|
|
239
|
+
"source": "https://dl.google.com/android/repository/repository2-3.xml",
|
|
240
|
+
"kind": "android",
|
|
241
|
+
"destination": "/opt/android/platforms/android-37.0"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "android-build-tools",
|
|
245
|
+
"version": "build-tools;37.0.0 revision 37.0.0",
|
|
246
|
+
"url": "https://dl.google.com/android/repository/build-tools_r37_linux.zip",
|
|
247
|
+
"algorithm": "sha1",
|
|
248
|
+
"checksum": "70954e99f4c3d9d46ee70fa32624672fe7cd6ebe",
|
|
249
|
+
"source": "https://dl.google.com/android/repository/repository2-3.xml",
|
|
250
|
+
"kind": "android",
|
|
251
|
+
"destination": "/opt/android/build-tools/37.0.0"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "android-cmdline",
|
|
255
|
+
"version": "cmdline-tools;23.0 revision 23.0",
|
|
256
|
+
"url": "https://dl.google.com/android/repository/commandlinetools-linux-16111833_latest.zip",
|
|
257
|
+
"algorithm": "sha1",
|
|
258
|
+
"checksum": "e025545c62a8e64c7559119566a569fb1dec5f60",
|
|
259
|
+
"source": "https://dl.google.com/android/repository/repository2-3.xml",
|
|
260
|
+
"kind": "android",
|
|
261
|
+
"destination": "/opt/android/cmdline-tools/23.0"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "android-platform-tools",
|
|
265
|
+
"version": "platform-tools revision 37.0.3",
|
|
266
|
+
"url": "https://dl.google.com/android/repository/platform-tools_r37.0.3-linux.zip",
|
|
267
|
+
"algorithm": "sha1",
|
|
268
|
+
"checksum": "e1579b288a7ae4e9bc28dedec6a154d78b3c04ed",
|
|
269
|
+
"source": "https://dl.google.com/android/repository/repository2-3.xml",
|
|
270
|
+
"kind": "android",
|
|
271
|
+
"destination": "/opt/android/platform-tools"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "foundry",
|
|
275
|
+
"version": "1.5.1",
|
|
276
|
+
"url": "https://github.com/foundry-rs/foundry/releases/download/v1.5.1/foundry_v1.5.1_linux_amd64.tar.gz",
|
|
277
|
+
"algorithm": "sha256",
|
|
278
|
+
"checksum": "73640b01bd9ed29fdb4965085099371f8cf0dbbec3e2086cf54564efc4dcfe88",
|
|
279
|
+
"source": "https://api.github.com/repos/foundry-rs/foundry/releases/tags/v1.5.1",
|
|
280
|
+
"kind": "tar",
|
|
281
|
+
"destination": "/opt/foundry",
|
|
282
|
+
"strip": 0
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "solc",
|
|
286
|
+
"version": "0.8.28",
|
|
287
|
+
"url": "https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/linux-amd64/solc-linux-amd64-v0.8.28+commit.7893614a",
|
|
288
|
+
"algorithm": "sha256",
|
|
289
|
+
"checksum": "9a0fb7e0db2c0641dbae1c5cc645dc686820c83af516226abb1c0a2f76636f25",
|
|
290
|
+
"source": "https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/linux-amd64/list.json",
|
|
291
|
+
"kind": "file",
|
|
292
|
+
"destination": "/opt/svm/0.8.28/solc-0.8.28"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "forge-std",
|
|
296
|
+
"version": "8e40513d678f392f398620b3ef2b418648b33e89",
|
|
297
|
+
"url": "https://api.github.com/repos/foundry-rs/forge-std/tarball/8e40513d678f392f398620b3ef2b418648b33e89",
|
|
298
|
+
"algorithm": "sha256",
|
|
299
|
+
"checksum": "bc2d6a47bbded6f2e83c0a0f5b0a77058260e581ce4cf6255a2940e540e79320",
|
|
300
|
+
"source": "https://api.github.com/repos/foundry-rs/forge-std/git/commits/8e40513d678f392f398620b3ef2b418648b33e89",
|
|
301
|
+
"kind": "content",
|
|
302
|
+
"destination": "/opt/solidity/forge-std",
|
|
303
|
+
"strip": 1,
|
|
304
|
+
"tree": "687124167e7a751417a320043c419e3894d61266",
|
|
305
|
+
"gitlinks": [],
|
|
306
|
+
"checksumOrigin": "archive bytes independently matched to upstream Git tree; no upstream archive checksum published"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "openzeppelin",
|
|
310
|
+
"version": "fcbae5394ae8ad52d8e580a3477db99814b9d565",
|
|
311
|
+
"url": "https://api.github.com/repos/OpenZeppelin/openzeppelin-contracts/tarball/fcbae5394ae8ad52d8e580a3477db99814b9d565",
|
|
312
|
+
"algorithm": "sha256",
|
|
313
|
+
"checksum": "09a0c8bd9abc81efdaef7e115aa9add75bdab7deff220cde1d4da406908cb1e7",
|
|
314
|
+
"source": "https://api.github.com/repos/OpenZeppelin/openzeppelin-contracts/git/commits/fcbae5394ae8ad52d8e580a3477db99814b9d565",
|
|
315
|
+
"kind": "content",
|
|
316
|
+
"destination": "/opt/solidity/openzeppelin",
|
|
317
|
+
"strip": 1,
|
|
318
|
+
"tree": "86cb129aae0996e7301575060da9eb8328b5597a",
|
|
319
|
+
"gitlinks": [
|
|
320
|
+
{
|
|
321
|
+
"path": "lib/erc4626-tests",
|
|
322
|
+
"sha": "232ff9ba8194e406967f52ecc5cb52ed764209e9"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"path": "lib/forge-std",
|
|
326
|
+
"sha": "3b20d60d14b343ee4f908cb8079495c07f5e8981"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"path": "lib/halmos-cheatcodes",
|
|
330
|
+
"sha": "7328abe100445fc53885c21d0e713b95293cf14c"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"checksumOrigin": "archive bytes independently matched to upstream Git tree; no upstream archive checksum published"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "swift",
|
|
337
|
+
"version": "6.4.1",
|
|
338
|
+
"url": "https://download.swift.org/swift-6.4.1-release/ubuntu2204/swift-6.4.1-RELEASE/swift-6.4.1-RELEASE-ubuntu22.04.tar.gz",
|
|
339
|
+
"algorithm": "sha256",
|
|
340
|
+
"checksum": "e9ec2ff05ac0fc89bf2e7cecdee5da4d398898a768d7ee2b86a59d2a7f01c44b",
|
|
341
|
+
"source": "https://download.swift.org/swift-6.4.1-release/ubuntu2204/swift-6.4.1-RELEASE/swift-6.4.1-RELEASE-ubuntu22.04.tar.gz.sig",
|
|
342
|
+
"kind": "tar",
|
|
343
|
+
"destination": "/opt/swift",
|
|
344
|
+
"strip": 1,
|
|
345
|
+
"checksumOrigin": "SHA256 of archive verified with official Swift 6.x release signing key 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F; run-evidence:author-T21-Int/repair-1/swift-signature.log"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "swiftlint",
|
|
349
|
+
"version": "0.65.1",
|
|
350
|
+
"url": "https://github.com/realm/SwiftLint/releases/download/0.65.1/swiftlint_linux_amd64.zip",
|
|
351
|
+
"algorithm": "sha256",
|
|
352
|
+
"checksum": "caeed6f4a679c35539ffaf124f6c4ab4a8416917f7d8796279dc52b74026059d",
|
|
353
|
+
"source": "https://api.github.com/repos/realm/SwiftLint/releases/tags/0.65.1",
|
|
354
|
+
"kind": "zip",
|
|
355
|
+
"destination": "/opt/swiftlint"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"limitations": [
|
|
359
|
+
{
|
|
360
|
+
"id": "apple-platform",
|
|
361
|
+
"version": "Xcode 27",
|
|
362
|
+
"status": "unknown",
|
|
363
|
+
"reason": "Apple SDK/iOS/Xcode builds require Apple platforms; Linux Swift and SwiftLint remain required."
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
"androidLicense": {
|
|
367
|
+
"sha1": "9002c006f4b8d9a16e715a9fa4df30ddb8abf9d9",
|
|
368
|
+
"source": "https://dl.google.com/android/repository/repository2-3.xml#android-sdk-license"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Resolve a host link-local zone against fresh Docker bridge attachments.
|
|
2
|
+
* An address on an unattached link is a different endpoint, like host loopback.
|
|
3
|
+
* Missing bridge/namespace facts hold; attached links still get socket probes.
|
|
4
|
+
*/
|
|
5
|
+
export async function scopeLinkLocal(target, container, runner, readNamespace, prefix) {
|
|
6
|
+
if (!/^fe[89ab][0-9a-f]:/i.test(target.address)) return { target };
|
|
7
|
+
const match = /^(.*)%([\w.-]+)$/.exec(target.address);
|
|
8
|
+
if (!match) throw Error('host link-local zone unavailable');
|
|
9
|
+
const [host, current] = await Promise.all([readNamespace('/proc/self/ns/net'), readNamespace(`/proc/${container.State.Pid}/ns/net`)]);
|
|
10
|
+
if (!/^net:\[\d+\]$/.test(host) || !/^net:\[\d+\]$/.test(current) || host === current) throw Error('host link-local namespace separation unavailable');
|
|
11
|
+
const names = Object.keys(container.NetworkSettings.Networks);
|
|
12
|
+
const result = await runner(['docker', 'network', 'inspect', ...names]);
|
|
13
|
+
if (result.exitCode !== 0 || result.timedOut || result.truncated) throw Error('link-local bridge observation failed');
|
|
14
|
+
const networks = JSON.parse(result.stdout);
|
|
15
|
+
if (networks.length !== names.length || new Set(networks.map(n => n.Name)).size !== names.length) throw Error('incomplete link-local bridge observation');
|
|
16
|
+
for (const n of networks) if (!names.includes(n.Name) || n.Driver !== 'bridge' && !(n.Driver === 'null' && n.Name === 'none') || n.Driver === 'bridge' && !n.Options?.['com.docker.network.bridge.name']) throw Error('unknown link-local network attachment');
|
|
17
|
+
const attached = networks.find(n => n.Options?.['com.docker.network.bridge.name'] === match[2]);
|
|
18
|
+
if (!attached) return { separated: true, evidence: [JSON.stringify({ hostZone: match[2], hostNamespace: host, containerNamespace: current, attachedBridges: networks.map(n => n.Options?.['com.docker.network.bridge.name'] ?? 'none') })] };
|
|
19
|
+
const addresses = await runner([...prefix, 'ip', '-j', 'address', 'show']);
|
|
20
|
+
if (addresses.exitCode !== 0 || addresses.timedOut || addresses.truncated) throw Error('container IPv6 interface observation failed');
|
|
21
|
+
const local = container.NetworkSettings.Networks[attached.Name].GlobalIPv6Address;
|
|
22
|
+
const links = JSON.parse(addresses.stdout).filter(link => link.addr_info?.some(a => a.local === local));
|
|
23
|
+
if (!local || links.length !== 1 || !/^[\w.-]+$/.test(links[0].ifname)) throw Error('ambiguous container link-local zone');
|
|
24
|
+
return { target: { ...target, address: `${match[1]}%${links[0].ifname}` } };
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { execute } from './probes-exec.js';
|
|
2
|
+
import { checkMountedStorage } from './storage.js';
|
|
3
|
+
import { planStorage, storageLabels } from './storage-plan.js';
|
|
4
|
+
|
|
5
|
+
/** Host-owned record + fresh Docker IDs bind D's semantic checks to E's probe. */
|
|
6
|
+
export async function checkFilesystem({ storage, containerId }, { runner = execute, check = checkMountedStorage, read = path => Bun.file(path).text() } = {}) {
|
|
7
|
+
const record = JSON.parse(await read(`${storage.imageFile}.owner.json`));
|
|
8
|
+
const policy = { user: record.user, dependencyBytes: storage.bytes, dependencyInodes: storage.inodes };
|
|
9
|
+
const ownedDir = storage.imageFile.slice(0, storage.imageFile.lastIndexOf('/'));
|
|
10
|
+
const canonical = planStorage({ runId: record.owner.runId, ownedDir, policy });
|
|
11
|
+
if (JSON.stringify(storage) !== JSON.stringify(canonical)) throw Error('filesystem probe differs from D plan');
|
|
12
|
+
const observed = await runner(['docker', 'ps', '--quiet', '--filter', `volume=${storage.volumeName}`]);
|
|
13
|
+
if (observed.exitCode !== 0 || observed.timedOut || observed.truncated) throw Error('mounting containers unknown');
|
|
14
|
+
const ids = observed.stdout.trim().split(/\s+/).filter(Boolean);
|
|
15
|
+
if (!ids.length || ids.some(id => !/^[a-f0-9]{12,64}$/.test(id))) throw Error('mounting container IDs missing');
|
|
16
|
+
const inspected = await runner(['docker', 'inspect', '--type', 'container', ...ids]);
|
|
17
|
+
if (inspected.exitCode !== 0 || inspected.timedOut || inspected.truncated) throw Error('mount ownership unknown');
|
|
18
|
+
const containers = JSON.parse(inspected.stdout);
|
|
19
|
+
const labels = storageLabels(record.owner);
|
|
20
|
+
if (containers.length !== ids.length || !containers.some(c => c.Name === `/${containerId}` || c.Id === containerId) ||
|
|
21
|
+
containers.some(c => !ids.some(id => c.Id?.startsWith(id)) || !c.State?.Running || Object.entries(labels).some(([key, value]) => c.Config?.Labels?.[key] !== value))) throw Error('foreign/missing dependency-volume container');
|
|
22
|
+
const terms = await check({ owner: record.owner, plan: storage, policy, containerIds: ids });
|
|
23
|
+
if (terms.length !== ids.length || terms.some(t => t.status !== 'pass')) throw Error('incomplete capped-filesystem proof');
|
|
24
|
+
return { status: 'pass', evidence: terms.map(t => JSON.stringify(t)) };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (import.meta.main) {
|
|
28
|
+
if (Bun.argv[2] === '--help') console.log('Usage: bun probes-storage.js STORAGE_JSON CONTAINER\nReads host-owned storage record and Docker metadata, invokes D checks under its persistent owned-directory flock (may create that lock), execs fixed non-root id/findmnt/stat in every owned mounting container. No host mount, network, prune or foreign container execution. Exit 0 facts, 2 unknown/hold, 1 invalid input.');
|
|
29
|
+
else {
|
|
30
|
+
try { console.log(JSON.stringify(await checkFilesystem({ storage: JSON.parse(Bun.argv[2]), containerId: Bun.argv[3] }))); }
|
|
31
|
+
catch (error) { console.log(JSON.stringify({ status: 'unknown', evidence: [String(error)] })); process.exitCode = 2; }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { networkDefinitions, networkIdentity } from './network-rules.js';
|
|
2
|
+
|
|
3
|
+
// Outside Linux's ephemeral range. Only sequential synthetic denial probes bind it.
|
|
4
|
+
export const udpProbePort = 20053;
|
|
5
|
+
|
|
6
|
+
/** Read counters scoped to this run's interfaces and this synthetic source port. */
|
|
7
|
+
export async function udpSnapshot(container, runner) {
|
|
8
|
+
const labels = container.Config?.Labels;
|
|
9
|
+
const runId = labels?.['axstack.sandbox.runId'];
|
|
10
|
+
if (labels?.['axstack.sandbox'] !== 'true' || !runId) throw Error('UDP probe owner unknown');
|
|
11
|
+
const names = Object.keys(container.NetworkSettings?.Networks ?? {});
|
|
12
|
+
const interfaces = networkDefinitions(runId, true).filter(n => names.includes(n.name)).map(n => n.interface);
|
|
13
|
+
if (!interfaces.length) throw Error('UDP probe has no owned network interface');
|
|
14
|
+
const result = await runner(['nft', '-j', 'list', 'table', 'inet', 'axstack_sandbox']);
|
|
15
|
+
if (result.exitCode !== 0 || result.timedOut || result.truncated) throw Error('UDP counter readback unavailable');
|
|
16
|
+
const rows = JSON.parse(result.stdout).nftables;
|
|
17
|
+
if (!Array.isArray(rows)) throw Error('UDP counter table incomplete');
|
|
18
|
+
const prefix = `axstack:${networkIdentity(runId)}:`;
|
|
19
|
+
const snapshot = new Map();
|
|
20
|
+
for (const { rule } of rows) {
|
|
21
|
+
if (!rule?.comment?.startsWith(prefix) || !Array.isArray(rule.expr)) continue;
|
|
22
|
+
const scope = rule.expr[0]?.match;
|
|
23
|
+
if (scope?.op !== '==' || scope.left?.meta?.key !== 'iifname' || !interfaces.includes(scope.right)) continue;
|
|
24
|
+
if (!rule.expr.some(e => e.match?.left?.payload?.protocol === 'udp' && e.match.left.payload.field === 'sport' && e.match.op === '==' && e.match.right === udpProbePort) || !('drop' in rule.expr.at(-1))) continue;
|
|
25
|
+
const counters = rule.expr.filter(e => 'counter' in e);
|
|
26
|
+
if (counters.length !== 1 || !Number.isSafeInteger(counters[0].counter?.packets) || counters[0].counter.packets < 0 || snapshot.has(rule.comment)) throw Error('UDP counter facts invalid');
|
|
27
|
+
snapshot.set(rule.comment, { packets: counters[0].counter.packets, interface: scope.right,
|
|
28
|
+
expression: JSON.stringify(rule.expr.map(e => 'counter' in e ? { counter: null } : e)) });
|
|
29
|
+
}
|
|
30
|
+
if (!snapshot.size) throw Error('UDP proof counters absent');
|
|
31
|
+
return snapshot;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** Exactly one sent datagram must increment one unchanged terminal drop rule. */
|
|
35
|
+
export function udpDenial(before, after) {
|
|
36
|
+
if (before.size !== after.size) return null;
|
|
37
|
+
const increments = [];
|
|
38
|
+
for (const [id, first] of before) {
|
|
39
|
+
const last = after.get(id);
|
|
40
|
+
if (!last || last.expression !== first.expression || last.interface !== first.interface || last.packets < first.packets) return null;
|
|
41
|
+
if (last.packets !== first.packets) increments.push({ ruleId: id, interface: first.interface, before: first.packets, after: last.packets, sourcePort: udpProbePort });
|
|
42
|
+
}
|
|
43
|
+
return increments.length === 1 && increments[0].after === increments[0].before + 1 ? increments[0] : null;
|
|
44
|
+
}
|