cross-pollinate

cross-pollinate is a command for Claude Code from ByamB4/find-cve-agent. It costs 33 tokens per session (1,039 once invoked), scanned C, original, Apache-2.0.

A command for searching similar software packages for a vulnerability pattern already confirmed in one package. A vulnerability is a security weakness that an attacker may exploit.

In plain words
What is it for?
Use it after confirming a finding to extract the bug pattern, identify similar packages, search their code, and document possible matches.
Why use it?
Finding the same coding mistake across related packages can reveal additional security issues without starting the investigation from scratch.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the find-cve-agent plugin — 21 skills, 7 commands, 5 agents shipped together

Good fit Use it after confirming a finding to extract the bug pattern, identify similar packages, search their code, and document possible matches.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/byamb4/find-cve-agent/cross-pollinate
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.

Clone the repo
git clone --depth 1 https://github.com/ByamB4/find-cve-agent

Made for: Claude Code.

Or install find-cve-agent, the plugin that ships this one along with the rest of its 21 skills, 7 commands, 5 agents.

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 cross-pollinate

README.md
[![agentmods](https://agentmods.dev/badge/commands/byamb4/find-cve-agent/cross-pollinate/github.svg)](https://agentmods.dev/commands/byamb4/find-cve-agent/cross-pollinate)
Your own site
<a href="https://agentmods.dev/commands/byamb4/find-cve-agent/cross-pollinate"><img src="https://agentmods.dev/badge/commands/byamb4/find-cve-agent/cross-pollinate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cross-pollinate

Your own site · 80×15
<a href="https://agentmods.dev/commands/byamb4/find-cve-agent/cross-pollinate"><img src="https://agentmods.dev/badge/commands/byamb4/find-cve-agent/cross-pollinate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.01039
Opus 5 $0.00016 $0.00519
Sonnet 5 $0.00007 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured 9d ago against content hash 7c855d9e0eda, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

cross-pollinate scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/cross-pollinate-check
commands/cross-pollinate.md · 124 lines

How it starts

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

/cross-pollinate

Take a confirmed vulnerability pattern from the current finding and systematically search for the same pattern in similar packages.

Why Cross-Pollinate?

When you find a vulnerability in one package, similar packages often have the same bug. A ReDoS in one CSV parser likely exists in other CSV parsers. A path traversal in one archive library likely exists in other archive libraries.

This is the highest-ROI research strategy: one bug class, many CVEs.

Process

Step 1: Extract the Pattern

From the current confirmed finding, identify:

PATTERN EXTRACTION

Vulnerability class: <e.g., ReDoS, path traversal, prototype pollution>
Root cause pattern: <e.g., "regex with nested quantifiers on user input">
Code signature: <e.g., "new RegExp(userInput)" or "path.join(base, userInput)">
Grep pattern: <regex that would find this pattern in other codebases>
Package category: <e.g., CSV parsers, archive extractors, template engines>

Step 2: Find Similar Packages

Search for packages in the same category:

# npm search for similar packages
npm search "<category keyword>" --long | head -30

# GitHub search
gh search repos "<category>" --language javascript --stars 500..15000 --sort stars --limit 20

# Check which alternatives exist
# (often listed in the package's README as "alternatives" or "see also")

Step 3: Filter Candidates

For each similar package:

  1. Check REGISTRY.md -- skip if already investigated
  2. Check download count -- skip if <100K/week
  3. Check if it handles the same input type
  4. Quick grep for the vulnerable pattern:
# Clone minimally and search
git clone --depth 1 <repo-url> /tmp/cross-pollinate-check
grep -rn "<pattern>" /tmp/cross-pollinate-check/src/ /tmp/cross-pollinate-check/lib/
rm -rf /tmp/cross-pollinate-check

Step 4: Rank by Likelihood

Score each candidate:

Factor Score
Same language as original finding +2
Same input format (CSV, XML, etc.) +3
Grep pattern found in source +5
No existing CVEs for this vuln class +3
>500K weekly downloads +2
Active maintenance +1

Read the full file on GitHub · 124 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. 9d ago First seen · 124 lines · 33 tokens per session scan C 7c855d9e0eda

Subscribe to this mod's changes

cross-pollinate is a command published in the GitHub repository ByamB4/find-cve-agent (48 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,039 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.