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): make the security access app optional (#591)

ianw-oai7a52dbc8cfb0
diff --git a/sdk/typescript/_bundled_plugin/.app.json b/sdk/typescript/_bundled_plugin/.app.json
index 2dae6a9cb..31d160e6a 100644
--- a/sdk/typescript/_bundled_plugin/.app.json
+++ b/sdk/typescript/_bundled_plugin/.app.json
@@ -3,7 +3,7 @@
"codex-security-access": {
"id": "connector_openai_codex_security_access",
"category": "Security",
- "required": true
+ "required": false
},
"linear": {
"id": "asdk_app_69a089a326dc8191b32a3f2553f5be2c",
diff --git a/sdk/typescript/tests-ts/plugin-apps.test.ts b/sdk/typescript/tests-ts/plugin-apps.test.ts
index 9eeaa2341..7a0eb9ad5 100644
--- a/sdk/typescript/tests-ts/plugin-apps.test.ts
+++ b/sdk/typescript/tests-ts/plugin-apps.test.ts
@@ -3,7 +3,7 @@ import { join } from "node:path";
import { expect, test } from "bun:test";
import { PLUGIN_ROOT } from "./plugin-root.js";
-test("registers security access as a required hosted app, not a local MCP server", async () => {
+test("registers security access as an optional hosted app, not a local MCP server", async () => {
const [appConfiguration, mcpConfiguration] = await Promise.all([
readFile(join(PLUGIN_ROOT, ".app.json"), "utf8"),
readFile(join(PLUGIN_ROOT, ".mcp.json"), "utf8"),
@@ -18,7 +18,7 @@ test("registers security access as a required hosted app, not a local MCP server
expect(apps["codex-security-access"]).toEqual({
id: "connector_openai_codex_security_access",
category: "Security",
- required: true,
+ required: false,
});
expect(mcpServers).not.toHaveProperty("codex-security-access");
});