Skip to content

Commit feb076f

Browse files
ci: add Semgrep SAST scanning on pull requests (#95)
Made-with: Cursor
1 parent cf0a907 commit feb076f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Semgrep
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
scan:
13+
uses: kernel/security-workflows/.github/workflows/semgrep.yml@main
14+
with:
15+
extra-configs: '--config p/javascript --config p/typescript'
16+
codebase-description: 'Hosted MCP server handling authenticated tool execution and browser session data'
17+
secrets: inherit

.semgrepignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules/
2+
dist/
3+
.next/
4+
out/
5+
bun.lock
6+
package-lock.json
7+
**/*.test.ts
8+
**/*.spec.ts

0 commit comments

Comments
 (0)