@knowttl/artium-axi 0.0.45 → 0.0.48
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 +2 -0
- package/bin/artium-axi.mjs +73 -24
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,6 +97,8 @@ Write capabilities below require administrator opt-in.
|
|
|
97
97
|
| Shodan | Account and investigation reads, targeted scans, exports and selected changes | Managed reads, bounded stream sessions, retained exports and confirmed scans and writes | [Capabilities](docs/safety.md#shodan) |
|
|
98
98
|
| Gitea | Repository, issue and pull request investigation and updates | Managed token, exact write grants and native preview/confirmation | [Capabilities](docs/safety.md#gitea-reads) |
|
|
99
99
|
|
|
100
|
+
Short SSH passwords can cause executions to fail; see the [SSH capability boundary](docs/safety.md#ssh-reads) and [credential setup](docs/tool-credentials.md#ssh).
|
|
101
|
+
|
|
100
102
|
[Reviewed inventories](tools/inventories) own the pinned command boundary.
|
|
101
103
|
The [client reference](docs/client-reference.md#command-surface-and-subcommands) covers forwarding and inputs; [commands](docs/commands.md) lists client operations.
|
|
102
104
|
|
package/bin/artium-axi.mjs
CHANGED
|
@@ -43,7 +43,7 @@ var init_package = __esm({
|
|
|
43
43
|
"package.json"() {
|
|
44
44
|
package_default = {
|
|
45
45
|
name: "artium-axi",
|
|
46
|
-
version: "0.0.
|
|
46
|
+
version: "0.0.48",
|
|
47
47
|
private: true,
|
|
48
48
|
license: "MIT",
|
|
49
49
|
type: "module",
|
|
@@ -70,7 +70,7 @@ var init_package = __esm({
|
|
|
70
70
|
"test:build-image": "node scripts/build-fake-service-image.mjs",
|
|
71
71
|
"test:runner-container": "pnpm build && node scripts/runner-container-check.mjs",
|
|
72
72
|
"test:security": "vitest run --testNamePattern security --passWithNoTests",
|
|
73
|
-
lint: "tsc --noEmit && tsc -p tsconfig.scripts.json && tsc -p tsconfig.axi-check.json && node --check scripts/axi-check.ts && node scripts/tls-policy.ts",
|
|
73
|
+
lint: "tsc --noEmit && tsc -p tsconfig.scripts.json && tsc -p tsconfig.axi-check.json && tsc -p tsconfig.client.json && node --check scripts/axi-check.ts && node scripts/tls-policy.ts",
|
|
74
74
|
"errors:generate": "node scripts/errors-reference.ts --write",
|
|
75
75
|
"offered:generate": "node scripts/offered-commands.mjs",
|
|
76
76
|
"pin:freshness": "node scripts/pin-freshness.mjs",
|
|
@@ -79,9 +79,12 @@ var init_package = __esm({
|
|
|
79
79
|
},
|
|
80
80
|
devDependencies: {
|
|
81
81
|
"@actions/expressions": "0.3.61",
|
|
82
|
+
"@fontsource/figtree": "5.3.0",
|
|
82
83
|
"@types/better-sqlite3": "9.6.0",
|
|
83
84
|
"@types/css-tree": "3.2.0",
|
|
84
85
|
"@types/node": "22.20.5",
|
|
86
|
+
"@types/react": "19.3.0",
|
|
87
|
+
"@types/react-dom": "19.3.0",
|
|
85
88
|
"@types/ssh2": "1.15.6",
|
|
86
89
|
"css-tree": "3.2.1",
|
|
87
90
|
esbuild: "0.28.2",
|
|
@@ -99,10 +102,13 @@ var init_package = __esm({
|
|
|
99
102
|
]
|
|
100
103
|
},
|
|
101
104
|
dependencies: {
|
|
105
|
+
"@astryxdesign/core": "0.7.16",
|
|
106
|
+
"@astryxdesign/theme-neutral": "0.7.16",
|
|
102
107
|
"@azure/msal-node": "7.0.1",
|
|
103
108
|
"@fastify/cookie": "^11.1.3",
|
|
104
109
|
"@fastify/csrf-protection": "^7.1.0",
|
|
105
110
|
"@fastify/formbody": "^8.0.2",
|
|
111
|
+
"@stylexjs/stylex": "0.19.2",
|
|
106
112
|
"@toon-format/toon": "2.3.1",
|
|
107
113
|
ajv: "8.20.0",
|
|
108
114
|
"ajv-formats": "3.0.1",
|
|
@@ -110,6 +116,8 @@ var init_package = __esm({
|
|
|
110
116
|
"better-sqlite3": "13.0.3",
|
|
111
117
|
fastify: "^5.12.5",
|
|
112
118
|
"openid-client": "6.8.8",
|
|
119
|
+
react: "19.3.1",
|
|
120
|
+
"react-dom": "19.3.1",
|
|
113
121
|
zod: "4.6.5"
|
|
114
122
|
}
|
|
115
123
|
};
|
|
@@ -21871,6 +21879,7 @@ var init_errors3 = __esm({
|
|
|
21871
21879
|
"use strict";
|
|
21872
21880
|
cliOutdatedDownloadNext = "Download the current CLI from /cli/artium-axi.mjs on this server, verify it with the SHA-256 checksum at /cli/artium-axi.mjs.sha256, and install it as artium-axi.";
|
|
21873
21881
|
definitions = {
|
|
21882
|
+
SUDO_DENIED: { status: 503, message: "The approved sudo account could not authenticate for elevation.", next: "Ask an administrator to check the separate sudo binding credential and sudo authorization." },
|
|
21874
21883
|
CONNECTION_BUSY: { status: 409, message: "An SSH command is already active on this connection.", next: "Inspect its execution before submitting another command, or explicitly open another connection." },
|
|
21875
21884
|
CONNECTION_CLOSED: { status: 409, message: "The selected SSH connection is closed or expired.", next: "Inspect remote state before explicitly opening another connection; no reconnection or command replay occurred." },
|
|
21876
21885
|
STORE_SCHEMA_INVALID: { status: 503, message: "The store schema is unsupported by this image.", next: "Use the matching image, or restore the pre-upgrade backup into a new volume with its matching image and key." },
|
|
@@ -80024,16 +80033,16 @@ var init_ssh_axi = __esm({
|
|
|
80024
80033
|
generatedBy: "scripts/ssh-inventory.ts",
|
|
80025
80034
|
tool: "ssh-axi",
|
|
80026
80035
|
package: "@knowttl/ssh-axi",
|
|
80027
|
-
version: "0.1.
|
|
80028
|
-
integrity: "sha512-
|
|
80036
|
+
version: "0.1.3",
|
|
80037
|
+
integrity: "sha512-1KU2Papl5moD+IMpclW5QqUhFaxFkAAZKNBwSKvKksbA8NMiGmMQMYsOFtvlfk2/+vRDzI/0bHK4tV23rvWThw==",
|
|
80029
80038
|
sources: [
|
|
80030
80039
|
{
|
|
80031
80040
|
path: "package.json",
|
|
80032
|
-
sha256: "
|
|
80041
|
+
sha256: "8e4f1f11aec8f8f431c02052c455b4592986d625e80d591ef31a6a70d505cbbe"
|
|
80033
80042
|
},
|
|
80034
80043
|
{
|
|
80035
80044
|
path: "axi-credential.schema.json",
|
|
80036
|
-
sha256: "
|
|
80045
|
+
sha256: "7c6e366145a39034a06234d984c3b6fd57dc25fa0fc5315c8b2cfd0bafda59e5"
|
|
80037
80046
|
},
|
|
80038
80047
|
{
|
|
80039
80048
|
path: "artium-invocations.json",
|
|
@@ -80041,7 +80050,7 @@ var init_ssh_axi = __esm({
|
|
|
80041
80050
|
},
|
|
80042
80051
|
{
|
|
80043
80052
|
path: "README.md",
|
|
80044
|
-
sha256: "
|
|
80053
|
+
sha256: "6f0fcadd08f8ea4a67bbc9a3b8f223faee3652483dc09456683e834ea6693807"
|
|
80045
80054
|
},
|
|
80046
80055
|
{
|
|
80047
80056
|
path: "dist/arguments.d.ts",
|
|
@@ -80053,11 +80062,11 @@ var init_ssh_axi = __esm({
|
|
|
80053
80062
|
},
|
|
80054
80063
|
{
|
|
80055
80064
|
path: "dist/authenticate.d.ts",
|
|
80056
|
-
sha256: "
|
|
80065
|
+
sha256: "a9a2eed0e1e2ee14a8717ad575e760091d9d91dd70d5ff3161c8d276e60e798e"
|
|
80057
80066
|
},
|
|
80058
80067
|
{
|
|
80059
80068
|
path: "dist/authenticate.js",
|
|
80060
|
-
sha256: "
|
|
80069
|
+
sha256: "f7e5870c1ca0f7f3d13135fb3092d4a11b40cafd4e134b47ad2db9b25e78caa4"
|
|
80061
80070
|
},
|
|
80062
80071
|
{
|
|
80063
80072
|
path: "dist/cli.d.ts",
|
|
@@ -80065,7 +80074,7 @@ var init_ssh_axi = __esm({
|
|
|
80065
80074
|
},
|
|
80066
80075
|
{
|
|
80067
80076
|
path: "dist/cli.js",
|
|
80068
|
-
sha256: "
|
|
80077
|
+
sha256: "1422cb4ee8e58428909cddc153d05a72585ece852d5474902b7359668b975248"
|
|
80069
80078
|
},
|
|
80070
80079
|
{
|
|
80071
80080
|
path: "dist/connection-worker.d.ts",
|
|
@@ -80077,11 +80086,11 @@ var init_ssh_axi = __esm({
|
|
|
80077
80086
|
},
|
|
80078
80087
|
{
|
|
80079
80088
|
path: "dist/doctor.d.ts",
|
|
80080
|
-
sha256: "
|
|
80089
|
+
sha256: "484cd22b905c09d4d3f3c7993aabd34d33cf7b6aae8943adfd6a9945a49751ed"
|
|
80081
80090
|
},
|
|
80082
80091
|
{
|
|
80083
80092
|
path: "dist/doctor.js",
|
|
80084
|
-
sha256: "
|
|
80093
|
+
sha256: "feb399f026cf2981600aad6648c4d8f8f8a7a8f044b34f1d4b41d27058da6443"
|
|
80085
80094
|
},
|
|
80086
80095
|
{
|
|
80087
80096
|
path: "dist/errors.d.ts",
|
|
@@ -80113,23 +80122,23 @@ var init_ssh_axi = __esm({
|
|
|
80113
80122
|
},
|
|
80114
80123
|
{
|
|
80115
80124
|
path: "dist/native-execution.js",
|
|
80116
|
-
sha256: "
|
|
80125
|
+
sha256: "1c7d7c065df304a36f87d34dfe19485acb0c0a4b73e3049e7d5d110f425ba889"
|
|
80117
80126
|
},
|
|
80118
80127
|
{
|
|
80119
80128
|
path: "dist/output.d.ts",
|
|
80120
|
-
sha256: "
|
|
80129
|
+
sha256: "341a8285f55d3080fef9faff7b85f410882cfb32c794e1ebbe4580497e724b74"
|
|
80121
80130
|
},
|
|
80122
80131
|
{
|
|
80123
80132
|
path: "dist/output.js",
|
|
80124
|
-
sha256: "
|
|
80133
|
+
sha256: "727cc59e0bba3682557c9fd781043acdfa1abb5082d6a522d727fb10cbb204a3"
|
|
80125
80134
|
},
|
|
80126
80135
|
{
|
|
80127
80136
|
path: "dist/profile.d.ts",
|
|
80128
|
-
sha256: "
|
|
80137
|
+
sha256: "b5ee34b25f6068dea7fad805c75db64974e68160ca77d3ccca7de480654628ae"
|
|
80129
80138
|
},
|
|
80130
80139
|
{
|
|
80131
80140
|
path: "dist/profile.js",
|
|
80132
|
-
sha256: "
|
|
80141
|
+
sha256: "1b87cf36e09a1ec543d9a1913486ed66a98c2a0eb8be952133c30a4ee4c3d3ee"
|
|
80133
80142
|
},
|
|
80134
80143
|
{
|
|
80135
80144
|
path: "dist/version.d.ts",
|
|
@@ -80255,6 +80264,37 @@ var init_ssh_axi = __esm({
|
|
|
80255
80264
|
"approvedHostKeys",
|
|
80256
80265
|
"allowedAddresses"
|
|
80257
80266
|
],
|
|
80267
|
+
oneOf: [
|
|
80268
|
+
{
|
|
80269
|
+
required: [
|
|
80270
|
+
"privateKey"
|
|
80271
|
+
],
|
|
80272
|
+
not: {
|
|
80273
|
+
required: [
|
|
80274
|
+
"password"
|
|
80275
|
+
]
|
|
80276
|
+
}
|
|
80277
|
+
},
|
|
80278
|
+
{
|
|
80279
|
+
required: [
|
|
80280
|
+
"password"
|
|
80281
|
+
],
|
|
80282
|
+
not: {
|
|
80283
|
+
anyOf: [
|
|
80284
|
+
{
|
|
80285
|
+
required: [
|
|
80286
|
+
"privateKey"
|
|
80287
|
+
]
|
|
80288
|
+
},
|
|
80289
|
+
{
|
|
80290
|
+
required: [
|
|
80291
|
+
"passphrase"
|
|
80292
|
+
]
|
|
80293
|
+
}
|
|
80294
|
+
]
|
|
80295
|
+
}
|
|
80296
|
+
}
|
|
80297
|
+
],
|
|
80258
80298
|
properties: {
|
|
80259
80299
|
address: {
|
|
80260
80300
|
type: "string",
|
|
@@ -80304,6 +80344,10 @@ var init_ssh_axi = __esm({
|
|
|
80304
80344
|
passphrase: {
|
|
80305
80345
|
$ref: "#/definitions/secretRef",
|
|
80306
80346
|
"x-secret": true
|
|
80347
|
+
},
|
|
80348
|
+
password: {
|
|
80349
|
+
$ref: "#/definitions/secretRef",
|
|
80350
|
+
"x-secret": true
|
|
80307
80351
|
}
|
|
80308
80352
|
},
|
|
80309
80353
|
definitions: {
|
|
@@ -105042,10 +105086,10 @@ var init_session_context = __esm({
|
|
|
105042
105086
|
}
|
|
105043
105087
|
});
|
|
105044
105088
|
|
|
105045
|
-
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105089
|
+
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/axi-credential.schema.json
|
|
105046
105090
|
var axi_credential_schema_default;
|
|
105047
105091
|
var init_axi_credential_schema = __esm({
|
|
105048
|
-
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105092
|
+
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/axi-credential.schema.json"() {
|
|
105049
105093
|
axi_credential_schema_default = {
|
|
105050
105094
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
105051
105095
|
title: "SSH profile",
|
|
@@ -105072,6 +105116,10 @@ var init_axi_credential_schema = __esm({
|
|
|
105072
105116
|
type: "object",
|
|
105073
105117
|
additionalProperties: false,
|
|
105074
105118
|
required: ["address", "port", "username", "approvedHostKeys", "allowedAddresses"],
|
|
105119
|
+
oneOf: [
|
|
105120
|
+
{ required: ["privateKey"], not: { required: ["password"] } },
|
|
105121
|
+
{ required: ["password"], not: { anyOf: [{ required: ["privateKey"] }, { required: ["passphrase"] }] } }
|
|
105122
|
+
],
|
|
105075
105123
|
properties: {
|
|
105076
105124
|
address: { type: "string", minLength: 1, maxLength: 253, pattern: "^[A-Za-z0-9.:_-]+$", description: "Approved SSH hostname or IP address; every resolved address must be allowed." },
|
|
105077
105125
|
port: { type: "integer", minimum: 1, maximum: 65535, description: "Approved SSH TCP port." },
|
|
@@ -105079,7 +105127,8 @@ var init_axi_credential_schema = __esm({
|
|
|
105079
105127
|
approvedHostKeys: { type: "array", minItems: 1, maxItems: 2, uniqueItems: true, description: "Independently verified server public keys, each as algorithm plus base64 key; at most two overlap during rotation.", items: { type: "string", pattern: "^(ssh-ed25519|ssh-rsa|ecdsa-sha2-nistp(256|384|521)) [A-Za-z0-9+/]+={0,2}$" } },
|
|
105080
105128
|
allowedAddresses: { type: "array", minItems: 1, uniqueItems: true, description: "Approved literal IPv4 or IPv6 addresses; DNS cannot expand this set.", items: { type: "string", minLength: 2 } },
|
|
105081
105129
|
privateKey: { $ref: "#/definitions/secretRef", "x-secret": true },
|
|
105082
|
-
passphrase: { $ref: "#/definitions/secretRef", "x-secret": true }
|
|
105130
|
+
passphrase: { $ref: "#/definitions/secretRef", "x-secret": true },
|
|
105131
|
+
password: { $ref: "#/definitions/secretRef", "x-secret": true }
|
|
105083
105132
|
},
|
|
105084
105133
|
definitions: {
|
|
105085
105134
|
secretRef: {
|
|
@@ -105093,10 +105142,10 @@ var init_axi_credential_schema = __esm({
|
|
|
105093
105142
|
}
|
|
105094
105143
|
});
|
|
105095
105144
|
|
|
105096
|
-
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105145
|
+
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/errors.js
|
|
105097
105146
|
var SshError;
|
|
105098
105147
|
var init_errors4 = __esm({
|
|
105099
|
-
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105148
|
+
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/errors.js"() {
|
|
105100
105149
|
SshError = class extends Error {
|
|
105101
105150
|
code;
|
|
105102
105151
|
exitCode;
|
|
@@ -105109,7 +105158,7 @@ var init_errors4 = __esm({
|
|
|
105109
105158
|
}
|
|
105110
105159
|
});
|
|
105111
105160
|
|
|
105112
|
-
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105161
|
+
// tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/arguments.js
|
|
105113
105162
|
function parseArguments(args2) {
|
|
105114
105163
|
let prefix4 = 0;
|
|
105115
105164
|
while (["--json", "--help", "--config", "--profile"].includes(args2[prefix4]))
|
|
@@ -105179,7 +105228,7 @@ function parseArguments(args2) {
|
|
|
105179
105228
|
}
|
|
105180
105229
|
var commands2, flagHelp;
|
|
105181
105230
|
var init_arguments = __esm({
|
|
105182
|
-
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.
|
|
105231
|
+
"tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/arguments.js"() {
|
|
105183
105232
|
init_axi_credential_schema();
|
|
105184
105233
|
init_errors4();
|
|
105185
105234
|
commands2 = axi_credential_schema_default["x-commands"];
|