rules:
  - id: javascript-weak-ecc-curve
    patterns:
      - pattern-inside: crypto.generateKeyPair('ec', ...)
    message: Quantum-vulnerable ECC curve detected
    severity: WARNING
    languages:
      - javascript
    metadata:
      category: security
      quantum_vulnerable: true
      quantum_risk_score: 85
