registry  /  create-spectrum-project  /  0.8.0

create-spectrum-project@0.8.0

Scaffold a new Spectrum (spectrum-ts) project in seconds.

Static Scan Results

scanned 4h ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
WildcardDependency
scanned 2 file(s), 124 KB of source, external domains: app.photon.codes, photon.codes, registry.npmjs.org, t.me, unpkg.com

Source & flagged code

4 flagged · loading source
dist/bin.jsView file
97`),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(` L98: `),this.close()}_($,Z){if($.toLowerCase()==="y")return this.value=!0,this.submit();if($.toLowerCase()==="n")return this.value=!1,this.submit();return this.bell()}render(){if(this.c... L99: `),warn:($)=>process.stderr.write(`warn: ${$}
High
Child Process

Package source references child process execution.

dist/bin.jsView on unpkg · L97
97`),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(` L98: `),this.close()}_($,Z){if($.toLowerCase()==="y")return this.value=!0,this.submit();if($.toLowerCase()==="n")return this.value=!1,this.submit();return this.bell()}render(){if(this.c... L99: `),warn:($)=>process.stderr.write(`warn: ${$} L100: `)};function O7($,Z){return new Promise((J,z)=>{let B=A7("gh",$,{stdio:Z?["ignore","pipe","pipe"]:"inherit"}),X="";if(Z)B.stdout?.setEncoding("utf8"),B.stdout?.on("data",(Q)=>{X+=Q... L101: `),M=[];if(z)M.push(" projectId: process.env.PROJECT_ID!,"),M.push(" projectSecret: process.env.PROJECT_SECRET!,");M.push(" providers: ["),M.push(...Q),M.push(" ],");let N=z?["...
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

dist/bin.jsView on unpkg · L97
85`),this.close()}_($,Z){let J=this.input.slice(0,this.cursor),z=this.input.slice(this.cursor);this.input=`${J}${$}${z}`,this.cursor=J.length+1,this.complete(this.render),this.render... L86: `+C6($.description,{margin:3,width:this.out.columns})}return X+" "+Q+D1.gray(B||"")}render(){if(this.closed)return;if(this.firstRender)this.out.write(V$.hide);else this.out.write(A... L87: `);this.outputText+=` ... L97: `),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(` L98: `),this.close()}_($,Z){if($.toLowerCase()==="y")return this.value=!0,this.submit();if($.toLowerCase()==="n")return this.value=!1,this.submit();return this.bell()}render(){if(this.c... L99: `),warn:($)=>process.stderr.write(`warn: ${$} L100: `)};function O7($,Z){return new Promise((J,z)=>{let B=A7("gh",$,{stdio:Z?["ignore","pipe","pipe"]:"inherit"}),X="";if(Z)B.stdout?.setEncoding("utf8"),B.stdout?.on("data",(Q)=>{X+=Q... L101: `),M=[];if(z)M.push(" projectId: process.env.PROJECT_ID!,"),M.push(" projectSecret: process.env.PROJECT_SECRET!,");M.push(" providers: ["),M.push(...Q),M.push(" ],");let N=z?["...
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/bin.jsView on unpkg · L85
1#!/usr/bin/env node L2: import{createRequire as M7}from"node:module";var H7=Object.create;var{getPrototypeOf:U7,defineProperty:I0,getOwnPropertyNames:Y7}=Object;var C7=Object.prototype.hasOwnProperty;func... L3: In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,Q=!1,H;return{s:function(){J=J.call($)},n:function(){var Y=J.next();return X=Y.done,Y}... L4: `)).join(` L5: `)}});var s0=C((i8,t0)=>{t0.exports=($,Z,J)=>{J=J||Z;let z=Math.min(Z-J,$-Math.floor(J/2));if(z<0)z=0;let B=Math.min(z+J,Z);return{startIndex:z,endIndex:B}}});var I=C((p8,o0)=>{o0.... L6: `),this.close()}validate(){var $=this;return z9(function*(){let Z=yield $.validator($.value);if(typeof Z==="string")$.errorMsg=Z,Z=!1;$.error=!Z})()}submit(){var $=this;return z9(f... ... L49: `),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(` L50: `),this.close()}_($,Z){if($.toLowerCase()==="y")return this.value=!0,this.submit();if($.toLowerCase()==="n")return this.value=!1,this.submit();return this.bell()}render(){if(this.c... L51: In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

dist/bin.jsView on unpkg · L1

Findings

5 High4 Medium4 Low
HighChild Processdist/bin.js
HighShell
HighSame File Env Network Executiondist/bin.js
HighCommand Output Exfiltrationdist/bin.js
HighSandbox Evasion Gated Capabilitydist/bin.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
MediumWildcard Dependency
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings