Skip to content

high_risk_execution contract corollary menu: one-owner calls deferred to the safety_bypasses contract, measured residue, and unplanted forms (#2878) #2879

Closed

Description

@squid-protocol

The high_risk_execution contract (#2878, docs/high_risk_execution_rule_contract.md) audited 46 rules and left the shapes below in place because no corpus cell moves on them and the crucible gave no evidence either way. Filed so the doc can link them; none blocks #2812's Phase 3.

One-owner calls that belong to another signal's contract

Residue measured, left in place

  • haskell counts exitSuccess on its own import line (import System.Exit (exitSuccess), 1 crucible hit) — a reference by C2, the import has no stated contract: dockerfile counts FROM scratch, embedded_python's cell is the classifier's own discriminator, and apex/scala/shell/livecode count references, blocks and path arguments #2875 import-list shape; the fix needs a line-anchored negative.
  • javascript/typescript count a user method named eval (injected.eval(callbackText), playwright) and globalThis.eval(; the member form cannot be told from the indirect-eval idiom by regex.
  • scheme's lookbehind admits (fields (mutable tail) (mutable exit)) — exit as a field name in sexp position, 1 crucible hit; anchoring on the head position would stop the decoy firing and needs a corpus re-plant.
  • php's backtick form still fires inside a string literal that quotes a MySQL identifier at expression position (. 'REFERENCES (\([^`]*)`...`, 3 crucible hits); the stream contract counts strings, and the anchor cannot see the enclosing quote.
  • shell counts dd and sudo and kill inside prose strings (echo "<dd>", an ERROR message naming sudo, a completion word list) — the stream contract, not a rule defect.
  • fortran counts Stop inside wrf_error_fatal('... Stop.') messages (3 crucible hits) — the stream contract.

Forms named by the contract that no rule carries yet

  • cobol CALL 'SYSTEM' (C1b) and EXEC CICS ABEND (C1a); ada abort statements and GNAT.OS_Lib.Spawn; swift Process(); java ScriptEngine.eval; powershell Remove-Item -Recurse on a drive root; sqlite DELETE FROM without WHERE is unreadable by regex and stays cleanup's with the rest.

Activity

  1. added
    metrics
    core-engine
    on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-enginemetrics

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions