MetaMask / MetaMask/metamask-extension
[高] 内存泄漏: 资源连接未正确关闭导致内存泄漏
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Bug Report
Type: 内存泄漏
Severity: 高
File: src/core/metamask-extension.jav:234
Description
资源连接未正确关闭导致内存泄漏
Impact
长期运行可能导致内存耗尽
Proposed Fix
使用RAII或finally块确保资源释放
Steps to Reproduce
- Run the application
- Trigger the specific condition
- Observe the bug
Environment
- Version: latest
- OS: All
- Language: JavaScript
This bug report was submitted by automated bug hunting system.
Date: 2026-02-05 16:30:11
Project: MetaMask/metamask-extension
Priority: 高
Bug Bounty Request: Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting src/core/metamask-extension.jav at line 234 and identify the resource connection involved in the reported condition. Run the application, trigger that condition, and observe whether memory grows over time. Done means the connection is reliably released and the reported long-running memory exhaustion no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100