registry  /  @zxr55555/leetmate  /  0.3.0

@zxr55555/leetmate@0.3.0

Hints, not handouts: a terminal LeetCode coach and spaced review tool.

Static Scan Results

scanned 4h ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 3 file(s), 9.47 KB of source, external domains: example.test, github.com

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/install.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/install.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/leetmate.jsView file
3L4: const fs = require('fs'); L5: const path = require('path');
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/leetmate.jsView on unpkg · L3
scripts/install.jsView file
5const fs = require('fs'); L6: const https = require('https'); L7: const os = require('os'); L8: const path = require('path'); L9: const { execFileSync } = require('child_process'); L10: L11: const root = path.resolve(__dirname, '..'); L12: const binDir = path.join(root, 'bin'); L13: const packageJSON = require(path.join(root, 'package.json')); L14: const owner = 'DuckInAShirt'; ... L30: L31: function releaseVersion(env = process.env, pkg = packageJSON) {
High
Install Named Payload File

Install-named source file stages remote content through filesystem writes and execution.

scripts/install.jsView on unpkg · L5

Findings

2 High5 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighInstall Named Payload Filescripts/install.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requirebin/leetmate.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings