@inchurch/matcha-components@22.38.2
#### Repository [Link to the project](https://bitbucket.org/inradar/design-system/src/master/).
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package is not malicious, but its confirmed canvas-clear action wipes all same-origin local storage. Because this can delete unrelated application data and the editor disables its own storage manager, classify it as a destructive-action risk.
Decision evidence
public snapshot- The page builder's canvas-clear handler calls localStorage.clear(), removing all local storage for the current origin.
- That broad deletion runs after a confirmation to clear the canvas, so it can remove unrelated app data without happening automatically.
- The editor config sets storageManager: false, so clearing all origin storage is not needed for GrapesJS-managed persistence.
- The package manifest has no install or lifecycle scripts and exposes an Angular component bundle.
- The destructive call is behind an explicit confirmation in the canvas-clear action.
- The bidi controls appear in localized Arabic country names, consistent with right-to-left display rather than concealed code.
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.2.
See all versions of @inchurch/matcha-components for other recorded verdicts.
- Review the evidence and your use of @inchurch/matcha-components@22.38.2 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.