Skip to content

Secrets: mainframe credential shapes in JCL, PROCs, REXX/CLIST and Db2 connect steps, with planted and near-miss tests #8625

Closed

Description

@squid-protocol

Part of #8427 (owner 2026-11-18: secrets scanning that fits mainframe estates is worth keeping and extending).

The credential lexicon and Vault Sentinel are tuned for modern languages and config files. Mainframe estates leak credentials in shapes they do not read.

Shapes to cover (each with a planted case and a near-miss that must not fire)

  • JCL: PASSWORD= on a JOB card or in a DD/PARM; PARM= strings carrying a password.
  • FTP or other transfer steps with in-stream data (//INPUT DD *) holding USER/PASS lines.
  • Db2: CONNECT TO ... USER ... USING in REXX, CLIST, or embedded SQL.
  • REXX/CLIST variables assigned literal passwords next to a user ID.
  • Near-misses: PASSWORD= symbolics resolved from a secured source (e.g. &PW), comments that only name the keyword, RACF PASSWORD commands in documentation members.

Rules

  • Our own fixtures only. Cite the IBM manual for each JCL/Db2 syntax form.
  • Reuse the existing secret signature and the Sentinel's redaction; no new tool.
  • Check the engine reads the file types involved (JCL, PROC, REXX, CLIST members); if one is not scanned, that is its own slice.

Done when

Each shape fires on its planted case and stays quiet on its near-miss, in a real scan (not hand-built inputs), and Vault Sentinel fails CI on a planted JCL password.

Activity

  1. added
    enhancement
    appsec
    scope:infra
    on Nov 18, 2026
  2. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-19T08:53Z. 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 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8625-20261119T0534Z (host nyx) ended without a PR. stale: PR #8645 already merged; worker asked for file-cap grant no longer needed

  4. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Closed: every listed shape (JCL PASSWORD=/PARM, in-stream FTP, Db2 CONNECT incl. wrapped, REXX/CLIST literal) fires on a planted case and stays quiet on its near-miss in real Vault Sentinel/lens scans (PRs through #8653). Remaining sibling gaps (bare-line FTP login, duplicate PARM site count) are low-value, noted in #8653.

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:nyxenhancementpriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions