Skip to content

Commit 1901c2b

Browse files
authored
Merge pull request #30 from mojaloop/chore/deps-security-20260225
chore: fix TS build, security updates, and CI config
2 parents 18d9ff2 + 5d46b79 commit 1901c2b

8 files changed

Lines changed: 2257 additions & 2936 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22
setup: true
33
orbs:
4-
build: mojaloop/build@1.1.10
4+
build: mojaloop/build@1.1.16
55
workflows:
66
setup:
77
jobs:

.grype.yaml

Lines changed: 53 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,59 @@
1-
# Set to true to disable the Grype image scan completely
2-
disabled: false
3-
1+
scan-type: source
42
ignore:
5-
- vulnerability: GHSA-5j98-mcp5-4vw2
6-
reason: "No fixes to glob npm available as of 2026-01-14 on Dockerfile base image 22.21.1-alpine3.23"
73
- vulnerability: CVE-2025-60876
8-
reason: "No fixes to busybox apk available as of 2026-01-14 on Dockerfile base image 22.21.1-alpine3.23"
9-
- vulnerability: CVE-2026-22184
10-
reason: "No fixes to zlib apk available as of 2026-01-14 on Dockerfile base image 22.21.1-alpine3.23"
11-
12-
13-
# Set output format defaults
4+
include-aliases: true
5+
reason: "Alpine base image package (apk): busybox - no npm fix available as of 2026-02-25 (moderate severity)"
6+
- vulnerability: GHSA-3ppc-4f35-3m26
7+
include-aliases: true
8+
reason: >-
9+
Base image npm package: minimatch - bundled in Node.js base image, not fixable via application dependencies as of
10+
2026-02-25 (high severity)
11+
- vulnerability: GHSA-83g3-92jg-28cx
12+
include-aliases: true
13+
reason: >-
14+
Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
15+
2026-02-25 (high severity)
16+
- vulnerability: GHSA-34x7-hfp2-rc4v
17+
include-aliases: true
18+
reason: >-
19+
Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
20+
2026-02-25 (high severity)
21+
- vulnerability: GHSA-73rr-hh4g-fpgx
22+
include-aliases: true
23+
reason: >-
24+
Base image npm package: diff - bundled in Node.js base image, not fixable via application dependencies as of
25+
2026-02-25 (low severity)
26+
- vulnerability: GHSA-r6q2-hw4h-h46w
27+
include-aliases: true
28+
reason: >-
29+
Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
30+
2026-02-25 (high severity)
31+
- vulnerability: GHSA-8qq5-rm4j-mr97
32+
include-aliases: true
33+
reason: >-
34+
Base image npm package: tar - bundled in Node.js base image, not fixable via application dependencies as of
35+
2026-02-25 (high severity)
36+
- vulnerability: CVE-2026-27171
37+
include-aliases: true
38+
reason: "Alpine base image package (apk): zlib - no npm fix available as of 2026-02-25 (moderate severity)"
39+
- vulnerability: GHSA-2g4f-4pwh-qvx6
40+
include-aliases: true
41+
reason: "Unfixable npm transitive vulnerability: ajv (moderate severity) as of 2026-02-25"
42+
- vulnerability: GHSA-xxjr-mmjv-4gpg
43+
include-aliases: true
44+
reason: "Unfixable npm transitive vulnerability: lodash-es (moderate severity) as of 2026-02-25"
45+
- vulnerability: GHSA-6rw7-vpxm-498p
46+
include-aliases: true
47+
reason: "Unfixable npm transitive vulnerability: qs (high severity) as of 2026-02-25"
48+
- vulnerability: GHSA-5j98-mcp5-4vw2
49+
include-aliases: true
50+
reason: >-
51+
Base image npm package: glob - bundled in Node.js base image npm, not fixable via application dependencies as of
52+
2026-02-25 (high severity)
1453
output:
15-
- "table"
16-
- "json"
17-
18-
# Modify your CircleCI job to check critical count
54+
- table
55+
- json
1956
search:
20-
scope: "squashed"
57+
scope: squashed
2158
quiet: false
2259
check-for-app-update: false

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.21.1
1+
22.22.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=22.21.1-alpine3.23
1+
ARG NODE_VERSION=22.22.0-alpine3.23
22
# NOTE: Ensure you set NODE_VERSION Build Argument as follows...
33
#
44
# export NODE_VERSION="$(cat .nvmrc)-alpine" \

audit-ci.jsonc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
// Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
55
"moderate": true,
66
"allowlist": [ // NOTE: Please add as much information as possible to any items added to the allowList
7-
"GHSA-282f-qqgm-c34q", // https://github.com/advisories/GHSA-282f-qqgm-c34q
8-
"GHSA-3xgq-45jj-v275", // https://github.com/advisories/GHSA-3xgq-45jj-v275
9-
"GHSA-6vfc-qv3f-vr6c", // https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
10-
"GHSA-7fh5-64p2-3v2j", // https://github.com/advisories/GHSA-7fh5-64p2-3v2j
11-
"GHSA-c2qf-rxjj-qqgw", // https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
12-
"GHSA-cgfm-xwp7-2cvr", // https://github.com/advisories/GHSA-cgfm-xwp7-2cvr
13-
"GHSA-ghr5-ch3p-vcr6", // https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
14-
"GHSA-mjxr-4v3x-q3m4", // https://github.com/advisories/GHSA-mjxr-4v3x-q3m4
15-
"GHSA-p9pc-299p-vxgp", // https://github.com/advisories/GHSA-p9pc-299p-vxgp
16-
"GHSA-phwq-j96m-2c2q", // https://github.com/advisories/GHSA-phwq-j96m-2c2q
17-
"GHSA-rjqq-98f6-6j3r", // https://github.com/advisories/GHSA-rjqq-98f6-6j3r
18-
"GHSA-rm97-x556-q36h", // https://github.com/advisories/GHSA-rm97-x556-q36h
19-
"GHSA-v88g-cgmw-v5xw", // https://github.com/advisories/GHSA-v88g-cgmw-v5xw
20-
"GHSA-968p-4wvh-cqc8" // https://github.com/advisories/GHSA-968p-4wvh-cqc8
7+
"GHSA-2g4f-4pwh-qvx6", // ajv ReDoS - no fix available in 8.x line, unfixable via override
8+
"GHSA-xxjr-mmjv-4gpg" // lodash-es prototype pollution - transitive via ts-auto-mock in @mojaloop/api-snippets
219
]
2210
}

0 commit comments

Comments
 (0)