@aisac/cli 0.4.0-beta.15 → 0.4.0-beta.17

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
@@ -43,6 +43,34 @@ when every file exists or was written, `1` for a license, pack or write failure
43
43
  (nothing is written before the pack is verified), `2` for a usage error. Until the
44
44
  pack carries the templates, the command says so and writes nothing.
45
45
 
46
+ `aisac scan [dir]` (licensed accounts, client `0.4.0-beta.17` or later) runs four
47
+ pinned security scanners over your own project and writes one report under
48
+ `.security-reports/aisac-scan/<UTC>/`: gitleaks (secrets), Semgrep CE (static
49
+ analysis), osv-scanner (dependency advisories) and Trivy (infrastructure as code). It
50
+ calls no model and sends no finding anywhere. Each tool runs from its official image,
51
+ pinned by digest, read-only and without network where the tool allows. Without Docker
52
+ it runs a gitleaks, Semgrep or osv-scanner binary from an absolute `PATH` directory
53
+ only when its version is the pinned one, and otherwise skips the tool with a reason.
54
+ Trivy runs only from its image, so without Docker `iac` is skipped
55
+ (`tool_needs_container`). The report has `summary.md` in your language,
56
+ `summary.json` and a sanitized copy of each tool's output, with secret values
57
+ redacted and every finding mapped to OWASP ids. Scanner config files in your project
58
+ (`.gitleaks.toml`, `osv-scanner.toml`, `.semgrepignore` and the like) are ignored and
59
+ listed as `repo_scanner_config:<path>` warnings. osv-scanner sends package names and
60
+ versions to OSV.dev and contacts nothing else, and the client fetches the Semgrep
61
+ registry rules before the scan; `--skip sca` avoids the first. Options, each at most
62
+ once with its value as the next argument:
63
+ `--fail-on critical|high|medium|low|none`, `--only <kinds>` or `--skip <kinds>` (not
64
+ both; a comma list of `secrets`, `sast`, `sca`, `iac`, `container`), `--history`
65
+ (adds a git-history pass; `dir` must hold `.git`), `--no-docker`, `--lang pt-BR|en`,
66
+ `--json`, `--check-tools`, `--timeout <seconds>` (1 to 3600, default 600).
67
+ `--check-tools` shows what would run without a license, a pack or a network call, and
68
+ `aisac doctor` reports the same on its `scan` line. Exit codes: `0` below `--fail-on`
69
+ (default `high`), `1` at or above it, `2` for a usage error, `3` when the scan could
70
+ not run as asked: no scanner ran, a tool failed, `--history` found no repository, the
71
+ license is inactive, the pack could not be loaded, or another error stopped it.
72
+ Guide: [`aisac scan`](../../docs/how-to/aisac-scan.md).
73
+
46
74
  Licensed `aisac claude` sessions also load guardrail hooks as the session plugin
47
75
  `aisac-guardrails`.
48
76
  - **Default on:** `secrets-guard` refuses secret files by name. Four more hooks
@@ -80,8 +108,9 @@ older client requires a verified support migration; do not delete checkpoints,
80
108
  notes or lock files to work around a reported storage error.
81
109
 
82
110
  The reviewed native compatibility set is Claude Code 2.1.294, 2.1.295, 2.1.296,
83
- 2.1.299, 2.1.300, 2.1.301, 2.1.302 or 2.1.303, and Codex CLI 0.161.0,
84
- 0.162.0, 0.162.1, 0.163.0, 0.164.0 or 0.166.0 (0.165.0 was never qualified). A newer stable Codex 0.x release may continue only
111
+ 2.1.299, 2.1.300, 2.1.301, 2.1.302, 2.1.303, 2.1.311 or 2.1.322, and Codex CLI 0.161.0,
112
+ 0.162.0, 0.162.1, 0.163.0, 0.164.0, 0.166.0 or 0.167.1 (0.165.0 and 0.167.0 were never
113
+ qualified; 0.167.0 shares the 0.167.1 contract, so the structural probe admits it). A newer stable Codex 0.x release may continue only
85
114
  after its locally generated experimental protocol schemas and transport flags
