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.
npx agentmods add rules/checkmarx/cx-agentic-ai/cx-devassist-kicsgit clone --depth 1 https://github.com/Checkmarx/cx-agentic-aiWrote 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.
[](https://agentmods.dev/rules/checkmarx/cx-agentic-ai/cx-devassist-kics)<a href="https://agentmods.dev/rules/checkmarx/cx-agentic-ai/cx-devassist-kics"><img src="https://agentmods.dev/badge/rules/checkmarx/cx-agentic-ai/cx-devassist-kics.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00875 |
| Opus 5 | $0.00000 | $0.00438 |
| Sonnet 5 | $0.00000 | $0.00175 |
| Haiku 4.5 | $0.00000 | $0.00088 |
Grade A, and why
cx-devassist-kics 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CX DevAssist KICS (IaC)
Use for Infrastructure-as-Code misconfiguration scan/fix (Dockerfile, Terraform, Kubernetes YAML, etc.). For source code SAST use cx-devassist-asca; for dependency manifests use cx-devassist-sca.
Routing
| Target | Use |
|---|---|
| IaC file (Dockerfile, .tf, .yaml, …) | This rule / cx-devassist-kics |
| Source code file (.py, .js, .java, …) | cx-devassist-asca |
| Manifest/lockfile (package.json, go.mod, …) | cx-devassist-sca |
| Whole repo / cloud scans | Checkmarx MCP scan tools |
If KICS findings are already in context (hook deny agent_message, CHECKMARX_HOOK_DENY block), skip scan — go straight to remediation. Never retry a blocked Write/StrReplace or paste blocked code in chat.
Scan
# Unix:
"$HOME/.checkmarx/bin/cx" scan iac-realtime -s "<file-path>"
# Windows:
"$LOCALAPPDATA/Checkmarx/cx/cx.exe" scan iac-realtime -s "<file-path>"
Report findings (title, severity, line, description). KICS findings are deterministic IaC rule matches — they are never false positives caused by missing cross-file context. Fix every finding; do not suppress or dismiss any as a false positive.
Remediation (MCP-only)
For each finding, call mcp__plugin-cx-devassist-Checkmarx__imageRemediation with:
{
"type": "iac",
"metadata": {
"title": "[Title from finding]",
"description": "[Description from finding]",
"remediationAdvice": "[how to harden this configuration]"
}
}
- MCP available → apply
remediation_stepsin order; change only code at/near the flagged line - MCP unavailable → STOP. No manual fixes. Run
/cx-cli-setupif auth fails; ask developer to Developer: Reload Window for MCP
After fixes, re-scan. Remediate only in-scope findings (your changes or the original target); leave pre-existing findings unfixed.
If a fix genuinely requires resources outside this file (e.g. a separate KMS key or a centrally-managed policy), add them as part of your change rather than skipping the finding.
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.
- 5d ago First seen · 79 lines · 0 tokens per session scan A 76acbcc28c66
cx-devassist-kics is a cursor rule published in the GitHub repository Checkmarx/cx-agentic-ai (0 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 875 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.
Other cursor rules, from other repositories
cursorrules
When the user asks about dockerfile generator, use dockerfile-generator-ai-mcp tools: generatedockerfile, optimizelayers, validatedockerfile, suggestbaseimage.
cursorrules
When the user asks about docker helper, use docker-helper-ai-mcp tools: generatedockerfile, parsecompose, optimizeimage, securityscandata.
cursorrules
When the user asks about ecommerce, use ecommerce-ai-mcp tools: writeproductdescription, optimizepricing, summarizereviews, forecastinventory, generateseometa.
cursorrules
When the user asks about invoice generator, use invoice-generator-ai-mcp tools: generateinvoice, calculatetotals, validateinvoice, listtemplates.
cursorrules
When the user asks about landlaw, use landlaw-ai-mcp tools: searchlandregistry, checkplanningpermission, explaincovenant, calculatesdlt, draftsectionnotice.
cursorrules
When the user asks about lead scoring, use lead-scoring-ai-mcp tools: scorelead, addlead, updateleadactivity, getleadscore, getallleads.