Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

emc

Latest version: vgit:8bf675f4eb3d05aa932b18fa9fdacca8c8567ec8

Overview

Last scanned
19 Nov 2026
Agent skill Publisher: tigerlovefbro
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

emc was last scanned on 19 Nov 2026 at commit 8bf675f4. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 8bf675f4 (2 instances: 2 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
8bf675f4 1 rule fired

Rules fired in 8bf675f4: 1

Findings

2 Low

Findings for commit 8bf675f4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Skill mentions tunnel, paste or webhook services

The skill's text or scripts mention a tunneling service such as ngrok or trycloudflare, a Discord webhook, a raw paste link or a public IP address. Legitimate tools reference these too, so this is context for review rather than evidence of harm.

LOW
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 8bf675f4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

EMC Pre-Compliance Skill

Automated EMC risk analysis for KiCad PCB designs. Identifies the most common causes of EMC test failures using geometric rule checks, analytical emission formulas, and optional SPICE simulation.

This is a risk analyzer, not a compliance predictor. It catches ~70% of common EMC design mistakes before fabrication. It cannot guarantee FCC/CISPR compliance — only a calibrated measurement in an accredited lab can do that. But it can reduce the first-spin failure rate from ~50% toward ~20-30%, potentially saving $5K-$50K per avoided board respin.

Related Skills

Skill Purpose
kicad Schematic/PCB analysis — produces the analyzer JSON this skill consumes
kicad (thermal) Thermal hotspot analysis — MLCC derating and ferrite/inductor overheating findings can amplify EMC decoupling and filter issues (an over-stressed MLCC degrades; a hot ferrite drifts impedance). Worth cross-checking when EMC flags DC-001/DC-002 or EF-001/EF-002.
spice SPICE simulation — provides simulator backend for SPICE-enhanced PDN checks

Handoff guidance: Run the kicad skill's analyze_schematic.py and analyze_pcb.py --schematic first — this skill consumes their JSON output. Use --full on the PCB analyzer for best results (enables per-track coordinates for ground plane crossing, edge proximity, and return path checks). During a design review, run EMC analysis after the schematic/PCB analyzers, SPICE simulation, and thermal analysis, then incorporate EMC findings into the report.

Requirements

  • Python 3.10+ — stdlib only, no pip dependencies
  • Schematic analyzer JSON — from analyze_schematic.py --output
  • PCB analyzer JSON — from analyze_pcb.py --full --schematic <sch> --output (recommended with --full)
  • SPICE simulator (optional) — ngspice, LTspice, or Xyce for SPICE-enhanced PDN checks. Auto-detected. Without one, analytical models run unchanged.

Workflow

Step 1: Run the analyzers
python3 <kicad-skill-path>/scripts/analyze_schematic.py design.kicad_sch --analysis-dir analysis/
python3 <kicad-skill-path>/scripts/analyze_pcb.py design.kicad_pcb --full --schematic analysis/<run_id>/schematic.json --analysis-dir analysis/
Step 2: Run EMC analysis

Pass --analysis-dir analysis/ — the script auto-resolves schematic.json and pcb.json from the manifest's current run, and writes emc.json into the same folder so the manifest tracks it.

# Recommended: auto-resolve inputs from the current run
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/

# Equivalent — explicit paths still accepted (and required if you want to
# point at a non-current run or override one input)
python3 <skill-path>/scripts/analyze_emc.py \
    --schematic analysis/<run_id>/schematic.json \
    --pcb analysis/<run_id>/pcb.json \
    --analysis-dir analysis/

# One-off JSON (bypasses the cache)
python3 <skill-path>/scripts/analyze_emc.py --schematic schematic.json --pcb pcb.json --output emc.json

# SPICE-enhanced (improved PDN accuracy)
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/ --spice-enhanced

# Select target standard
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/ --standard cispr-class-b

# Select target market (sets all applicable standards)
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/ --market eu

# Filter by severity (high = error findings only)
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/ --severity high

# Human-readable text output
python3 <skill-path>/scripts/analyze_emc.py --analysis-dir analysis/ --text
Optional: Screen supplied harmonic lines against supplied limits

For spectral lines that are already expressed as RMS dBµV, dBµV/m, or dBµA, use the standalone screen. Levels must be RMS: subtract 3.01 dB from peak-amplitude spectra first. This skill's harmonic_spectrum() gives switch-node source amplitudes, not emission levels, so it is not a valid input without a coupling/path model.

Limit values must come from the user. Build a limit profile only from limit values the user provides, together with their source (for example a standard's edition and table or clause, where applicable), and record that source in source.citation. Never write limit tables from memory or fill in missing bands, detectors, or units; if the user has not supplied limits, ask for them instead of running the screen.

python3 <skill-path>/scripts/analyze_harmonic_limits.py \
  --spectrum harmonic-lines.json \
  --limits limit-profile.json \
  --limit-column peak \
  --output harmonic-limit-screen.json

This command is separate from analyze_emc.py. It does not calculate a spectrum, add an EMC finding, change the risk score, write emc.json, or determine compliance. See Harmonic-Limit Screening for the input schemas and interpretation boundary.

Step 3: Interpret results

Read the JSON report and incorporate findings into the design review. Each finding has a severity, rule ID, description, and actionable recommendation. See "Interpreting Results" below.

What Gets Checked

44 rule IDs across 18 categories. Each rule has a specific threshold, rationale, and source citation — see references/pcb-emc-rules.md for full details.

Category Rules What it detects
Ground plane GP-001 to GP-005 Signal crossing voids or plane splits, zone fragmentation, missing ground planes, low fill ratio, multiple ground domains
Decoupling DC-001 to DC-003 Cap too far from IC, IC with no decoupling cap, cap too far from via
I/O filtering IO-001, IO-002 Connector without filtering, insufficient ground pins
Switching EMC SW-001 to SW-003 Harmonic overlap, switching node copper area, input cap loop area
Clock routing CK-001 to CK-004 Clock on outer layer, long trace, clock near connector, no ground pour near a crystal
Via stitching VS-001 Ground via spacing exceeds λ/20 at highest frequency
Stackup SU-001 to SU-003 Adjacent signal layers, signal far from reference plane, thin interplane capacitance
Diff pair DP-001 to DP-004 Intra-pair skew vs protocol limits, CM radiation, reference plane change, outer layer routing
Board edge BE-001 to BE-003 Signal near edge, incomplete ground pour ring, connector area stitching
PDN impedance PD-001 to PD-004 Anti-resonance peaks, distributed rail impedance at IC load points, cross-rail coupling from downstream switching regulators
Return path RP-001 Layer transition via without nearby ground stitching via
Crosstalk XT-001 3H spacing violation, aggressor-victim pairs
EMI filter EF-001, EF-002 Filter cutoff too close to switching frequency (analytical)
ESD path ES-001, ES-002 TVS too far from connector, insufficient ground vias near TVS
Thermal-EMC TH-001, TH-002 MLCC DC bias derating (SRF shift), ferrite near heat source
Shielding SH-001 Connector aperture slot resonance near emission source
Emission estimates EE-001, EE-002 Board cavity resonance, switching harmonic envelope
Inductor leakage ML-001 Unshielded or unknown-shielding switching inductor within 15 mm of an ADC, op-amp, crystal or RF part

Advisory outputs (not findings):

  • Pre-compliance test plan — frequency band prioritization, interface risk ranking, near-field probe points
  • Regulatory coverage — market-to-standards mapping, coverage matrix (what the tool checks vs what requires lab testing)

Output Format

{
  "summary": {
    "total_findings": 27, "categories_checked": 12,
    "active": 27, "suppressed": 0,
    "by_severity": {"error": 2, "warning": 10, "info": 15},
    "emc_risk_score": 73
  },
  "target_standard": "fcc-class-b",
  "findings": [
    {
      "category": "ground_plane",
      "severity": "error",
      "rule_id": "GP-001",
      "summary": "Signal crosses ground plane void",
      "description": "Net SPI_CLK crosses a 3.2mm gap in GND on In1.Cu",
      "components": ["U3", "U7"],
      "nets": ["SPI_CLK"],
      "recommendation": "Route around the gap, or fill the void"
    }
  ],
  "per_net_scores": [
    {"net": "SPI_CLK", "score": 79, "finding_count": 3, "rules": ["GP-001", "CK-001", "BE-001"]}
  ],
  "test_plan": {
    "frequency_bands": [{"band": "30-88 MHz", "risk_level": "high", "source_count": 12}],
    "interface_risks": [{"connector": "J1", "protocol": "USB", "risk_score": 8}],
    "probe_points": [{"ref": "L1", "x": 45.2, "y": 32.1, "reason": "switching inductor"}]
  },
  "regulatory_coverage": {
    "market": "us",
    "applicable_standards": ["FCC Part 15 Class B"],
    "coverage_matrix": [{"standard": "...", "coverage": "partial", "note": "..."}]
  }
}
Severity Levels
Severity Meaning Action
error Likely to cause an EMC failure Fix before fabrication
warning May cause issues depending on specifics Review and assess
info Informational — frequencies, estimates, good practice Useful for lab prep

--severity takes error, warning or info, or the older five-level names: critical and high keep error findings, medium keeps error and warning, low and all keep everything.

Risk Score

Each rule ID contributes at most 3 findings to the score (worst severity first). This prevents per-net rules like GP-001 from saturating the score on 2-layer boards. All findings are still reported — only the score is capped.

penalty = sum(severity weight × confidence weight, worst 3 per rule), score = max(0, min(100, 100 - penalty)); weights error 12, warning 3, info 0; heuristic findings count half. 0 is worst and 100 best, and the score can be fractional. It covers every unsuppressed finding; --severity only filters the emitted list. Scores below 50 indicate significant EMC risk.

Interpreting Results

Ground plane findings — Any error finding (signal crossing a void) is almost always a real problem. Fix unconditionally.

Decoupling findings — Distance-based findings have moderate false positive rates. A cap at 6mm may be fine for a low-speed IC but problematic for a 100MHz clock buffer. Use frequency context to prioritize.

I/O filtering — Highly relevant for cable-connected products. For board-to-board connections inside an enclosure, the risk is lower.

Diff pair findings — Protocol-specific skew limits are well-defined. USB HS (25ps, when the part is known to be high-speed; other USB pairs get the full-speed budget), PCIe (5ps), Ethernet (50ps). Findings exceeding these limits are real issues.

PDN findings — Anti-resonance peaks are real and cause voltage droop. SPICE-verified findings are more accurate than analytical. If a peak is flagged, add a capacitor with SRF near the peak frequency.

Emission estimates — Order-of-magnitude estimates (±10-20 dB). Use them to prioritize frequency bands for pre-compliance testing, not to predict pass/fail.

EMC Standards

Standard Flag Use Case
FCC Part 15 Class B fcc-class-b US residential (default)
FCC Part 15 Class A fcc-class-a US commercial/industrial
CISPR 32 Class B cispr-class-b International (EU CE marking)
CISPR 32 Class A cispr-class-a International commercial
CISPR 25 Class 5 cispr-25 Automotive (strictest)
MIL-STD-461G RE102 mil-std-461 Military/defense

The --market flag maps markets to all applicable standards: us, eu, automotive, medical, military.

Limitations

  • Cannot predict absolute emission levels better than ±10-20 dB
  • Cannot account for enclosure effects (shielding, apertures, seams)
  • Cannot predict cable radiation without knowing external cable routing
  • Cannot replace full-wave simulation for complex geometries
  • Cannot guarantee compliance — only accredited lab measurement can

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub tigerlovefbro/codex-plugins/emc

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229