Skip to content

New signal (needs design pass): bulk environment/secret dump, gated on a nearby network sinkΒ #1176

Open

Description

@squid-protocol

Part of epic #1171.

πŸ›‘ Problem Statement

Beyond reading one specific known credential file (#1173's credential_targeting), some
info-stealers instead grab everything at once β€” serializing the entire environment-variable set
(JSON.stringify(process.env), os.environ copied/dumped wholesale) and shipping it out. In CI
pipelines especially, the environment often holds every secret the pipeline has access to, so this
is a stronger signal in principle than any single hardcoded or known-path secret.

This is flagged lower-confidence and needs its own design pass before implementation β€” unlike
the other sub-issues in #1171, "wholesale environment access" has real, common, legitimate uses
(debug logging, a health-check/status endpoint printing non-secret config, test harnesses). A bare
"reads all of process.env" match would likely be too noisy to ship on its own.

🎯 Objective

Work out whether a sufficiently narrow version of this signal exists β€” most likely gated the same
way #1173 proposes gating credential_targeting: only counted as a real signal when the bulk
env/config read is followed within a bounded line window by a network sink (sec_io), i.e. "grab
everything, then send it somewhere," not "grab everything" alone.

πŸ› οΈ Proposed Implementation

Open question, not a prescribed implementation β€” start by:

  1. Checking how often bulk process.env/os.environ access already appears in the
    language-crucible corpus, and how often it's near an existing sec_io hit vs. not, to get a
    real base rate before writing any regex.
  2. If the base rate suggests a viable narrow signal, follow New signal: credential/token-file targeting (what a worm is actually after)Β #1173's read+sink correlation pattern
    rather than inventing a new mechanism.
  3. If it doesn't β€” explicitly close this as "not viable at acceptable precision" rather than
    shipping something noisy. That's a legitimate, documented outcome (see obfuscation_flag / GlassWorm-style detector: needs a real design decision, not a code fixΒ #1150's own
    build-vs-deprecate framing).

βœ… Acceptance Criteria

  • Explicit decision recorded either way: a narrow, network-sink-gated signal shipped with
    tests and corpus verification, or a documented "not viable" close-out explaining why
  • If shipped: false-positive guard tests specifically covering debug-logging and
    health-check-endpoint idioms
  • If shipped: verified against the full language-crucible corpus before the golden-master
    rebless

Activity

  1. added
    enhancement
    good first issue
    question
    appsec
    supply-chain
    priority: low
    on Aug 9, 2026
  2. added
    scope:frontier
    needs:corpus
    needs:crucible
    on Oct 16, 2026
  3. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    Frozen 2026-11-18 (owner): Worms Armageddon is closed and its open work moved to Gap Atlas, mapped but not built. These signals need a malware corpus and a crucible that do not exist, and regex worm signals are a space where GitGalaxy has no measured edge yet. They may return as inputs to a release-vs-own-history study if that study pans out.

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

    appsecenhancementgood first issueneeds:corpusneeds:cruciblepriority: lowquestionscope:frontiersupply-chain

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions