Skip to content

CICS security model: untrusted sources and sensitive sinks, each cited to the IBM manual #8606

Closed

Description

@squid-protocol

Goal

Define, as data the engine can read, what counts as untrusted input and what counts as a sensitive operation in a CICS COBOL estate. Step 1 of 5 of the CICS cross-program SAST milestone.

Scope

  • Sources: RECEIVE / RECEIVE MAP fields, the COMMAREA (DFHCOMMAREA) and channel/container data received from another program, READQ TS/TD data, and web/HTTP inputs (WEB RECEIVE, WEB READ).
  • Sinks: EXEC SQL built from host variables (dynamic SQL: PREPARE / EXECUTE IMMEDIATE), file writes (WRITE / REWRITE / DELETE on CICS files), LINK / XCTL / START with a PROGRAM or TRANSID taken from a variable, and SEND of data read from protected files.
  • Sanitizers: what counts as validation (a field checked against a fixed set, a numeric class test), stated narrowly.
  • Every entry cites the IBM CICS or Db2 manual for its release. What IBM leaves open is ASSUMED or REFUSED by name.

Done when

A versioned source/sink/sanitizer table lives in the repo, with a test that every CICS and EXEC SQL command the burned estates use is either classified or listed as not security-relevant.

Milestone rules

  • Starts after epic Epic: Security claims vs evidence (from #8426) #8427 (security claims vs evidence) closes.
  • No detection claim in any doc until step 3 measures it.
  • Kill criterion: if cross-program tracking finds nothing on the burned estates that per-program rules miss (step 4), the milestone stops and the result is recorded.
  • Own fixtures only for planted vulnerabilities; no third-party malware or exploit corpora.
  • At most 5 hand-written files per PR.

scope:frontier: no burned-estate program needs this; the owner promotes it when the security epic is done.

Activity

  1. added
    enhancement
    appsec
    legacy-modernization
    scope:frontier
    on Nov 18, 2026
  2. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-23T11:30Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  3. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Step 1 acceptance met by #9074: a versioned CICS source/sink/sanitizer table (gitgalaxy/standards/cics_security.py), each entry cited to the IBM manual, with a test that every CICS/EXEC SQL verb the burned estates use is classified or listed as not security-relevant. Steps 2-5 remain on their own milestone issues.

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

    appsecclaim:nyxenhancementlegacy-modernizationscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions