@inchurch/matcha-components@22.38.7
[Link to the project](https://bitbucket.org/inradar/design-system/src/master/).
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe broad storage deletion is limited to an explicit, confirmed page-builder action, so the source does not show an attack running automatically. The confirmation describes clearing the canvas, while the implementation clears all origin storage, creating a destructive-action risk that merits a warning.
Decision evidence
public snapshot- The page-builder handler asks for confirmation, clears the canvas, then calls localStorage.clear(), which removes all local storage for the origin.
- The command is presented in the toolbar as “Clear canvas.”
- When the editor initializes with empty content, it invokes only GrapesJS’s core canvas-clear command.
- The package is an Angular component library with no lifecycle scripts declared in its manifest.
- The storage-clearing handler requires a user action and confirmation; it does not run during initialization.
Source & flagged code
5 flaggedPackage source references dynamic require/import behavior.
assets/page-builder/js/grapesjs-plugin-export.jsView on unpkg · L1Package source references a known benign dynamic code generation pattern.
assets/page-builder/js/grapesjs-plugin-export.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @inchurch/matcha-components@22.38.7.
See all versions of @inchurch/matcha-components for other recorded verdicts.
- Review the evidence and your use of @inchurch/matcha-components@22.38.7 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.