@inchurch/matcha-components@22.36.0
[Link to the project](https://bitbucket.org/inradar/design-system/src/master/).
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe clear-canvas command deletes all localStorage for the origin, a broader destructive effect than clearing the editor canvas implies. The action requires the user to invoke it and confirm, so this is suspicious rather than malicious.
Decision evidence
public snapshot- The page builder’s “canvas-clear” command asks for confirmation, clears the canvas, then calls localStorage.clear(), which removes all local storage for the site’s origin.
- The page builder loads its editor assets in ngAfterViewInit and uses an unversioned unpkg.com URL; this path is tied to using the editor component.
- The package manifest declares no lifecycle scripts.
- The storage-clearing code is attached to an explicit canvas-clear action and runs only after a confirmation prompt.
- The manifest exposes an Angular component bundle and declares only tslib as a dependency, consistent with a UI component library.
- Bidi controls flagged by the scanner occur in country-name strings containing Arabic text.
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.36.0.
See all versions of @inchurch/matcha-components for other recorded verdicts.
- Review the evidence and your use of @inchurch/matcha-components@22.36.0 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.