@knowttl/artium-axi 0.0.47 → 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 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
 
@@ -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.47",
46
+ version: "0.0.48",
47
47
  private: true,
48
48
  license: "MIT",
49
49
  type: "module",
@@ -21879,6 +21879,7 @@ var init_errors3 = __esm({
21879
21879
  "use strict";
21880
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.";
21881
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." },
21882
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." },
21883
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." },
21884
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." },
@@ -80032,16 +80033,16 @@ var init_ssh_axi = __esm({
80032
80033
  generatedBy: "scripts/ssh-inventory.ts",
80033
80034
  tool: "ssh-axi",
80034
80035
  package: "@knowttl/ssh-axi",
80035
- version: "0.1.2",
80036
- integrity: "sha512-uY/8DRC7yG8s5tEtRYcVVXK0fY/q2NfmqzBTuiuhVkm24qY+4mbVMYfan7Fyk0FdxB+1O2k6GHwOMiS73TCM3g==",
80036
+ version: "0.1.3",
80037
+ integrity: "sha512-1KU2Papl5moD+IMpclW5QqUhFaxFkAAZKNBwSKvKksbA8NMiGmMQMYsOFtvlfk2/+vRDzI/0bHK4tV23rvWThw==",
80037
80038
  sources: [
80038
80039
  {
80039
80040
  path: "package.json",
80040
- sha256: "1b9b0eb9f568979eb8d235bbf252ce1d2d39de5d571482ab2efa842c44e8a9b1"
80041
+ sha256: "8e4f1f11aec8f8f431c02052c455b4592986d625e80d591ef31a6a70d505cbbe"
80041
80042
  },
80042
80043
  {
80043
80044
  path: "axi-credential.schema.json",
80044
- sha256: "6a09c8f21fc6db3de2bddf13b97a99a939e6c431f833c0fc1eb01e8a1a94809f"
80045
+ sha256: "7c6e366145a39034a06234d984c3b6fd57dc25fa0fc5315c8b2cfd0bafda59e5"
80045
80046
  },
80046
80047
  {
80047
80048
  path: "artium-invocations.json",
@@ -80049,7 +80050,7 @@ var init_ssh_axi = __esm({
80049
80050
  },
80050
80051
  {
80051
80052
  path: "README.md",
80052
- sha256: "57a3a5bba40433984bb2c4fdf20ae20be2e83ac356d768ca76332eab68df32ab"
80053
+ sha256: "6f0fcadd08f8ea4a67bbc9a3b8f223faee3652483dc09456683e834ea6693807"
80053
80054
  },
80054
80055
  {
80055
80056
  path: "dist/arguments.d.ts",
@@ -80061,11 +80062,11 @@ var init_ssh_axi = __esm({
80061
80062
  },
80062
80063
  {
80063
80064
  path: "dist/authenticate.d.ts",
80064
- sha256: "e205dcf2d3bed6183892c10fe5d32517d2c3912bb54622bac113111eff94c694"
80065
+ sha256: "a9a2eed0e1e2ee14a8717ad575e760091d9d91dd70d5ff3161c8d276e60e798e"
80065
80066
  },
80066
80067
  {
80067
80068
  path: "dist/authenticate.js",
80068
- sha256: "a48d5e33aa1091f6143aa9f4ea2eb2eb97986fd9affc28a905158b71e1787e02"
80069
+ sha256: "f7e5870c1ca0f7f3d13135fb3092d4a11b40cafd4e134b47ad2db9b25e78caa4"
80069
80070
  },
80070
80071
  {
80071
80072
  path: "dist/cli.d.ts",
@@ -80073,7 +80074,7 @@ var init_ssh_axi = __esm({
80073
80074
  },
80074
80075
  {
80075
80076
  path: "dist/cli.js",
80076
- sha256: "81b4def5f3fe5fead8b1145fadf18d9c8879f79ca5d839e3bf814c77595fb040"
80077
+ sha256: "1422cb4ee8e58428909cddc153d05a72585ece852d5474902b7359668b975248"
80077
80078
  },
80078
80079
  {
80079
80080
  path: "dist/connection-worker.d.ts",
@@ -80085,11 +80086,11 @@ var init_ssh_axi = __esm({
80085
80086
  },
80086
80087
  {
80087
80088
  path: "dist/doctor.d.ts",
80088
- sha256: "40e632ca318987a698bd4e9e0d2c9e6f7430ba15f21aadb4cce2d638491d59f2"
80089
+ sha256: "484cd22b905c09d4d3f3c7993aabd34d33cf7b6aae8943adfd6a9945a49751ed"
80089
80090
  },
80090
80091
  {
80091
80092
  path: "dist/doctor.js",
80092
- sha256: "b2c2dd250faa47ea9d6ea5d7290e5da40dd34b07fc2ff89c3e5c70c02605ac9a"
80093
+ sha256: "feb399f026cf2981600aad6648c4d8f8f8a7a8f044b34f1d4b41d27058da6443"
80093
80094
  },
80094
80095
  {
80095
80096
  path: "dist/errors.d.ts",
@@ -80121,23 +80122,23 @@ var init_ssh_axi = __esm({
80121
80122
  },
80122
80123
  {
80123
80124
  path: "dist/native-execution.js",
80124
- sha256: "17c6a49e87a894915f058e90cd18aa1de2ba112609bea697af4e53972f862c3c"
80125
+ sha256: "1c7d7c065df304a36f87d34dfe19485acb0c0a4b73e3049e7d5d110f425ba889"
80125
80126
  },
80126
80127
  {
80127
80128
  path: "dist/output.d.ts",
80128
- sha256: "360f7b095bcf0447716edacbec94eb73be8bb0a24598b849c86863e5823411ea"
80129
+ sha256: "341a8285f55d3080fef9faff7b85f410882cfb32c794e1ebbe4580497e724b74"
80129
80130
  },
80130
80131
  {
80131
80132
  path: "dist/output.js",
80132
- sha256: "d3c0c957aaf80fcdf6923cf2948437d2e6ca517a1ccfdabb9b349ecfa1188d0b"
80133
+ sha256: "727cc59e0bba3682557c9fd781043acdfa1abb5082d6a522d727fb10cbb204a3"
80133
80134
  },
80134
80135
  {
80135
80136
  path: "dist/profile.d.ts",
80136
- sha256: "bcdd40f1b330e65a9bb941640e238157f3c53f5d5f11086be8d8665bc3133e48"
80137
+ sha256: "b5ee34b25f6068dea7fad805c75db64974e68160ca77d3ccca7de480654628ae"
80137
80138
  },
80138
80139
  {
80139
80140
  path: "dist/profile.js",
80140
- sha256: "0e0c97f142986d17e8eb3e30ee20bb7bf2dc161a9cd653d72dabc150d84a10a7"
80141
+ sha256: "1b87cf36e09a1ec543d9a1913486ed66a98c2a0eb8be952133c30a4ee4c3d3ee"
80141
80142
  },
80142
80143
  {
80143
80144
  path: "dist/version.d.ts",
@@ -80263,6 +80264,37 @@ var init_ssh_axi = __esm({
80263
80264
  "approvedHostKeys",
80264
80265
  "allowedAddresses"
80265
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
+ ],
80266
80298
  properties: {
80267
80299
  address: {
80268
80300
  type: "string",
@@ -80312,6 +80344,10 @@ var init_ssh_axi = __esm({
80312
80344
  passphrase: {
80313
80345
  $ref: "#/definitions/secretRef",
80314
80346
  "x-secret": true
80347
+ },
80348
+ password: {
80349
+ $ref: "#/definitions/secretRef",
80350
+ "x-secret": true
80315
80351
  }
80316
80352
  },
80317
80353
  definitions: {
@@ -105050,10 +105086,10 @@ var init_session_context = __esm({
105050
105086
  }
105051
105087
  });
105052
105088
 
105053
- // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/axi-credential.schema.json
105089
+ // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/axi-credential.schema.json
105054
105090
  var axi_credential_schema_default;
105055
105091
  var init_axi_credential_schema = __esm({
105056
- "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/axi-credential.schema.json"() {
105092
+ "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/axi-credential.schema.json"() {
105057
105093
  axi_credential_schema_default = {
105058
105094
  $schema: "http://json-schema.org/draft-07/schema#",
105059
105095
  title: "SSH profile",
@@ -105080,6 +105116,10 @@ var init_axi_credential_schema = __esm({
105080
105116
  type: "object",
105081
105117
  additionalProperties: false,
105082
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
+ ],
105083
105123
  properties: {
105084
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." },
105085
105125
  port: { type: "integer", minimum: 1, maximum: 65535, description: "Approved SSH TCP port." },
@@ -105087,7 +105127,8 @@ var init_axi_credential_schema = __esm({
105087
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}$" } },
105088
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 } },
105089
105129
  privateKey: { $ref: "#/definitions/secretRef", "x-secret": true },
105090
- passphrase: { $ref: "#/definitions/secretRef", "x-secret": true }
105130
+ passphrase: { $ref: "#/definitions/secretRef", "x-secret": true },
105131
+ password: { $ref: "#/definitions/secretRef", "x-secret": true }
105091
105132
  },
105092
105133
  definitions: {
105093
105134
  secretRef: {
@@ -105101,10 +105142,10 @@ var init_axi_credential_schema = __esm({
105101
105142
  }
105102
105143
  });
105103
105144
 
105104
- // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/dist/errors.js
105145
+ // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/errors.js
105105
105146
  var SshError;
105106
105147
  var init_errors4 = __esm({
105107
- "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/dist/errors.js"() {
105148
+ "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/errors.js"() {
105108
105149
  SshError = class extends Error {
105109
105150
  code;
105110
105151
  exitCode;
@@ -105117,7 +105158,7 @@ var init_errors4 = __esm({
105117
105158
  }
105118
105159
  });
105119
105160
 
105120
- // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/dist/arguments.js
105161
+ // tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/arguments.js
105121
105162
  function parseArguments(args2) {
105122
105163
  let prefix4 = 0;
105123
105164
  while (["--json", "--help", "--config", "--profile"].includes(args2[prefix4]))
@@ -105187,7 +105228,7 @@ function parseArguments(args2) {
105187
105228
  }
105188
105229
  var commands2, flagHelp;
105189
105230
  var init_arguments = __esm({
105190
- "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.2/node_modules/@knowttl/ssh-axi/dist/arguments.js"() {
105231
+ "tools/node_modules/.pnpm/@knowttl+ssh-axi@0.1.3/node_modules/@knowttl/ssh-axi/dist/arguments.js"() {
105191
105232
  init_axi_credential_schema();
105192
105233
  init_errors4();
105193
105234
  commands2 = axi_credential_schema_default["x-commands"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowttl/artium-axi",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "Client CLI and embedded skill for the Artium managed tools server.",
5
5
  "license": "MIT",
6
6
  "type": "module",