Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

fix(plugin): pin the MCP formatter (#990)

mldangelo-oaia0ef227a2087
diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml
index 84e2becbd..4037fc2f0 100644
--- a/.github/workflows/node-ci.yml
+++ b/.github/workflows/node-ci.yml
@@ -207,7 +207,7 @@ jobs:
esac
done < "$changed_files"
if ((${#files[@]} > 0)); then
- pnpm --dir sdk/typescript exec prettier --check "${files[@]}"
+ pnpm --dir plugins/codex-security/mcp-app exec prettier --check "${files[@]}"
fi
native:
diff --git a/plugins/codex-security/mcp-app/package.json b/plugins/codex-security/mcp-app/package.json
index 63424d273..6e8548bcb 100644
--- a/plugins/codex-security/mcp-app/package.json
+++ b/plugins/codex-security/mcp-app/package.json
@@ -18,6 +18,7 @@
"devDependencies": {
"@types/node": "^26.5.1",
"esbuild": "^0.28.2",
+ "prettier": "3.9.6",
"typescript": "^7.0.2"
}
}
diff --git a/plugins/codex-security/mcp-app/pnpm-lock.yaml b/plugins/codex-security/mcp-app/pnpm-lock.yaml
index 0cfb445d9..dbb0b3bd7 100644
--- a/plugins/codex-security/mcp-app/pnpm-lock.yaml
+++ b/plugins/codex-security/mcp-app/pnpm-lock.yaml
@@ -27,6 +27,9 @@ importers:
esbuild:
specifier: ^0.28.2
version: 0.28.2
+ prettier:
+ specifier: 3.9.6
+ version: 3.9.6
typescript:
specifier: ^7.0.2
version: 7.0.2
@@ -634,6 +637,11 @@ packages:
resolution: {integrity: sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==}
engines: {node: '>=16.20.0'}
+ resolution: {integrity: sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==}
+ engines: {node: '>=14'}
+ hasBin: true
+
resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
engines: {node: '>= 0.10'}
@@ -1227,6 +1235,8 @@ snapshots:
+
dependencies:
forwarded: 0.2.0