-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexternal-tools.json
More file actions
168 lines (168 loc) · 6.95 KB
/
external-tools.json
File metadata and controls
168 lines (168 loc) · 6.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"$schema": "https://raw.githubusercontent.com/SocketDev/socket-btm/main/packages/build-infra/lib/external-tools-schema.json",
"description": "External tools required to build + release this repo. The canonical schema lives at socket-btm/packages/build-infra/lib/external-tools-schema.json; every fleet repo references it via the $schema field above so validators pick up the single source of truth. Extend the `tools` map with repo-specific entries (e.g. language toolchains for sdxgen, git credential helpers for packageurl-js).",
"tools": {
"git": {
"description": "Git CLI — checkout, submodule init, tag signing.",
"version": "2.30+",
"notes": [
"Required: yes (all platforms)",
"Preinstalled on macOS (Xcode CLT) and most Linux distros",
"Windows: https://git-scm.com/download/win or via winget/scoop"
]
},
"node": {
"description": "Node.js — runs the build scripts and TypeScript stripping.",
"version": "25+",
"notes": [
"Required: yes",
"Node 25+ runs .mts files natively with no flag",
"Install via volta / nvm / fnm / official installer",
"The pinned version lives in .node-version at the repo root"
]
},
"pnpm": {
"description": "pnpm — the fleet's package manager.",
"version": "11.0.0",
"packageManager": "pnpm",
"repository": "github:pnpm/pnpm",
"release": "asset",
"notes": [
"Required: yes",
"Bootstrap locally via `corepack enable pnpm` (the version resolves from package.json's packageManager field)",
"CI downloads + sha256-verifies the pinned tarball directly"
],
"checksums": {
"darwin-arm64": {
"asset": "pnpm-darwin-arm64.tar.gz",
"sha256": "3620a0fcaf81ecd3aaeccd5965919d90dbc913f4d07a96e11e7cafc2c785054b"
},
"darwin-x64": {
"asset": "pnpm-darwin-x64.tar.gz",
"sha256": "1701748b75187f1333a9c616827943ff84ff46cc42becc156ff6864b9bd0f948"
},
"linux-arm64": {
"asset": "pnpm-linux-arm64.tar.gz",
"sha256": "1e6d87ebfd7ff169966ff5b3ad71b780b883c68d3e59987df1096dfd8853df75"
},
"linux-x64": {
"asset": "pnpm-linux-x64.tar.gz",
"sha256": "9b44acc77ada40fc41b665fde1d57367a5ebec31bd4b1b00598daed195da3e17"
},
"win-arm64": {
"asset": "pnpm-win32-arm64.zip",
"sha256": "0746be8e98ca183078d0747559f0cbbd30a13a53eb177f67474eb3c52dc21bc8"
},
"win-x64": {
"asset": "pnpm-win32-x64.zip",
"sha256": "581e222e622cd0cc4f0ac5f85dd0db76b65117e3b17507979d89e63fdc68edca"
}
}
},
"gh": {
"description": "GitHub CLI — workflow dispatch, release downloads, PR creation in weekly-update.",
"version": "2.63+",
"notes": [
"Required: only in workflows that call `gh api` / `gh pr create` (weekly-update, provenance)",
"Preinstalled on GitHub-hosted runners",
"Local: `brew install gh` / `winget install gh` / `apt install gh`"
]
},
"zizmor": {
"description": "GitHub Actions security linter — audits .github/ for workflow-injection / credential-leak patterns.",
"version": "1.23.1",
"repository": "github:zizmorcore/zizmor",
"release": "asset",
"notes": [
"Required: CI (blocks merges on medium+ findings)",
"Installed by the setup-and-install composite; sha256-verified per platform"
],
"checksums": {
"darwin-arm64": {
"asset": "zizmor-aarch64-apple-darwin.tar.gz",
"sha256": "2632561b974c69f952258c1ab4b7432d5c7f92e555704155c3ac28a2910bd717"
},
"darwin-x64": {
"asset": "zizmor-x86_64-apple-darwin.tar.gz",
"sha256": "89d5ed42081dd9d0433a10b7545fac42b35f1f030885c278b9712b32c66f2597"
},
"linux-arm64": {
"asset": "zizmor-aarch64-unknown-linux-gnu.tar.gz",
"sha256": "3725d7cd7102e4d70827186389f7d5930b6878232930d0a3eb058d7e5b47e658"
},
"linux-x64": {
"asset": "zizmor-x86_64-unknown-linux-gnu.tar.gz",
"sha256": "67a8df0a14352dd81882e14876653d097b99b0f4f6b6fe798edc0320cff27aff"
},
"win-x64": {
"asset": "zizmor-x86_64-pc-windows-msvc.zip",
"sha256": "33c2293ff02834720dd7cd8b47348aafb2e95a19bdc993c0ecaca9c804ade92a"
}
}
},
"sfw-free": {
"description": "Socket Firewall (free tier) — malware gate on dep installs.",
"version": "1.7.2",
"repository": "github:SocketDev/sfw-free",
"release": "asset",
"notes": [
"Used when neither SOCKET_API_KEY (primary) nor SOCKET_API_TOKEN (forward-canonical) is set",
"Shims npm/yarn/pnpm so every install call passes through the firewall"
],
"checksums": {
"darwin-arm64": {
"asset": "sfw-free-macos-arm64",
"sha256": "248fb588e1e1a27e7192f7b079f739fc29a9de61f0bad7e90928363022dc5643"
},
"darwin-x64": {
"asset": "sfw-free-macos-x86_64",
"sha256": "a5427d479d440f08e3789fa191ba57599be64997196daf42e67d964fec0382b4"
},
"linux-arm64": {
"asset": "sfw-free-linux-arm64",
"sha256": "84a045e4e1bb320cc5c0d3929f02e53f199398b5be0637e8846d02d9ef0027b1"
},
"linux-x64": {
"asset": "sfw-free-linux-x86_64",
"sha256": "93e2d9dfa244b82a74e014dc26b1c6af18b4adec20f35254378943db5fe91411"
},
"win-x64": {
"asset": "sfw-free-windows-x86_64.exe",
"sha256": "6d333b4cac9d7c5712e2e99677ca634ac8a3020d550c6308312c60bea97f0a28"
}
}
},
"sfw-enterprise": {
"description": "Socket Firewall (enterprise tier) — selected when SOCKET_API_KEY (or SOCKET_API_TOKEN) is set.",
"version": "1.7.2",
"repository": "github:SocketDev/firewall-release",
"release": "asset",
"notes": [
"Used when SOCKET_API_KEY is set (primary, universally supported). SOCKET_API_TOKEN is accepted as the forward-canonical secondary read.",
"Same shims as sfw-free, broader ecosystem support (Ruby, .NET, Go on Linux)"
],
"checksums": {
"darwin-arm64": {
"asset": "sfw-macos-arm64",
"sha256": "b1cdc3bdbd2a3161247bd5cc215eb3c44a90b87fe0b800a33889a14f61bb0d6d"
},
"darwin-x64": {
"asset": "sfw-macos-x86_64",
"sha256": "da252d2a9a5d0edb271bb771e0d01b9cd6fa1635b6d765f61efd61edb6739f12"
},
"linux-arm64": {
"asset": "sfw-linux-arm64",
"sha256": "c24a79c27e1a01a59b7a160c165930ae029816c72b141fcfcdb2f73e0774898a"
},
"linux-x64": {
"asset": "sfw-linux-x86_64",
"sha256": "4482b52e6367bd4610519bfd57a104d5907ec87d5399142ed3bb3d222de1f33d"
},
"win-x64": {
"asset": "sfw-windows-x86_64.exe",
"sha256": "e52ad806a1c41b440f04098eb1c7e407845f03f5740a6a79006ba6fd172056ec"
}
}
}
}
}