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