Skip to content

[FEATURE]: webfetch allowed/blocked URLs #7445

Closed as not planned
Closed as not planned

Description

@wolffberg

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Having the ability to allow/block certain URLs from webfetch would greatly improve security when using build mode.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 9, 2026
  2. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues discuss broader security and access control features that may encompass or relate to URL filtering for webfetch.

    Feel free to ignore if your specific use case isn't fully addressed by these existing discussions.

  3. robertfall commented on Jan 27, 2026

    @robertfall

    I've taken a pass at implementing this in #8855

    Not sure if there's anything else I need to do to submit it for review.

  4. robertfall commented on Feb 9, 2026

    @robertfall

    Hi folks, just want to check if there's something that is outstanding here? Would really like to get this merged as it unblocks opencode use at $WORK as our policies require strict url allow listing.

  5. romanr commented on Feb 18, 2026

    @romanr

    Please merge this! It's a very significant problem. We need to be able to block domains with malicious information like stackoverflow.

  6. robertfall commented on Mar 24, 2026

    @robertfall

    I've rebased this PR and fixed the tests. Would appreciate any guidance around what I can do to move this forward?

  7. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on May 3, 2026
  8. rbell-mfj commented on May 15, 2026

    @rbell-mfj

    Until this feature gets added the docs are arguably misleading -- Available Permissions has this bullet:

    webfetch — fetching a URL (matches the URL)

    But in fact URL matching in permissions is not currently possible.

  9. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  10. robertfall commented on Jul 15, 2026

    @robertfall

    This was really disappointing. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions