Loading npm security reports…
Loading npm security reports…
@stacksjs/ts-cloud@0.12.12: npm security report – allowed | LPM Firewall
npm / @stacksjs/ts-cloud / 0.12.12
@stacksjs/ts-cloud@0.12.12 A lightweight, performant infrastructure-as-code library and CLI for deploying both server-based (EC2) and serverless applications.
Allowed — no malicious behavior detected
27 low-signal patterns reviewed and cleared.
AI security reviewscanned on Sep 13, 2026, 16:24 UTC · by lpm-firewall-ai The flagged primitives are consistent with an infrastructure deployment CLI and are not reached through an npm installation hook. Static source inspection found no concrete exfiltration, stealth persistence, or malicious install behavior.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A user runs the cloud CLI with deployment or notification configuration.
Impact
The tool can operate cloud infrastructure using user-provided configuration and credentials.
Mechanism
User-directed cloud deployment and optional notification delivery.
Decision evidencepublic snapshot Evidence for AI clean decision
The package contains a CLI and deployment code with AWS credentials and optional configured notifications.
The browser runtime contains dynamic expression evaluation. Evidence against
The manifest has no preinstall, install, or postinstall hook; its only lifecycle hook is prepublishOnly. AWS credentials are used by the package's AWS client code, and notification delivery requires configured destination credentials. No source evidence shows secret collection being sent to an unrelated endpoint or automatic consumer-project mutation. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 110 files · 7.38 MB of source
50 external domains referenced
127.0.0.1 169.254.169.254 169.254.170.2 acme-staging-v02.api.letsencrypt.org acme-v02.api.letsencrypt.org analytics.stacksjs.com api.bitbucket.org api.cloudflare.com api.github.com api.godaddy.com api.hetzner.cloud api.ote-godaddy.com api.porkbun.com api.telegram.org aws.amazon.com awscli.amazonaws.com bitbucket.org bun.sh caddyserver.com cloudfront.amazonaws.com console.aws.amazon.com cve.mitre.org deb.nodesource.com deno.land dl.cloudsmith.io fcm.googleapis.com fonts.googleapis.com gitea.com github.com gitlab.com iid.googleapis.com in-toto.io json-schema.org local.invalid localtunnel.dev media.invalid my.1password.com nodejs.org oauth2.googleapis.com raw.githubusercontent.com route53.amazonaws.com rpm.nodesource.com rpms.remirepo.net s3.amazonaws.com secretsmanager.us-east-1.amazonaws.com slsa.dev sqs.us-east-1.amazonaws.com stacksjs.com sts.amazonaws.com ts-cloud.dev Findings4 critical · 10 high · 7 medium · 6 low Source & flagged code19 flagged The lines the automated scan flagged. The review checked them and cleared this version.
Critical Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/chunk-t8hzekmk.js View on unpkg · L18 Code excerpt · 6 lines 18 `)}function ha(e,t){let r=e?ga(e):null,n=t.bucket?[" destinations: ["," {"," type: 's3',",` bucket: '${t.bucket}' ,`," prefix: 'db-backups',",...t.endpoint?[` ...
19 `)}function Ut(e){let{database:t,backups:r}=e;if(!r.enabled)return[];let n=r.schedule||"0 2 * * *",s=ha(t,r);return["export DEBIAN_FRONTEND=noninteractive",` mkdir -p /etc/ts-cloud ...
20 $ (free -m | awk '/^Mem:/{total=$2; used=$3} /^Swap:/{print total, used, $2, $3}' )
⋯
32 // opts out) — without it rpx's TLS/routing diagnostics never reach the journal.
33 await startProxies ({ verbose: process.env.RPX_VERBOSE !== 'false' , ...config } as any)
34 `}function q(e){return e?.webServer==="rpx"||e?.proxy?.engine==="rpx"}var St="/etc/rpx",G="/opt/rpx-gateway",Ur="/etc/rpx/gateway.ts",ht="/etc/rpx/g
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/chunk-t8hzekmk.js View on unpkg · L1 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/chunk-t8hzekmk.js View on unpkg · L1 Shared code excerpt · 2 findings · 6 lines 1 import {lj as Is}from "./chunk-n5xmh0ma.js" ;import {nj as Xs,oj as jr}from "./chunk-6cxb8d6y.js" ;import {pj as Ws}from "./chunk-ess6vxfj.js" ;import {rj as qs}from "./chunk-j1g67djb.js" ;imp...
2 `),o=Math.max(1,s-12),a=Math.min(i.length,s+2),c=i.slice(o-1,a).map((l,p)=>{let m=o+p,d=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (m).padStart (...
Critical Command output exfiltrationCleared
Source executes local commands and sends command output to an external endpoint.
dist/chunk-t8hzekmk.js View on unpkg · L272 Code excerpt · 5 lines 272 echo "ts-cloud bootstrap complete — instance is ready for site deploys"
273 `,d}var zs="/[redacted].04/stable/current/amd64/hvm/ebs-gp3/ami-id";function Bs(e){let t=[{port:22,protocol:"tcp",cidr:"0.0.0.0/0"},{port:80,protocol:"t...
274 `),"TS_CLOUD_BASH_EOF"]}async runRemoteDeploy(e){let t=this.region,r=new jr(t);if(e.targets.length>0){let s=await r.sendCommand({InstanceIds:e.targets.map((i)=>i.id),DocumentName:"...
275 `)}var qr=vt();import{execFileSync as _c,execSync as si}from"node:child_process";import{createHash as $c,randomUUID as ii}from"node:crypto";import{createReadStream as wc,existsSync...
276 `)?e:` ${e}
High Child processCleared
Package source references child process execution.
dist/chunk-t8hzekmk.js View on unpkg · L274 Code excerpt · 3 lines 274 `),"TS_CLOUD_BASH_EOF"]}async runRemoteDeploy(e){let t=this.region,r=new jr(t);if(e.targets.length>0){let s=await r.sendCommand({InstanceIds:e.targets.map((i)=>i.id),DocumentName:"...
275 `)}var qr=vt();import{execFileSync as _c,execSync as si}from"node:child_process";import{createHash as $c,randomUUID as ii}from"node:crypto";import{createReadStream as wc,existsSync...
276 `)?e:` ${e}
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/chunk-t8hzekmk.js View on unpkg · L1 Code excerpt · 5 lines Trigger-reachable credential exfiltration chain: manifest.module -> dist/index.js -> dist/chunk-t8hzekmk.js
1 import {lj as Is}from "./chunk-n5xmh0ma.js" ;import {nj as Xs,oj as jr}from "./chunk-6cxb8d6y.js" ;import {pj as Ws}from "./chunk-ess6vxfj.js" ;import {rj as qs}from "./chunk-j1g67djb.js" ;imp...
2 `),o=Math.max(1,s-12),a=Math.min(i.length,s+2),c=i.slice(o-1,a).map((l,p)=>{let m=o+p,d=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (m).padStart (...
⋯
10 `)}\r
11 `,a=jo(o);return{host:` mta-sts.${t} v=STSv1; id=${a} policy = ${JSON. (e.body)} port: ${...
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/chunk-t8hzekmk.js View on unpkg · L1 Code excerpt · 5 lines Trigger-reachable persistence chain: manifest.module -> dist/index.js -> dist/chunk-t8hzekmk.js
1 import {lj as Is}from "./chunk-n5xmh0ma.js" ;import {nj as Xs,oj as jr}from "./chunk-6cxb8d6y.js" ;import {pj as Ws}from "./chunk-ess6vxfj.js" ;import {rj as qs}from "./chunk-j1g67djb.js" ;imp...
2 `),o=Math.max(1,s-12),a=Math.min(i.length,s+2),c=i.slice(o-1,a).map((l,p)=>{let m=o+p,d=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (m).padStart (...
⋯
10 `)}\r
11 `,a=jo(o);return{host:` mta-sts.${t} v=STSv1; id=${a} policy = ${JSON. (e.body)} port: ${...
Medium Secret patternCleared
Package contains a possible secret pattern.
dist/chunk-t8hzekmk.js View on unpkg · L17 Code excerpt · 3 lines 17 patternName = generic_password
severity = medium
line = 17
High EvalCleared
Package source references dynamic code evaluation.
dist/ui/_stx/runtime.dbee66d1.js View on unpkg · L1 Code excerpt · 1 line 1 if (!window.__stx_early_mounts)window.__stx_early_mounts=[];if (!window.__stx_early_destroys)window.__stx_early_destroys=[];if (!window.onMount)window.onMount=function (fn){window.__st...
dist/ui/_stx/router.229f89ab.js#virtual:normalized:round1 View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/ui/_stx/router.229f89ab.js#virtual:normalized:round1 View on unpkg · L3 Code excerpt · 2 lines 3 `+newBlocks.join(`
4 `);return null};function getContainer(){return document.querySelector(containerSel)||document.querySelector("[data-stx-content]")||document.querySelector("main")};var layoutCache={...
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/chunk-ea7tn8nn.js View on unpkg · L18 Code excerpt · 6 lines 18 }`}function pS(e,t,r){let n=t;while(n<r&&/\s/.test(e[n]))n++;let i=0,o,s=!1;for(;n<r;n++){let c=e[n];if(o){if(s){s=!1;continue}if(c==="\\"){s=!0;continue}if(c===o)o=void 0;continue...
19 `)}function Yr(e){return e.replace(/\\/g,"\\\\").replaceAll(String.fromCharCode(39),"\\'").replace(/\r/g,"\\r").replace(/\n/g,"\\n")}function es(e){let t=e.trim();if(!/^[A-Za-z_$][...
20 `)o=!1;continue}if(s){if(d==="*"&&a==="/")s=!1,c++;continue}if(n){if(i){i=!1;continue}if(d==="\\"){i=!0;continue}if(d===n)n=void 0;continue}if(d==="/"&&a==="/"){o=!0,c++;continue}i...
⋯
25 ${s}},
26 `))}import{createHash as fS}from"node:crypto";function hS(e){return fS("sha256").update(En(e)).digest("hex")}function En(e){if(Array.isArray(e))return` [${e.map ((t)=>En (t)).join ("," ...
27 const initializedAt = n
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/bin/cli.js View on unpkg Scanner record · 4 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bin/cli.jsimport{i as ir,j as Wi,k as Sn,l as qi,n as Hi,o as Pl}from"./chunk-d2aaef9v.js";import{v as gr}from"./chunk-9nhqbes6.js";import{$ as wc,A as Zr,Aa as El,B as Ms,Ba as Dl,C as Vr,C...
`),ut.exit(r.exitCode??2)}async runMatchedCommand(){let{args:r,options:e,matchedCommand:t}=this;if(!t||!t.commandAction)return;t.checkUnknownOptions(),t.checkOptionValue(),t.checkR...
3. Run 'cloud deploy' to deploy your infrastructure`,"green")}),r.command("init:server","Initialize server-based (EC2) project").action(async()=>{S("Initializing Server-Based Proje...
`));let s=n.service.plan({projectId:n.controlPlane.project.id,scope:Pe(n,t
High Trigger reachable command output exfiltrationCleared
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/bin/cli.js View on unpkg · L355 Code excerpt · 4 lines Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/chunk-r8t25tbm.js View on unpkg Scanner record · 1 line Trigger-reachable chain: manifest.module -> dist/index.js -> dist/chunk-r8t25tbm.js
Reachable file contains a blocking source-risk pattern.
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/chunk-r8t25tbm.js View on unpkg · L1 Code excerpt · 11 lines 1 import {Ov as ye}from "./chunk-zjyz926j.js" ;import {createRequire as Mn}from "node:module" ;import {isAbsolute as Gt,join as St,relative as Yn} ; {existsSync je,rea...
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/bin/chunk-6zc6a6t3.js View on unpkg · L1 Code excerpt · 4 lines Cross-file remote execution chain: dist/bin/chunk-6zc6a6t3.js spawns dist/bin/chunk-n20kbxwb.js; helper contains network access plus dynamic code execution.
1 import {hf as en}from "./chunk-wcem4cqb.js" ;import {mf as Ls}from "./chunk-5x4rdx8k.js" ;import {tf as Hs}from "./chunk-85qrgshq.js" ;import {Df as is,Ef as os,Ff as Ei}from "./chunk-e0z2t4m...
2 `),o=Math.max(1,n-12),a=Math.min(i.length,n+2),c=i.slice(o-1,a).map((l,u)=>{let p=o+u,d=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (p). (...
dist/bin/chunk-n2fnav53.js#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/bin/chunk-n2fnav53.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 7
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @claudiolabs/claudin@1.1.26
matchedPath = dist/chunks/cli-1.1.26-55ayan24.mjs
matchedIdentity = npm:QGNsYXVkaW9sYWJzL2NsYXVkaW4:1.1.26
similarity = 1.000
shingleOverlap = 32
summary = source token shingles overlapped finalized malicious source
Medium Secret patternCleared
Hardcoded password in dist/bin/chunk-tjgy10zm.js
dist/bin/chunk-tjgy10zm.js View on unpkg · L6 Code excerpt · 3 lines 6 patternName = generic_password
severity = medium
line = 6
Medium Install persistence Code↓ Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
11 `,a=jo(o);return{host:` mta-sts.${t}`,body:o,id:a,txt:` v=STSv1; id=${a}`}}var Vo=8461;function Wu(e,t=Vo){return[` const policy = ${JSON.stringify (e.body)}`,"Bun.serve({",` port: ${...
12 `)}var dt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.com/server",postgres:"postgresql.org",vitess:"vitess.io",etcd:"etcd.io",red...
13 `)}function Xo(e){let t=["
`,body:o,id:a,txt:`
`}}var Vo=8461;function Wu(e,t=Vo){return[`
const
stringify
`,"Bun.serve({",`
12 `)}var dt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.co
`,body:o,id:a,txt:`
`}}var Vo=8461;function Wu(e,t=Vo){return[`
const
stringify
`,"Bun.serve({",`
12 `)}var dt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.com/server",po
Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/bin/cli.js
355 Total: ${se (p)} across ${d.length} service${d.length===1 ?"" :"s" }`),l.lastCacheAgeSeconds!==null)a(` (cached, ${l.lastCacheAgeSeconds}s old — pass --no-cache to refresh)`);if((d.find...
356 S3 has spend but listBuckets returned 0 . The buckets are likely owned by a different account in your AWS Organization (consolidated billing rolls up to the payer account, but ListB...
357 Wrote ${g}`)}}),r.command("cost:cache:clear","Wipe the local Cost Explorer response cache").option("--all","Wipe entries for every profile (default: just the current profile)").act...
⋯
362 Known monthly savings: ${n.savingsAvailable?se (i):"unavailable (enable CUR resource IDs)" }`)}for(let i of n.inventory.warnings)R(i)}cat
from
"node:path"
import
as
2 `),O=Ze(L),ce=[w,y,T,O].join(`
13 `}function La(e){return Object.keys(e).sort().map((t)=>t.toLowerCase()).join(";")}function vt(e){let t=[];return e.forEach((a,r)=>{t.push([Wt(r),Wt(a)])}),t.sort((a,r)=>{if(a[0]<r[...
14 ${this .convertToYAML (i,t+1 )}`;else if(Array.isArray(i)){r+=` ${a}${n}:
76 CMD ["bun" , "run" , "${a}" ]
77 `,p}static generateDockerBuildCommands(e){let{repositoryUri:t,tag:a="latest",dockerfilePath:r="Dockerfile",context:n=".",additionalTags:i=[],buildArgs:s={},platform:o="linux/amd64"...
251 systemctl enable caddy
padStart
8 ${Qi (a)}`:c}),n=r.length-s.length,i=n>0?[` (+${n} more instance${n===1 ?"" :"s" } failed)`]:[];return[t,...s,...i].join(`
9 `)}class mt{client;region;constructor(e="us-east-1",t){this.region=e,this.client=new Ss}async putParameter(e){let t={Name:e.Name,Value:e.