MetaMask / MetaMask/metamask-extension

Error: LavaMoat - property "setTimeout" of globalThis is inaccessible under scuttling mode. To learn mor...

Open
#28,605 0 comments 0 reactions 0 assignees View on GitHub
area-sentry Sev3-low team-lavamoat
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: [METAMASK-XCYA](https://metamask.sentry.io/issues/6069319275/?referrer=github_integration)

```
Error: LavaMoat - property "setTimeout" of globalThis is inaccessible under scuttling mode. To learn more visit **
at get (/metamask/scripts/runtime-lavamoat.js:13190:11)
at InjectedScript.builtinSetTimeout (:5060:24)
at recreate (/metamask/scripts/runtime-lavamoat.js:5320:40)
```

Contributor guide

Open the contributing guide

Research direction

Start with the Sentry report and the stack trace in scripts/runtime-lavamoat.js, especially the get handler around line 13190 and the recreate path around line 5320. Trace the InjectedScript.builtinSetTimeout call to determine why globalThis.setTimeout is inaccessible under scuttling mode; done means reproducing or explaining the failure and identifying a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.