Skip to content

fix(ci): adopt canonical hypatia-scan.yml - #1

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/hypatia-scan-canonical
May 16, 2026
Merged

fix(ci): adopt canonical hypatia-scan.yml#1
hyperpolymath merged 1 commit into
mainfrom
fix/hypatia-scan-canonical

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Estate sweep (verisimiser#102 cascade): replace drifted hypatia-scan.yml with the fixed canonical — corrects the env.HOME workdir / old scanner layout drift AND adds pull-requests:write + Comment-step continue-on-error so the advisory PR comment never hard-fails the Hypatia check (hypatia#213). Mechanical, verified green on verisimiser main.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

@hyperpolymath
hyperpolymath merged commit 5426608 into main May 16, 2026
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 24 issues detected

Severity Count
🔴 Critical 7
🟠 High 6
🟡 Medium 11

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/error-lang/error-lang",
    "action": "flag",
    "rule_module": "honest_completion",
    "severity": "high",
    "deduction": 20
  },
  {
    "reason": "Issue in secret-scanner.yml",
    "type": "missing_workflow",
    "file": "secret-scanner.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action denoland/setup-deno@v1 needs attention",
    "type": "unpinned_action",
    "file": "quality.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Required file missing (condition: has_dependencies)",
    "type": "missing_requirement",
    "file": ".github/dependabot.yml",
    "action": "create",
    "rule_module": "cicd_rules",
    "severity": "high"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/error-lang/error-lang/cli/lsp-server.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "Possible hardcoded credential -- use environment variable (6 occurrences, CWE-798)",
    "type": "js_hardcoded_secret",
    "file": "/home/runner/work/error-lang/error-lang/ide/src/MonacoInterop.js",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "getExn on external data -- use pattern matching (8 occurrences, CWE-754)",
    "type": "getexn_on_external",
    "file": "/home/runner/work/error-lang/error-lang/compiler/src/VM.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "getExn on external data -- use pattern matching (1 occurrences, CWE-754)",
    "type": "getexn_on_external",
    "file": "/home/runner/work/error-lang/error-lang/compiler/src/FiveWhys.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "unwrap() without prior check -- DoS via panic (1 occurrences, CWE-754)",
    "type": "unwrap_without_check",
    "file": "/home/runner/work/error-lang/error-lang/compiler/error-wasm/src/lib.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "line": 93,
    "reason": "Secret found: Generic secret",
    "type": "secret_detected",
    "file": "/home/runner/work/error-lang/error-lang/docs/Design-Philosophy.adoc",
    "action": "revoke_rotate_and_purge",
    "rule_module": "security_errors",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath deleted the fix/hypatia-scan-canonical branch May 16, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant