@inchurch/matcha-components@22.40.3
#### Repository [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 performs an origin-wide local-storage wipe after a confirmation that describes only clearing the canvas. This is a potentially destructive, unexpectedly broad side effect, so I recommend a warning rather than treating the package as malicious.
Decision evidence
public snapshot- After a generic “clean the canvas” confirmation, the page builder clears the canvas and calls localStorage.clear(), which removes every local-storage key for the current origin.
- The manifest identifies an Angular ESM component library and declares no lifecycle scripts.
- The flagged bidi controls appear in Arabic country-name labels in a data table, consistent with localization data.
- The bundle loads GrapesJS assets for its page-builder component.
- The local-storage wipe is triggered only after a user confirms the canvas-clear action.
- No install-time lifecycle script is declared in package.json.
- The bidi controls occur in localized country labels rather than concealed executable 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.40.3.
See all versions of @inchurch/matcha-components for other recorded verdicts.
- Review the evidence and your use of @inchurch/matcha-components@22.40.3 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.