@superrouteca/smap-react-native@1.1.1
sMap for React Native: a map view for Superroute's sMap service, over the sMap Android and iOS SDKs, with standard style layers, basemap overrides, data formats and external layers.
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe map view enables offline auto-refresh by default, and the package documents that those automatic refreshes are billed downloads. This can spend the user’s quota or incur charges without an explicit request to refresh each region, so the package is malicious under the automatic spending rule.
Decision evidence
public snapshot- SMap sets offlineAutoRefresh to true unless the app explicitly passes false.
- The native iOS and Android map setup both default auto-refresh to true.
- The README says an online map refreshes saved regions nearing expiry automatically and that downloads are billed by tile.
- The documented default map service is https://tile.srsr.ca.
- Offline maps and region management are part of the package’s stated mapping purpose.
- The manifest has no install, preinstall or postinstall hook; its prepack script only copies the license.
Source & flagged code
6 flaggedPackage ships non-JavaScript build or shell helper files.
ios/smap_react_native.rbView on unpkgSMap sets offlineAutoRefresh to true unless the app explicitly passes false.
src/SMap.tsxView on unpkg · L195Findings
Affected versions and remediation
This report applies to @superrouteca/smap-react-native@1.1.1.
See all versions of @superrouteca/smap-react-native for other recorded verdicts.
- Avoid installing @superrouteca/smap-react-native@1.1.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.