86
115
  match the bundled adapter contract; prereleases, older releases and new majors
87
116
  remain rejected. Starting with beta14, newer stable Claude 2.1 patches can
@@ -102,6 +131,18 @@ additive: optional item timing, an image generation id, an attach-to-source fork
102
131
  flag and two error codes. See the
103
132
  [Codex 0.166 qualification record](../../docs/reference/codex-166-compatibility-2026-11-04.md).
104
133
 
134
+ `0.4.0-beta.16` refreshes the bundled contract to Codex 0.167.1 and qualifies Claude Code
135
+ 2.1.311 and 2.1.322. The Codex delta is additive: audio inputs may reference an uploaded
136
+ file (`fileId` / `file_id`) instead of a URL, `initialize` gains the optional
137
+ `requiredHumanApproval` capability and `humanCommand` becomes an approval kind only
138
+ clients that declare it receive. See the
139
+ [Codex 0.167 qualification record](../../docs/reference/codex-167-compatibility-2026-11-11.md)
140
+ and the [Claude 2.1.322 record](../../docs/reference/claude-322-compatibility-2026-11-11.md).
141
+
142
+ `0.4.0-beta.17` adds `aisac scan`, keeps the pack's `scan/` rules out of every session
143
+ (like `init/`), and lets a command exit with `3`. The qualified Claude Code and Codex
144
+ versions are those of `0.4.0-beta.16`.
145
+
105
146
  The Codex terminal bridge permits the native session picker's separate read-only
106
147
  connection while keeping the primary conversation and monitor intact. A picker
107
148
  cannot compact, start a turn, inject history or take ownership of the primary
@@ -30,6 +30,8 @@ const QUALIFIED_VERSIONS = new Set([
30
30
  '2.1.301',
31
31
  '2.1.302',
32
32
  '2.1.303',
33
+ '2.1.311',
34
+ '2.1.322',
33
35
  ]);
34
36
  const REQUIRED_FLAGS = ['--settings', '--mcp-config', '--allowedTools', '--plugin-dir'];
