drgame-cc-3@1.0.5
道然游戏适配包
AI Security Review
scanned 26d ago · by lpm-firewall-aiThe token forwarding to runtime-overridable destinations is a concrete, conditional credential exposure risk, so a warning is appropriate. The automatic postinstall resource copy and virtual gamepad networking are consistent with the package’s Cocos asset and gamepad functions and do not independently establish an attack.
Decision evidence
public snapshot- The postinstall hook runs automatically and copies package resources into the consuming Cocos project with overwrite enabled.
- The gamepad token comes from runtime configuration, and the WebSocket destination can also be overridden at runtime.
- When the gamepad starts, it passes the token to the configured WebSocket client; its generated H5 URL also includes the token and accepts a runtime-overridden destination.
- The package’s source structure uses the network connection as part of its virtual gamepad feature, with explicit start and stop methods.
- The postinstall copy targets named Cocos resource and template directories, consistent with the package’s asset setup function.
Source & flagged code
7 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgThe postinstall hook runs automatically and copies package resources into the consuming Cocos project with overwrite enabled.
package.jsonView on unpkg · L10Findings
Affected versions and remediation
This report applies to drgame-cc-3@1.0.5.
See all versions of drgame-cc-3 for other recorded verdicts.
- Review the evidence and your use of drgame-cc-3@1.0.5 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.