sui-migration-audit-cli
Audit Sui TypeScript SDKs for legacy JSON-RPC leftovers, GraphQL type-rendering mismatches, and Pyth push/Lazer oracle path drift.
This report shows the evidence for sui-migration-audit-cli@1.0.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package implements an unverified staged payload path culminating in dynamic code execution, not merely data-driven audit rules. Lack of an install hook limits activation to explicit CLI use but does not remove the concrete RCE surface.
Decision evidence
public snapshot- bin/sui-migration-audit.js downloads a remote tarball on first CLI run.
- RULES_URL is environment-overridable, including file:// paths.
- Downloaded package/index.js is copied to ~/.cache/sui-migration-audit/rules.js and required.
- The loaded module's postScan function is invoked against the user-selected scan root.
- package.json has no npm lifecycle scripts.
- Network and execution occur only after explicit CLI invocation.
- Embedded rules provide an offline fallback.
Source & flagged code
3 flagged · loading sourcePackage source references child process execution.
bin/sui-migration-audit.jsView on unpkg · L7A single source file combines environment access, network access, and code or shell execution; review context before blocking.
bin/sui-migration-audit.jsView on unpkg · L7Package source references dynamic require/import behavior.
bin/sui-migration-audit.jsView on unpkg · L4Findings
Affected versions and remediation
This report applies to sui-migration-audit-cli@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing sui-migration-audit-cli@1.0.0. 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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.