pwa-auth@3.7.0
Five elements: user-icon, user-drawer, user-login, user-settings, and email-reset. pwa- events, a small API, and --pwa_ theme variables.
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package automatically initializes Firebase Analytics after Firebase setup, without a documented package-level opt-out. This is a runtime telemetry concern; the account-count events themselves are tied to explicit account actions.
Decision evidence
public snapshot- After Firebase initialization, the interface automatically checks analytics support and calls getAnalytics(application); no collection opt-out is exposed in that path.
- The bundled Firebase Analytics SDK references https://www.googletagmanager.com/gtag/js.
- The README describes account-count events as occurring “if Analytics is on” but does not document that the package initializes Analytics automatically or provide a disable control.
- Analytics also records account creation and deletion counts; signup calls the creation event after account creation, and deletion requires confirmation and reauthentication.
- The package has no install-time hook; prepublishOnly runs build steps.
- The account events concern the package’s stated authentication purpose and are triggered by account actions.
Source & flagged code
5 flaggedA single source file combines environment access, network access, and code or shell execution; review context before blocking.
source/pwa-auth.jsView on unpkg · L193Browser source reuses an authenticated session to collect identity data and mutate account settings while reporting externally.
source/pwa-auth.jsView on unpkg · L6Findings
Affected versions and remediation
This report applies to pwa-auth@3.7.0.
See all versions of pwa-auth for other recorded verdicts.
- Review the evidence and your use of pwa-auth@3.7.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.