← Files SemgrepARCHIVED FILE
.codex-plugin/plugin.json
8.51 KB · Nov 30, 2026 · 07:33 UTC
{
"name": "semgrep",
"version": "0.1.4",
"author": {
"name": "Semgrep"
},
"description": "Triage and fix security issues, inspect dependencies and rules, and run scans and Agentic Workflows through Semgrep AppSec Platform.",
"homepage": "https://semgrep.dev",
"keywords": [
"semgrep",
"security",
"appsec",
"sast",
"sca",
"secrets",
"supply chain",
"supply-chain",
"vulnerability management",
"autofix",
"patch",
"remediation",
"remediate",
"application security",
"devsecops",
"mcp",
"agentic-workflows",
"guardian",
"dependency scanning",
"static analysis",
"secret detection",
"secrets detection",
"malicious package detection",
"security advisories",
"security advisory",
"zero day",
"zero-day",
"triage",
"prevent",
"prevention",
"scanner",
"code security"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "Semgrep",
"shortDescription": "Find, triage, and fix issues",
"longDescription": "Give your agent access to Semgrep's agentic code security suite. Search and triage Code, Supply Chain, and Secrets issues, review dependencies and advisories, generate fixes, test and manage rules and policies, debug failed scans, and run scans and Agentic Workflows on repositories already connected to Semgrep. Uses your existing Semgrep role and permissions. A Semgrep organization with MCP access is required. AI detection scans and Agentic Workflow runs consume Semgrep credits.",
"category": "Security",
"developerName": "Semgrep",
"capabilities": [
"Detection",
"Deep vulnerability hunting",
"Supply chain analysis",
"Supply chain incident response",
"Code security",
"Remediation",
"Triage",
"Patching",
"Autotriage",
"Autofix",
"Investigation",
"Application security",
"Agentic Workflows",
"Agentic remediation",
"Agentic AppSec"
],
"websiteURL": "https://semgrep.dev",
"supportURL": "https://docs.semgrep.dev/support",
"privacyPolicyURL": "https://semgrep.dev/legal/privacy/",
"termsOfServiceURL": "https://semgrep.dev/legal/terms/",
"logo": "./assets/icon.png",
"composerIcon": "./assets/icon.png",
"logoDark": "./assets/icon-dark.png",
"composerIconDark": "./assets/icon-dark.png",
"defaultPrompt": [
"Summarize my organization's riskiest open security issues.",
"Find one fix that clears the most findings.",
"Show recent Semgrep workflow runs and their results."
]
},
"extensions": {
"com.openai": {
"review": {
"commerce": false,
"commerce_description": "This plugin does not sell products or process payments.",
"prompts": [
"Which Semgrep organization am I connected to?",
"Show open high-severity Code issues in mcp-review/demo.",
"Create the agreed demo custom rule in my review organization."
],
"test_cases": {
"positive": [
{
"description": "Use a dedicated reviewer account with MCP access. Verify the organization selected during sign-in; no organization changes or writes are allowed.",
"prompt": "Which Semgrep organization am I connected to?",
"tools_triggered": "semgrep_account",
"expected_behavior": "Return the authorized organization's id and displayName from orgs. If userId is present, describe it as the authenticated user, not an organization. Do not invent other memberships."
},
{
"description": "Seed the review organization with project mcp-review/demo and open SAST and AI SAST issues at high and lower severities. Resolve the project's numeric ID before querying and follow any result pagination.",
"prompt": "Show open high-severity Code issues in mcp-review/demo, including issues found by AI detection.",
"tools_triggered": "semgrep_account, ProjectsService_ListProjects, IssuesService_ListIssues; discover if contracts are not already known",
"expected_behavior": "Use the authorized deploymentId and resolved project ID. Set top-level issueTypes to ISSUE_TYPE_SAST and ISSUE_TYPE_AI_SAST, and apply the inspected contract's open-status, high-severity, and project filters. Return only matching issues supported by tool results. Do not claim completeness until pagination is exhausted."
},
{
"description": "Seed a completed Agentic Workflow run and at least one linked workflow issue for mcp-review/demo. This tests the separate workflow issue source.",
"prompt": "Show the issues produced by the most recent completed Agentic Workflow run on mcp-review/demo.",
"tools_triggered": "semgrep_account, ProjectsService_ListProjects, SemgrepWorkflowsService_ListWorkflowJobs, PublicIssuesService_ListIssues; discover if contracts are not already known",
"expected_behavior": "Resolve the project and latest completed workflow run from returned data, then query PublicIssuesService_ListIssues with filters.workflowJobIds scoped to that run. Preserve the source and issue IDs. Explain a returned empty result accurately; do not substitute IssuesService_ListIssues or invent findings."
},
{
"description": "Use a dedicated test organization with permission to create custom rules. Confirm no existing custom rule has id openai-mcp-review-eval. The rule is a single Python rule with severity WARNING, message Avoid eval, and pattern eval(...). Run only in this test organization; remove the created rule after recording the case.",
"prompt": "In this review organization, create a Python custom rule named openai-mcp-review-eval that warns on eval(...) with the message 'Avoid eval'. Validate it against eval(user_input) first. Do not enable it in any policy.",
"tools_triggered": "semgrep_account, CustomRulesService_ListRules, EditorService_RunPattern, CustomRulesService_CreateRule; discover to inspect required inputs",
"expected_behavior": "Check for an existing matching rule and validate a YAML rules list containing exactly the requested rule against the supplied example before creating it. Use the authorized deploymentId. Return the actual created rule id and path. Do not enable it, change policies, or claim creation after a failed validation or API error."
},
{
"description": "Seed mcp-review/demo with Supply Chain dependency data and give the reviewer permission to read it. Query the project using the dependency tool's own inspected contract and follow pagination.",
"prompt": "List the third-party dependencies Semgrep knows about in mcp-review/demo.",
"tools_triggered": "semgrep_account, ProjectsService_ListProjects, SupplyChain2Service_ListDependencies; discover if contracts are not already known",
"expected_behavior": "Resolve the project and apply its filter using the dependency request schema. Report dependency names and versions from returned data, preserve any unresolved-version information, and do not claim to have read a local lockfile or scanned new code."
}
],
"negative": [
{
"description": "Changing a payment card is outside this MCP's supported operations. Explain that limitation and direct the user to their billing administrator; do not invoke a Semgrep mutation or claim the card was changed.",
"prompt": "Replace our company's payment card with a new corporate card."
},
{
"description": "Provisioning AWS infrastructure is outside the Semgrep MCP. Do not call Semgrep tools as a substitute or claim to have created infrastructure.",
"prompt": "Create an AWS security group that blocks inbound SSH for our production servers."
},
{
"description": "Deploying application changes is outside this MCP. Explain the limit without invoking scans, rule changes, or workflow triggers as a substitute for deployment.",
"prompt": "Deploy the latest version of our web application to production now."
}
]
}
},
"publication": {
"countries": [],
"release_notes": "Initial package connecting the hosted Semgrep MCP with account-scoped access to security issues, dependencies, rules, and supported scans and workflows."
}
}
},
"apps": "./.app.json"
}
SHA-256: a2ae6e315e54c9e3d4149a5610ea6d7815923196d34001f348aba6571239c5e1