---
canonical: "https://firewall.lpm.dev/npm/@alipay/ams-checkout/v/2.0.31"
markdown: "https://firewall.lpm.dev/npm/@alipay/ams-checkout/v/2.0.31.md"
package: "@alipay/ams-checkout"
report_status: "under_review"
title: "@alipay/ams-checkout@2.0.31 npm security report"
verdict: "manual_review"
version: "2.0.31"
---

# @alipay/ams-checkout@2.0.31 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Allowed — no malicious behavior detected** — No malicious behavior detected. 12 low-signal pattern(s) reviewed.

- **Verdict:** Manual Review
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Under Review
- **Threat category:** Unknown
- **Selected version:** 2.0.31
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: manual review; recommendation: manual review. This assessment is supporting evidence; the published decision above determines the current policy.

The flagged collector code is consistent with SDK logging through host iTracker and region-specific Antom endpoints, with no verified credential theft. The unresolved imported runtime dependency prevents a clean verdict because its behavior could not be assessed.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Manual Review
- **Recorded analysis confidence:** 72.0%
- **Started:** 2026-10-28T11:55:13.717Z
- **Finished:** 2026-10-28T11:55:56.831Z
- **Download time:** 1025 ms
- **Static scan time:** 3666 ms
- **AI review time:** 38422 ms
- **Total time:** 43114 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** No attack was confirmed in the inspected source. The unresolved runtime preload dependency leaves a material part of the package's behavior unreviewed.

- **Trigger:** Importing the SDK can load its modern preload adapter and runtime dependency.

- **Impact:** The dependency's behavior and any resulting effects remain unresolved.

- **Evidence paths:** package.json, esm/modern/preload/antomManifestAdapter.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-28T11:55:56.831Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The adapter imports a package declared as a runtime dependency, but that dependency's source was unavailable for inspection.

- **Rationale:** The flagged collector code is consistent with SDK logging through host iTracker and region-specific Antom endpoints, with no verified credential theft. The unresolved imported runtime dependency prevents a clean verdict because its behavior could not be assessed.

- **Files touched:** package.json, esm/modern/preload/antomManifestAdapter.js

### Review decision

- **Verdict:** Manual Review

- **Confidence:** 72.0%

- **Recommended action:** manual\_review

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **AI review observations:** The manifest declares @antintl/opensdk-preload as a runtime dependency, and the preload adapter imports it; its source was unavailable in the supplied snapshot., The SDK logging service reports queued events through the host page's iTracker interface, and the modern bundle contains region-specific Antom logging endpoints.

- **Evidence against:** The inspected source does not establish that the unresolved preload dependency performs malicious behavior or that the logging path sends credentials to an unrelated recipient.

## Affected versions and remediation

This report applies to @alipay/ams-checkout@2.0.31.

- Review the evidence and your use of @alipay/ams-checkout@2.0.31 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.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** ams-checkout.js
- **Public source:** [View source](<https://unpkg.com/@alipay/ams-checkout@2.0.31/ams-checkout.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L5: */
L6: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("ob...
```

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** ams-checkout.js
- **Public source:** [View source](<https://unpkg.com/@alipay/ams-checkout@2.0.31/ams-checkout.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L5: */
L6: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("ob...
```

### 5. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** ams-checkout.js
- **Public source:** [View source](<https://unpkg.com/@alipay/ams-checkout@2.0.31/ams-checkout.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
L5: */
L6: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("ob...
```

### 7. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** ams-checkout.js
- **Public source:** [View source](<https://unpkg.com/@alipay/ams-checkout@2.0.31/ams-checkout.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.exports -> ams-checkout.js
L5: */
L6: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("ob...
```

### 8. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 9. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

### 10. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 11. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 12. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepare
- **Dependencies:** 4
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 35
- **Published dependency-graph edges:** 4

### Published dependency entries
- @antintl/opensdk-preload ^1.0.0 (Dependency)
- axios ^1.3.4 (Dependency)
- proxy-polyfill ^0.3.2 (Dependency)
- uuid ^9.0.0 (Dependency)

## Package metadata
- **Package:** @alipay/ams-checkout
- **Ecosystem:** npm
- **Version:** 2.0.31
- **Version published:** 2026-10-28T11:52:11.455Z
- **Package first seen:** 2026-08-05T16:55:33.911Z
- **Package last seen:** 2026-11-03T10:43:07.696Z
- **Known versions:** 8
- **Latest version:** 2.0.32
- **Appeal under review:** No
- **Description:** Use \_AMS CHECKOUT\_ as an ES module.
- **Maintainers:** ganyan, marmot.antgroup
- **Runtime engines:** install-node: 20
- **Artifact files:** 444
- **Artifact unpacked size:** 8,301,102 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@alipay/ams-checkout/v/2.0.31>)
