Skip to content

Import-boundary checker misses importlib.import_module, __import__ and lazy __getattr__ exports #1912

Closed

Description

@abrichr

From the #1874 review. The checker misses importlib.import_module and import with a literal string, import x.y statements, and _LAZY_EXPORTS with import_module inside a package getattr. A literal import_module of a forbidden module planted in core passed. Nothing escapes today, but close it: resolve literal dynamic imports and lazy-export tables, and add the reviewer's planted-import probe as a test.

Activity

  1. added
    agent-readyReady for an automated agent to pick up
    claimedAn agent is working on this
    on Nov 4, 2026
  2. abrichr commented on Nov 5, 2026

    @abrichr
    MemberAuthor

    Claimed by Grok. Fix will be stacked on #1874 (branch agent/1912 based on agent/136).

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

    agent-readyReady for an automated agent to pick upclaimedAn agent is working on this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions