kitsng-form-factory@0.4.50
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.0.
AI security review
scanned · by lpm-firewall-aiThe lookup service clears the entire origin’s session storage, an action unrelated to retrieving form lookup data. A component invokes the service on initialization, making the destructive side effect reachable during normal use.
Decision evidence
public snapshot- The lookup service constructor calls `sessionStorage.clear()`, clearing every session-storage entry for the current origin.
- The phone input component injects the lookup service and calls `getCountries()` during `ngOnInit()`, making service construction reachable when the component is used.
- The package exports an Angular module and has no lifecycle scripts in its manifest.
- The service also performs lookup requests using a configured API base URL or the current origin, consistent with its form-data lookup purpose.
- The manifest contains no install-time lifecycle scripts.
- The lookup requests use the form component’s configured API base URL or the current origin; no unrelated collector was identified.
- maps.googleapis.com
Findings
7 high · 3 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
fesm2022/kitsng-form-factory.mjs2 highesm2022/lib/kitsng-form-factory/components/kitsng-form-fields/google-map/google-map.component.mjs1 highesm2022/lib/kitsng-form-factory/core/services/lookup-list.service.mjs1 highesm2022/lib/kitsng-form-factory/components/kitsng-form-fields/input-phone/input-phone.component.mjs2 highpackage.json1 highShow all 10 findings
fesm2022/kitsng-form-factory.mjs2 findingsesm2022/lib/kitsng-form-factory/components/kitsng-form-fields/google-map/google-map.component.mjs1 findingesm2022/lib/kitsng-form-factory/core/services/lookup-list.service.mjs1 findingesm2022/lib/kitsng-form-factory/components/kitsng-form-fields/input-phone/input-phone.component.mjs2 findingspackage.json1 findingSource & flagged code
7 flaggedPackage contains a high-severity secret pattern.
fesm2022/kitsng-form-factory.mjsView on unpkg · L2137Google API key in fesm2022/kitsng-form-factory.mjs
fesm2022/kitsng-form-factory.mjsView on unpkg · L2137Shared code excerpt · 2 findings · 3 lines
Google API key in esm2022/lib/kitsng-form-factory/components/kitsng-form-fields/google-map/google-map.component.mjs
esm2022/lib/kitsng-form-factory/components/kitsng-form-fields/google-map/google-map.component.mjsView on unpkg · L23Code excerpt · 3 lines
The lookup service constructor calls sessionStorage.clear(), clearing every session-storage entry for the current origin.
Code excerpt · 4 lines
The phone input component injects the lookup service and calls getCountries() during ngOnInit(), making service construction reachable when the component is used.
Code excerpt · 4 lines
The phone input component injects the lookup service and calls getCountries() during ngOnInit(), making service construction reachable when the component is used.
Code excerpt · 4 lines
The package exports an Angular module and has no lifecycle scripts in its manifest.
package.jsonView on unpkg · L16Code excerpt · 9 lines
Affected versions and remediation
This report applies to kitsng-form-factory@0.4.50.
See all versions of kitsng-form-factory for other recorded verdicts.
- Avoid installing kitsng-form-factory@0.4.50. 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.