opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: webfetch allowed/blocked URLs

Open wolffberg opened this issue 1 week ago • 1 comments

Feature hasn't been suggested before.

  • [x] 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.

wolffberg avatar Jan 09 '26 08:01 wolffberg

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

  • #5529: [FEATURE]: Add per-agent filesystem boundaries (allow/deny paths) + optional run-as user for bash - Comprehensive feature request for per-agent access controls that includes URL/fetch restrictions
  • #6318: [FEATURE]: Limit tool (e.g. write, edit) permissions to specific folders - Related feature for tool-level permission restrictions

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.

github-actions[bot] avatar Jan 09 '26 08:01 github-actions[bot]