Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Snapper security scanning tool #1830

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions snaps/how-to/get-allowlisted.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Always do your own research before installing a Snap.
- Is [published](publish-a-snap.md) to npm.
- Does not impair MetaMask's compliance with laws or regulations.

- Remove any `console` logs, "to-do" comments, and unused permissions or methods.

- Scan your Snap for security vulnerabilities using [Snapper](https://github.com/sayfer-io/Snapper) and
resolve any reported issues.

- If your Snap uses any of the following API methods related to key management, you must provide
evidence of a third-party audit from an approved auditor:

Expand Down
2 changes: 2 additions & 0 deletions snaps/learn/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ View the following Snaps resources in addition to this documentation site.
- [Snaps Simulator](https://metamask.github.io/snaps/snaps-simulator/latest) - A tool for simulating
Snaps in the browser, streamlining the development process. It doesn't support all Snaps features
but can be useful for testing certain features.
- [Snapper](https://github.com/sayfer-io/Snapper) - A tool for detecting security vulnerabilities,
identifying potential issues, and ensuring best coding practices in your Snap.
- [MetaMask Testing Tools](https://hugomrdias.github.io/metamask/) - A collection of tools for
testing MetaMask, MetaMask Flask, and MetaMask Snaps with [Playwright](https://playwright.dev/),
delivered as an npm package that provides a `createFixture` function that returns a `test` and
Expand Down
Loading