35
37
  const REQUIRED_INVENTORY = [
@@ -16,7 +16,7 @@ export const MAX_LOG_FILES = 3;
16
16
  const LOCK_WAIT_MS = 250;
17
17
  const LOCK_STALE_MS = 30_000;
18
18
  const ADMISSION_MS = 60 * 60 * 1000;
19
- export const ADAPTER_VERSION = '0.4.0-beta.15';
19
+ export const ADAPTER_VERSION = '0.4.0-beta.17';
20
20
  const MAX_DIAGNOSTIC_COUNT = 10_000_000;
21
21
  const MAX_DIAGNOSTIC_BYTES = 128 * 1024 * 1024;
22
22
  const CHECKPOINT_BACKENDS = new Set(['native_store', 'private_file']);
package/dist/cli.mjs CHANGED
@@ -38,22 +38,25 @@ import {
38
38
  writeStoredLocale,
39
39
  } from './engineering-pack.mjs';
40
40
  import { initCommand } from './engineering-init.mjs';
41
+ import { scanCommand, scanToolAvailability } from './engineering-scan.mjs';
41
42
  import { extensionsSummary, hooksCommand, mcpCommand } from './extensions-cli.mjs';
42
43
  import { sessionServers } from './mcp-servers.mjs';
43
44
  import { anyFormatter } from './guardrails/format.mjs';
44
45
  import { readCodexGuardrails } from './guardrails-plugin.mjs';
45
46
  import { codexHooksStatus, supportsCodexHooks } from './codex-hooks.mjs';
46
47
 
47
- const VERSION = '0.4.0-beta.15';
48
+ const VERSION = '0.4.0-beta.17';
48
49
  // The command is `aisac`; `aibrain` is an alias installed from the same entry.
49
50
  const COMMAND = 'aisac';
51
+ /** `aisac scan` could not scan as asked (scan spec D6); 1 means findings, 2 a usage error. */
52
+ const SCAN_CANNOT_RUN_EXIT_CODE = 3;
50
53
  const ENDPOINT = 'https://mcp.ai-brain.aisac.cloud/mcp';
51
54
  const PACKAGE_ROOT = dirname(fileURLToPath(import.meta.url));
52
55
  const LEGACY_DISCLOSURE_VERSION = 'aibrain-paid-context-v1-2026-10-09';
53
56
 
54
57
  function usage() {
55
58
  console.log(
56
- `${COMMAND} ${VERSION}\n\nUsage:\n ${COMMAND} setup [--client claude|codex|both] [--context-profile upstream|conservative]\n [--compact-at 1..95] [--keep-threshold 0..1] [--preserve-recent 1..100]\n [--min-reduction 0..1] [--truncate-head-chars 0..4096]\n [--max-state-tokens 1000..25000] [--max-request-tokens 1000..30000]\n [--tool-policy compatible|read_only] [--goal TEXT]\n ${COMMAND} doctor [--json]\n ${COMMAND} status [--json]\n ${COMMAND} disable\n ${COMMAND} setup --undo\n ${COMMAND} claude [-- native-args...]\n ${COMMAND} codex [-- native-args...]\n ${COMMAND} init [dir] [--lang pt-BR|en] [--stack node|python|none] [--dry-run] [--json]\n\nPolicy notes:\n Automatic monitoring asks for compaction at compact-at percent; state/request\n limits are estimated upper bounds and do not override server quotas.\n min-reduction, truncate-head-chars and tool-policy apply only to Claude;\n Codex keeps native compaction and same-session recovery.`,
59
+ `${COMMAND} ${VERSION}\n\nUsage:\n ${COMMAND} setup [--client claude|codex|both] [--context-profile upstream|conservative]\n [--compact-at 1..95] [--keep-threshold 0..1] [--preserve-recent 1..100]\n [--min-reduction 0..1] [--truncate-head-chars 0..4096]\n [--max-state-tokens 1000..25000] [--max-request-tokens 1000..30000]\n [--tool-policy compatible|read_only] [--goal TEXT]\n ${COMMAND} doctor [--json]\n ${COMMAND} status [--json]\n ${COMMAND} disable\n ${COMMAND} setup --undo\n ${COMMAND} claude [-- native-args...]\n ${COMMAND} codex [-- native-args...]\n ${COMMAND} init [dir] [--lang pt-BR|en] [--stack node|python|none] [--dry-run] [--json]\n ${COMMAND} scan [dir] [--fail-on critical|high|medium|low|none] [--only <kinds>]\n [--skip <kinds>] [--history] [--no-docker] [--lang pt-BR|en] [--json]\n [--check-tools] [--timeout <seconds>]\n\nPolicy notes:\n Automatic monitoring asks for compaction at compact-at percent; state/request\n limits are estimated upper bounds and do not override server quotas.\n min-reduction, truncate-head-chars and tool-policy apply only to Claude;\n Codex keeps native compaction and same-session recovery.`,
57
60
  );
58
61
  console.log(
59
62
  'Clients: setup without --client configures the clients installed on PATH (Claude Code, Codex, or both).',
@@ -70,6 +73,9 @@ function usage() {
70
73
  console.log(
71
74
  'Project skeleton: `aisac init [dir]` (licensed accounts) writes the AISAC skeleton from the pack into a new or existing project, only the files that are missing; `--dry-run` lists them, `--stack` picks node|python|none when detection is not enough.',
72
75
  );
76
+ console.log(
77
+ 'Security scan: `aisac scan [dir]` (licensed accounts) runs pinned scanners (gitleaks, Semgrep CE, osv-scanner, Trivy) over your own project and writes the report under `.security-reports/aisac-scan/`; findings stay on the machine; `--check-tools` shows what would run (doctor reports it as `scan`); <kinds> is a comma list of secrets, sast, sca, iac, container.',
78
+ );
73
79
  console.log(
74
80
  'Guardrails: `aisac hooks` lists them (a checklist on a terminal); `aisac hooks enable|disable <id>...` and `aisac hooks reset` change the next `aisac claude` or `aisac codex` session.',
75
81
  );
@@ -664,6 +670,36 @@ async function doctorExtensions(codex) {
664
670
  return { ...summary, formatOnEdit, mcpMissingEnv, codexHooks };
665
671
  }
666
672
 
673
+ /**
674
+ * The text doctor's `scan` line: `kind=mode`, a binary's version, then the reason, for
675
+ * example `sca=binary 2.7.1, iac=skipped (tool_unavailable)`.
676
+ * @param {Awaited<ReturnType<typeof scanToolAvailability>>} entries
677
+ */
678
+ function scanLine(entries) {
679
+ return entries
680
+ .map(({ kind, mode, version, reason }) => {
681
+ const detail = mode === 'binary' && version !== null ? ` ${version}` : '';
682
+ return `${kind}=${mode}${detail}${reason === null ? '' : ` (${reason})`}`;
683
+ })
684
+ .join(', ');
685
+ }
686
+
687
+ /**
688
+ * What `aisac scan` would run, per kind (scan spec FR9): in `--json` the entries of
689
+ * `scan --check-tools --json`, in text one line. No pull, no scan, no pack, no license.
690
+ * Optional capability: a failure (only a bad pins file) is its message and never changes
691
+ * doctor's exit code.
692
+ * @param {boolean} json
693
+ */
694
+ async function doctorScan(json) {
695
+ try {
696
+ const entries = await scanToolAvailability({ packageRoot: PACKAGE_ROOT, env: process.env });
697
+ return json ? entries : scanLine(entries);
698
+ } catch (error) {
699
+ return errorMessage(error);
700
+ }
701
+ }
702
+
667
703
  /** @param {boolean} json */
668
704
  async function doctor(json) {
669
705
  const platform = platformCheck();
@@ -762,6 +798,7 @@ async function doctor(json) {
762
798
  executable: native.codex,
763
799
  version: codexCompatibility?.version,
764
800
  }),
801
+ scan: await doctorScan(json),
765
802
  paidOrPilot: probe?.ok
766
803
  ? 'provider_free_probe_ok; paid entitlement or pilot invitation remains server-enforced'
767
804
  : config
@@ -773,6 +810,29 @@ async function doctor(json) {
773
810
  if (!platform.ok || !config || !probe?.ok || !nativeReady) process.exitCode = 1;
774
811
  }
775
812
 
813
+ /**
814
+ * `aisac scan`. An error the engine did not classify still means it could not scan as
815
+ * asked: exit 3, never 1, which a CI step reads as findings (scan review F3). Usage
816
+ * errors keep their 2.
817
+ * @param {string[]} args
818
+ */
819
+ async function scan(args) {
820
+ try {
821
+ return await scanCommand(args, {
822
+ packageRoot: PACKAGE_ROOT,
823
+ readConfig,
824
+ stateRoot,
825
+ cwd: process.cwd(),
826
+ env: process.env,
827
+ });
828
+ } catch (error) {
829
+ const exitCode = /** @type {{ exitCode?: unknown }} */ (error ?? {}).exitCode;
830
+ if (typeof exitCode === 'number') throw error;
831
+ const classified = error instanceof Error ? error : new Error(errorMessage(error));
832
+ throw Object.assign(classified, { exitCode: SCAN_CANNOT_RUN_EXIT_CODE });
833
+ }
834
+ }
835
+
776
836
  /** @param {boolean} json */
777
837
  async function status(json) {
778
838
  const config = await readConfig();
@@ -857,6 +917,10 @@ async function main(argv) {
857
917
  cwd: process.cwd(),
858
918
  env: process.env,
859
919
  });
920
+ if (command === 'scan') {
921
+ process.exitCode = await scan(rest);
922
+ return;
923
+ }
860
924
  if (command === 'disable') {
861
925
  if (rest.length > 0) throw new Error('disable_does_not_accept_options');
862
926
  return removeOwnedSetup();
@@ -909,7 +973,13 @@ main(cliArgs).catch((error) => {
909
973
  const guide = /** @type {{ guide?: unknown }} */ (error ?? {}).guide;
910
974
  if (typeof guide === 'string') console.error(`\n${guide}`);
911
975
  }
912
- // Usage errors of `aisac init` exit 2 (spec FR3); everything else exits 1.
976
+ // Usage errors exit 2 (init spec FR3, scan spec FR1). `aisac scan` exits 3
977
+ // when it cannot scan as asked (scan spec D6: no scanner, a tool failure, no
978
+ // license or pack), so a CI step never reads that as findings; everything
979
+ // else exits 1.
913
980
  const exitCode = /** @type {{ exitCode?: unknown }} */ (error ?? {}).exitCode;
914
- process.exitCode = exitCode === 2 ? 2 : 1;
981
+ process.exitCode =
982
+ typeof exitCode === 'number' && Number.isInteger(exitCode) && exitCode >= 1 && exitCode <= 3
983
+ ? exitCode
984
+ : 1;
915
985
  });
@@ -33,6 +33,7 @@ const QUALIFIED_VERSIONS = new Set([
33
33
  '0.163.0',
34
34
  '0.164.0',
35
35
  '0.166.0',
36
+ '0.167.1',
36
37
  ]);
37
38
  const ANNOTATIONS = new Set([
38
39
  '$comment',
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "version": 3,
3
- "native": "0.166.0",
3
+ "native": "0.167.1",
4
4
  "consumed_pagination": {
5
5
  "method": "thread/turns/list",
6
6
  "request_schema": "v2/ThreadTurnsListParams.json",
7
7
  "response_schema": "v2/ThreadTurnsListResponse.json",
8
8
  "request_schema_sha256": "29717980579b77eb4c7cbd1118dd238fcb3e010f3ef5236d74bd4e4f6e02c005",
9
- "response_schema_sha256": "53d96dae44edcecee02d8dcce5645800a52a62444f288ff48376e99e506561c6",
10
- "graph_sha256": "a9008170cbf190054a75f4a539db7fe271e30cf85a157ad27e2dc2192785f311",
9
+ "response_schema_sha256": "f5962f70e196a7ca5136d489b37e437e2d3ec2f5e9137ccdb967bee1b1d8b648",
10
+ "graph_sha256": "d279eb0972737e1867af66d833d23bd0fccc5209618b010a422b44b4616f2c8e",
11
11
  "ordering": "asc",
12
12
  "items_view": "full"
13
13
  },
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "v2/ThreadTurnsListResponse.json": {
20
20
  "methods": null,
21
- "sha256": "53d96dae44edcecee02d8dcce5645800a52a62444f288ff48376e99e506561c6"
21
+ "sha256": "f5962f70e196a7ca5136d489b37e437e2d3ec2f5e9137ccdb967bee1b1d8b648"
22
22
  },
23
23
  "ClientRequest.json": {
24
24
  "methods": [
@@ -39,7 +39,7 @@
39
39
  "config/read",
40
40
  "account/read"
41
41
  ],
42
- "sha256": "950bcefcb938bdf04b84305fdcf6767b05db782a0853ef1356fe05d607b0f5b3"
42
+ "sha256": "774fc331b29586c30b71bcf71c153cfe476ef3e2de142cd6419e2b347fdedeb0"
43
43
  },
44
44
  "ClientNotification.json": {
45
45
  "methods": ["initialized"],
@@ -59,7 +59,7 @@
59
59
  "applyPatchApproval",
60
60
  "execCommandApproval"
61
61
  ],
62
- "sha256": "f6dbc427473ebb6ffd634cb22a45f3330c48ea9719e2c54fb3f9b0c39f76ef22"
62
+ "sha256": "e9e5653f9dd4f2e103e6a2fd53ff234f6b859a959e47a0cd7f2526b0e96bab7f"
63
63
  },
64
64
  "ServerNotification.json": {
65
65
  "methods": [
@@ -78,7 +78,7 @@
78
78
  "thread/compacted",
79
79
  "warning"
80
80
  ],
81
- "sha256": "7f739a3a39a248692147f1a5b2212f440d36350bf2bcca0a5393abd32c188bdf"
81
+ "sha256": "645ee7185608ff0c7020926bde9f692e314c533bb0ed2445273db3d6d952f298"
82
82
  },
83
83
  "JSONRPCResponse.json": {
84
84
  "methods": null,
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "v2/ThreadForkResponse.json": {
108
108
  "methods": null,
109
- "sha256": "36af2650a2f2fddd081dd6cb92a91632d0fc12e819fb47ceadcaf238990bec1e"
109
+ "sha256": "e146932d810efb495172cd1e2c041adbd02956c8adc4b0602832ce99d22a9390"
110
110
  },
111
111
  "v2/ThreadInjectItemsResponse.json": {
112
112
  "methods": null,
@@ -114,15 +114,15 @@
114
114
  },
115
115
  "v2/ThreadReadResponse.json": {
116
116
  "methods": null,
117
- "sha256": "136c873857d2ba0e1aa0836d96ec8d81bfc30a9209e058226e910e0179563e6b"
117
+ "sha256": "435ee103c2d1f722f10b0a2665c86365d935853e33019fa3a95b7747f0b4d74a"
118
118
  },
119
119
  "v2/ThreadResumeResponse.json": {
120
120
  "methods": null,
121
- "sha256": "ea37ce77b7a1b2fff78191dac117013ef817cfe1f0ab04f95d1bdc847ceacbb9"
121
+ "sha256": "ef1e9b714f7a3555bc0d4e30ae40174aaa5c504a3ae103f4c4981201d20549a8"
122
122
  },
123
123
  "v2/ThreadStartResponse.json": {
124
124
  "methods": null,
125
- "sha256": "36af2650a2f2fddd081dd6cb92a91632d0fc12e819fb47ceadcaf238990bec1e"
125
+ "sha256": "e146932d810efb495172cd1e2c041adbd02956c8adc4b0602832ce99d22a9390"
126
126
  }
127
127
  },
128
128
  "requiredClientFlags": ["app-server", "--listen", "stdio://"],
@@ -99,6 +99,17 @@ const PACK_DIRECTORY = 'engineering';
99
99
  * never reach a session. Only `engineering-init.mjs` reads them.
100
100
  */
101
101
  export const INIT_PREFIX = 'init/';
102
+ /**
103
+ * `aisac scan` rules (spec aisac-engineering-scan D3, FR7): Semgrep rules as
104
+ * data that never reach a session. Only the scan command reads them.
105
+ */
106
+ export const SCAN_PREFIX = 'scan/';
107
+ /**
108
+ * Pack prefixes the session materializers leave out (scan spec FR7): files
109
+ * under them are for a client command, never for a Claude or Codex session.
110
+ * @type {readonly string[]}
111
+ */
112
+ export const NON_SESSION_PREFIXES = Object.freeze([INIT_PREFIX, SCAN_PREFIX]);
102
113
  const OUTPUT_STYLES_PREFIX = 'output-styles/';
103
114
  const SKILLS_DIRECTORY = 'skills';
104
115
  const AGENT_FILE = /^agents\/([a-z][a-z0-9-]{0,63})\.md$/u;
@@ -537,10 +548,19 @@ const PLUGIN_DESCRIPTION = {
537
548
  en: 'AISAC Engineering method, licensed to your account. Do not redistribute.',
538
549
  };
539
550
 
551
+ /**
552
+ * Whether a pack path belongs to a client command rather than a session.
553
+ * @param {string} path
554
+ */
555
+ export function isNonSessionPath(path) {
556
+ return NON_SESSION_PREFIXES.some((prefix) => path.startsWith(prefix));
557
+ }
558
+
540
559
  /**
541
560
  * Write the pack files into `engineering/` of the launch's private directory:
542
- * `0700` directories, `0600` files, exclusive creation, contained paths. The
543
- * `init/` templates stay out: they are for `aisac init`, not for a session.
561
+ * `0700` directories, `0600` files, exclusive creation, contained paths. Files
562
+ * under a non-session prefix stay out: the `init/` templates are for
563
+ * `aisac init` and the `scan/` rules for `aisac scan`, not for a session.
544
564
  * @param {VerifiedPack} pack
545
565
  * @param {string} launchDirectory
546
566
  * @returns {Promise<string>} the pack root
@@ -550,7 +570,7 @@ async function writePackFiles(pack, launchDirectory) {
550
570
  await mkdir(base, { mode: 0o700 });
551
571
  for (const file of pack.files) {
552
572
  if (!isValidPackPath(file.path)) throw new Error('pack_path_invalid');
553
- if (file.path.startsWith(INIT_PREFIX)) continue;
573
+ if (isNonSessionPath(file.path)) continue;
554
574
  const target = resolve(base, ...file.path.split('/'));
555
575
  if (!target.startsWith(`${base}${sep}`)) throw new Error('pack_path_escape');
556
576
  await mkdir(dirname(target), { recursive: true, mode: 0o700 });
@@ -0,0 +1,42 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "capturedAt": "2026-11-12T11:56:20Z",
4
+ "tools": {
5
+ "gitleaks": {
6
+ "kinds": ["secrets"],
7
+ "image": "ghcr.io/gitleaks/gitleaks",
8
+ "tag": "v8.30.1",
9
+ "digest": "sha256:c00b6bd0aeb3071cbcb79009cb16a60dd9e0a7c60e2be9ab65d25e6bc8abbb7f",
10
+ "binary": "gitleaks",
11
+ "versions": ["8.30.1"],
12
+ "user": "65532:65532"
13
+ },
14
+ "semgrep": {
15
+ "kinds": ["sast"],
16
+ "image": "semgrep/semgrep",
17
+ "tag": "1.185.0",
18
+ "digest": "sha256:67518c174185a2043fdbed16c70631b79209499b3671178e7194379b48295a0d",
19
+ "binary": "semgrep",
20
+ "versions": ["1.185.0"],
21
+ "user": "65532:65532"
22
+ },
23
+ "osv-scanner": {
24
+ "kinds": ["sca"],
25
+ "image": "ghcr.io/google/osv-scanner",
26
+ "tag": "v2.7.1",
27
+ "digest": "sha256:a70ffffc2bfd33482953e5d6b64c6fcdb30239717a07b0f0d3ab2859ce3e4cde",
28
+ "binary": "osv-scanner",
29
+ "versions": ["2.7.1"],
30
+ "user": "65532:65532"
31
+ },
32
+ "trivy": {
33
+ "kinds": ["iac", "container"],
34
+ "image": "ghcr.io/aquasecurity/trivy",
35
+ "tag": "0.76.2",
36
+ "digest": "sha256:8f6bb947dbc528902e11f2f5be52f7b519f6a39d5d148f41166f2040499768fb",
37
+ "binary": "trivy",
38
+ "versions": ["0.76.2"],
39
+ "user": "65532:65532"
40
+ }
41
+ }
42
+ }