Appearance
SEC418 / CLAUDE-WEBFETCH-RAW-GITHUB
Claude settings permissions allow WebFetch(domain:raw.githubusercontent.com) in a shared committed config.
Why It Matters
raw.githubusercontent.com serves direct repository file contents. Granting fetch access to that domain in shared Claude settings makes it easy for an agent to pull mutable remote content outside the normal repository review path.
Trigger Shape
This rule applies to committed shared Claude settings files and triggers only on the exact permission token:
WebFetch(domain:raw.githubusercontent.com)
Clean Cases
WebFetch(domain:developers.openai.com)WebFetch(domain:github.com)- no
WebFetchgrants at all
Example Trigger
json
{
"permissions": {
"allow": [
"WebFetch(domain:raw.githubusercontent.com)"
]
}
}How To Fix
- remove the raw-content fetch grant
- or replace it with a narrower reviewed documentation source