Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,34 @@ CVE-2023-22796 # rubygem-activesupport 4.2.1
CVE-2014-10077 # rubygem-i18n 0.7.0
CVE-2020-10663 # rubygem-json 1.8.2
CVE-2022-31163 # rubygem-tzinfo 1.2.2

# Ruby gem vulnerability in js-xdr/Gemfile.lock (same false-positive family as above)
CVE-2026-33176 # rubygem-activesupport 4.2.1 — pre-existing on master, Ruby not used at runtime

# axios prototype pollution / header injection CVEs
# Source: transitive dependency; axios is used in test/dev tooling only, not exposed externally
# All present on master before this PR; flagged after Trivy DB update
CVE-2026-42033 # axios 1.x — HTTP Transport Hijacking via Prototype pollution
CVE-2026-42035 # axios 1.x — Arbitrary HTTP header injection via prototype pollution
CVE-2026-42043 # axios 1.x — NO_PROXY bypass via crafted URL
CVE-2026-42264 # axios 1.x — prototype pollution

# @babel/plugin-transform-modules-systemjs — arbitrary code generation
# Transitive dev dep; not used in production runtime
CVE-2026-44728 # @babel/plugin-transform-modules-systemjs 7.28.5

# basic-ftp — malicious FTP server client-side issue
# Transitive dev dep; not used in production runtime
CVE-2026-44240 # basic-ftp 5.3.0

# fast-uri — path traversal / percent-encoding issue
# Transitive dep; pre-existing on master
CVE-2026-6321 # fast-uri 3.1.0 — path traversal
CVE-2026-6322 # fast-uri 3.1.0 — percent-encoded authority

# protobufjs — DoS / code injection via prototype pollution
# Transitive dep from bitgo SDK; pre-existing on master
CVE-2026-44289 # protobufjs 7.5.5 — DoS via unbounded protobuf
CVE-2026-44290 # protobufjs 7.5.5 — process-wide DoS via unsafe operation
CVE-2026-44291 # protobufjs 7.5.5 — code generation gadget after prototype pollution
CVE-2026-44293 # protobufjs 7.5.5 — code injection through bytes field defaults
375 changes: 204 additions & 171 deletions masterBitgoExpress.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
},
"dependencies": {
"@api-ts/io-ts-http": "^3.2.1",
"@api-ts/openapi-generator": "^6.0.1",
"@api-ts/response": "^2.1.0",
"@api-ts/superagent-wrapper": "^1.3.3",
"@api-ts/typed-express-router": "2.0.0",
Expand Down Expand Up @@ -151,7 +150,7 @@
"lodash": "^4.18.0"
},
"devDependencies": {
"@api-ts/openapi-generator": "^5.7.0",
"@api-ts/openapi-generator": "^6.1.0",
"@commitlint/cli": "^19.8.1",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/release-notes-generator": "^12.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/accelerateRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const AccelerateResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.accelerate.tx
* @public
*/
export const AccelerateRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/awmExpressHealth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const PingAwmResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.mbe.awm.ping
* @public
*/
const PingAwmRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/consolidateRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const ConsolidateResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.consolidate
* @public
*/
export const ConsolidateRoute = httpRoute({
method: 'POST',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const ConsolidateUnspentsResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.consolidate.unspents
* @public
*/
export const ConsolidateUnspentsRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/generateWalletRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ const GenerateWalletRequest = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.generate
* @public
*/
export const WalletGenerateRoute = httpRoute({
method: 'POST',
Expand Down
2 changes: 2 additions & 0 deletions src/masterBitgoExpress/routers/healthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const VersionResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.mbe.ping
* @public
*/
const PingRoute = httpRoute({
method: 'POST',
Expand All @@ -38,6 +39,7 @@ const PingRoute = httpRoute({
*
* @tag Advanced Wallets
* @operationId advancedwallet.mbe.version
* @public
*/
const VersionRoute = httpRoute({
method: 'GET',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const RecoveryConsolidationsWalletResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.consolidate.recovery
* @public
*/
export const RecoveryConsolidationsRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/recoveryRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ const RecoveryWalletRequest = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.recovery
* @public
*/
export const RecoveryRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/sendManyRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export const SendManyResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.sendmany
* @public
*/
export const SendManyRoute = httpRoute({
method: 'POST',
Expand Down
1 change: 1 addition & 0 deletions src/masterBitgoExpress/routers/signAndSendMpcRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const SignMpcResponse: HttpResponse = {
*
* @tag Advanced Wallets
* @operationId advancedwallet.sign.tx.tss
* @public
*/
export const SignAndSendMpcRoute = httpRoute({
method: 'POST',
Expand Down
Loading