Skip to content

Commit 58bd771

Browse files
committed
Harden public validation
1 parent 987f43d commit 58bd771

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626

2727
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4
28+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
2929
with:
3030
languages: javascript-typescript
3131

@@ -40,4 +40,4 @@ jobs:
4040
bun install --frozen-lockfile --ignore-scripts
4141
4242
- name: Analyze
43-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4
43+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1

bridge/bun.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridge/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"fast-uri": "^3.1.2",
2323
"hono": "^4.12.18",
2424
"ip-address": "^10.2.0",
25-
"path-to-regexp": "^8.4.2"
25+
"path-to-regexp": "^8.4.2",
26+
"qs": "^6.15.2"
2627
}
2728
}

tools/validate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ if [[ "$with_bridge" == "1" && -f "bridge/package.json" ]]; then
130130
echo "Typechecking MCP bridge"
131131
(
132132
cd bridge
133-
bun install --frozen-lockfile
133+
bun install --frozen-lockfile --ignore-scripts
134+
bun audit --audit-level=moderate
134135
bun run typecheck
135136
)
136137
fi

0 commit comments

Comments
 (0)