cx-devassist-sca

cx-devassist-sca is a cursor rule for coding agents from Checkmarx/cx-agentic-ai. It costs 0 tokens per session (784 once invoked), scanned A, original, Apache-2.0.

A rule for checking open-source dependencies in manifest and lockfiles with Checkmarx SCA. SCA means Software Composition Analysis: reviewing third-party packages for known vulnerabilities or malicious code.

In plain words
What is it for?
Scanning files such as package.json, requirements.txt, go.mod, and pom.xml, then upgrading or removing affected packages through the approved remediation tool.
Why use it?
It separates dependency checks from source-code security checks and sets a defined process for reporting, fixing, or accepting findings.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/checkmarx/cx-agentic-ai/cx-devassist-sca
Clone the repo
git clone --depth 1 https://github.com/Checkmarx/cx-agentic-ai

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cx-devassist-sca

README.md
[![agentmods](https://agentmods.dev/badge/rules/checkmarx/cx-agentic-ai/cx-devassist-sca.svg)](https://agentmods.dev/rules/checkmarx/cx-agentic-ai/cx-devassist-sca)
Your own site
<a href="https://agentmods.dev/rules/checkmarx/cx-agentic-ai/cx-devassist-sca"><img src="https://agentmods.dev/badge/rules/checkmarx/cx-agentic-ai/cx-devassist-sca.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00784
Opus 5 $0.00000 $0.00392
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 4d ago against content hash 4a9aff10d0d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cx-devassist-sca scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cursor-devassist/rules/cx-devassist-sca.mdc · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CX DevAssist SCA (OSS)

Use for dependency manifest/lockfile scan/fix. For source code SAST, use cx-devassist-asca instead.

Routing

Target Use
Source file cx-devassist-asca
Manifest/lockfile This rule / /cx-devassist-sca
Whole repo / cloud scans Checkmarx MCP scan tools

If SCA findings are already in context, skip scan — go straight to remediation.

Scan

# Unix:
"$HOME/.checkmarx/bin/cx" scan oss-realtime -s "<manifest-path>"
# Windows:
"$LOCALAPPDATA/Checkmarx/cx/cx.exe" scan oss-realtime -s "<manifest-path>"

Interpret Status: OK clean, Unknown unverified (not safe), Malicious remove, other → vulnerable.

Report findings and ask the user whether to remediate (upgrade/remove) or suppress (accept the risk) before proceeding.

Remediation (MCP-only)

For each finding, call mcp__plugin-cx-devassist-Checkmarx__packageRemediation — follow the tool's input schema (package manager, name, version, CVEs).

  • MCP available → apply remediation_steps; change only affected dependency entries
  • MCP unavailableSTOP. No manual version bumps. Run /cx-cli-setup if auth fails; ask developer to Developer: Reload Window for MCP
  • No fixed version in the response → check the response for a suggested alternative package and apply that instead; never web-search or self-research a fix or alternative. If the response offers neither, suppress the finding and tell the user — see skills/cx-devassist-sca/SKILL.md Step 3.

After fixes, re-scan. Remediate only packages you changed; leave pre-existing findings unfixed.

Skill compliance (mandatory)

Invoke and follow skills/cx-devassist-sca/SKILL.md exactly as written — as-is, with no paraphrasing, summarizing, or reimplementing its steps inline in this rule or in chat. Do not skip, abbreviate, substitute your own judgment for, or reorder any step.

The Step 5 SCA Remediation Summary is mandatory output — always produce and show it to the user verbatim, in full, after remediation completes, even for a single finding. Never omit it, shorten it, or fold it into other output:

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 64 lines · 0 tokens per session scan A 4a9aff10d0d4

Subscribe to this mod's changes

cx-devassist-sca is a cursor rule published in the GitHub repository Checkmarx/cx-agentic-ai (0 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 784 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.