Loading npm security reports…
Loading npm security reports…
@stacksjs/ts-cloud@0.16.62: npm security report – allowed | LPM Firewall
npm / @stacksjs/ts-cloud / 0.16.62
@stacksjs/ts-cloud@0.16.62 A lightweight, performant infrastructure-as-code library and CLI for deploying both server-based (EC2) and serverless applications.
Allowed — no malicious behavior detected
32 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 19, 2026, 22:54 UTC · by lpm-firewall-ai Source inspection found no malicious behavior: the manifest has no install hook, and the flagged credential, evaluation, and subprocess behavior is consistent with the package’s cloud and browser features. The agent-configuration matches are exclusion-list entries, and the apparent secret is a detection pattern.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
No package-install trigger was found; command execution occurs through invoked deployment operations.
Impact
No unrelated credential disclosure, unauthorized account action, or install-time mutation was established.
Mechanism
The inspected AWS client signs requests for cloud services, while deployment subprocesses handle configured commands and their results.
Decision evidencepublic snapshot Evidence for AI clean decision
package.json lists only a prepublish build hook; the package has no install-time hook. Both agent-configuration matches are `.claude/worktrees` entries in file-exclusion lists, not agent configuration writes. The evaluation match is a front-end pipe-expression evaluator; the other runtime and router matches handle browser state and page navigation. AWS credentials are used by the AWS client to sign requests to its constructed service URL; the inspected flow does not send them to an unrelated recipient. The subprocess matches belong to configured deployment operations: the CLI reads a caller-provided recipe, executes commands, and handles their results. The apparent secret match is part of a secret-detection rule; the authentication-key fallback is generated from random bytes. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 121 files · 7.61 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.machines.dev 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 Findings9 critical · 10 high · 7 medium · 6 low Source & flagged code24 flagged The lines the automated scan flagged. The review checked them and cleared this version.
Critical Critical secretCleared
Package contains a critical-looking secret pattern.
dist/bin/chunk-g2kjjb1a.js View on unpkg · L134 Critical Secret patternCleared
RSA private key in dist/bin/chunk-g2kjjb1a.js
dist/bin/chunk-g2kjjb1a.js View on unpkg · L134 Shared code excerpt · 2 findings · 3 lines 134 patternName = private_key_rsa
severity = critical
line = 134
Critical Secret patternCleared
EC private key in dist/bin/chunk-g2kjjb1a.js
dist/bin/chunk-g2kjjb1a.js View on unpkg · L134 Code excerpt · 3 lines 134 patternName = private_key_ec
severity = critical
line = 134
Critical Secret patternCleared
OpenSSH private key in dist/bin/chunk-g2kjjb1a.js
dist/bin/chunk-g2kjjb1a.js View on unpkg · L134 Code excerpt · 3 lines 134 patternName = private_key_openssh
severity = critical
line = 134
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-g2kjjb1a.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 10
High Child processCleared
Package source references child process execution.
dist/bin/chunk-ya1413jw.js View on unpkg · L1 Code excerpt · 2 lines 1 import {rs,Pn,Ya,Dn,is,os}from "./chunk-v3j9wgmn.js" ;import {e}from "./chunk-favx96qj.js" ;import {Ct}from "./chunk-e51cd46z.js" ;import {execFileSync as C}from "node:child_process" ;import {m...
2 export {jp};
Critical Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/bin/chunk-rgddxcrr.js View on unpkg · L128 Code excerpt · 7 lines 128 const { readFileSync, writeFileSync } = require ('node:fs' )
129 const currentPath = process.env.TS_CLOUD_RPX_CURRENT_FRAGMENT
130 const candidatePath = process.env.TS_CLOUD_RPX_CANDIDATE_FRAGMENT
⋯
137 writeFileSync (candidatePath, JSON.stringify (candidate, null , 2 ) + '\\n' , { mode: 0o600 })
138 `.trim();return[` __tsc_fragment_candidate="$(mktemp " ${e}.candidate.XXXXXX")" `,` cat > << [ -f ${...
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/bin/chunk-8bgfn8ek.js View on unpkg · L1 Code excerpt · 6 lines 1 import {Li,p}from "./chunk-qpvydcfm.js" ;import {Hr}from "./chunk-j9yq3b4d.js" ;import *as c from "node:crypto" ;import {readFileSync as B}from "node:fs" ;import {readdir as L}from "node:fs/prom...
2 `)){let h=u.trim();if(!h||h.startsWith("#")||h.startsWith(";"))continue;let m=h.match(/^\[([^\]]+)\]$/);if(m){if(a===e&&l&&d)return{accessKeyId:l,secretAccessKey:d,sessionToken:y};...
3 <CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/" >
4
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/bin/cli.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @stacksjs/ts-cloud@0.16.56
matchedIdentity = npm:QHN0YWNrc2pzL3RzLWNsb3Vk:0.16.56
similarity = 0.867
summary = stored previous version shares package body but lacks this dangerous source file
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{C,qt,n,r,a,Nr,e,u,i,s,I,d,Lo,c,fn,Ee,Vs,zs,Hs,Gs,f}from"./chunk-favx96qj.js";import{ua,H,Fr,A,B,Ko,l,o,T,ma,ga,fa,$e,ze,ot,Xo,En,Ui,wn,Qo,Sa,va,Ca,Ta,wa,j,b,M,st,N,ye,Zo,Ge,...
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/bin/chunk-qpvydcfm.js View on unpkg · L1 Code excerpt · 3 lines 1 import *as w from "node:crypto" ;import {existsSync as V,readFileSync as Y}from "node:fs" ;import {homedir as W}from "node:os" ;import {join as K}from "node:path" ;var j={amp:"&" ,lt:"<" ,gt:">" ...
2 `),i="",s="",n="",a;for(let o of r){let d=o.trim();if(!d||d.startsWith("#"))continue;let g=d.match(/^\[([^\]]+)\]$/);if(g){i=g[1];continue}if(i===e){let[m,...h]=d.split("="),C=h.jo...
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/chunk-h5j27a4h.js View on unpkg · L1 Code excerpt · 5 lines Trigger-reachable chain: manifest.module -> dist/index.js -> dist/chunk-h5j27a4h.js
1 import {il,Q,l,g,C,Xe,Ji,w,be,m,ce,ln,Dt,Pt,gr,pr,Zi}from "./chunk-r9ydamw0.js" ;import {o}from "./chunk-betvtvy7.js" ;import {U,jr,d}from "./chunk-8jqv6wh7.js" ;import {go,dd,Ip,bp,B,tr,j,z...
2 `),a=Math.max(1,s-12),c=Math.min(i.length,s+2),u=i.slice(a-1,c).map((f,h)=>{let _=a+h,S=/^[A-Z_][A-Z0-9_]*=/.test(f)?f.replace(/=.*/,"=<redacted>"):f;return` ${String (_).padStart (...
⋯
10 `)}\r
11 `,c=xi(a);return{host:` mta-sts.${t} v=STSv1; id=${c} policy = ${JSON. (e.body)} port: ${...
Medium Secret patternCleared
Hardcoded password in dist/bin/chunk-sbjzewvk.js
dist/bin/chunk-sbjzewvk.js View on unpkg · L6 Code excerpt · 3 lines 6 patternName = generic_password
severity = medium
line = 6
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
"$__tsc_fragment_candidate"
'${r}'
`,t,r,'chmod 0600 "$__tsc_fragment_candidate"',`
if
139 `),L=["[Unit]",` Description=Issue/renew rpx gateway TLS certs for ${m} (${E})`,` After=network-online.target ${Se}`,"Wants=network-online.target","","[Service]","Type=oneshot",` Exec...
140 `),x=["[Unit]",` Description=Daily rpx gateway TLS cert issuance/renewal for ${m}`,"","[Timer]","OnCalendar=*-
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/bin/chunk-rgddxcrr.js View on unpkg · L1 Critical Command output exfiltrationCleared
Source executes local commands and sends command output to an external endpoint.
dist/bin/chunk-rgddxcrr.js View on unpkg · L1 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/bin/chunk-rgddxcrr.js View on unpkg · L1 Shared code excerpt · 3 findings · 6 lines 1 import {p}from "./chunk-qpvydcfm.js" ;import {da,R,A,ne,Br,pa,Wo,le,B,T,Yt,jr}from "./chunk-v3j9wgmn.js" ;import {v}from "./chunk-zs0q8sh5.js" ;import {Q}from "./chunk-90ds3vw7.js" ;import {g}f...
2 `),o=Math.max(1,s-12),a=Math.min(i.length,s+2),c=i.slice(o-1,a).map((l,u)=>{let d=o+u,m=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (d).padStart (...
⋯
8 ${_a (a)}`:c}),s=r.length-n.length,i=s>0?[` (+${s} more instance${s===1 ?"" :"s" } failed)`]:[];return[t,...n,...i].join(`
9 `)}function Ta(e){return` /etc/ts-cloud/${e}-upgrade.env`}function Ca(e){return` ${e}-upgrade`}function to(e){if(!e||e.length===0)return[];let t=["mkdir -p /etc/ts-cloud"],r=[];for(l...
10 $ (free -m | awk '/^Mem:/{total=$2; used=$3} /^Swap:/{print total, used, $2, $3}' )
11 EOF`,'DISK_PCT=0;
High ShellCleared
Package source references shell execution.
dist/bin/chunk-rgddxcrr.js View on unpkg · L8 Code excerpt · 3 lines 8 ${_a (a)}`:c}),s=r.length-n.length,i=s>0?[` (+${s} more instance${s===1 ?"" :"s" } failed)`]:[];return[t,...n,...i].join(`
9 `)}function Ta(e){return` /etc/ts-cloud/${e}-upgrade.env`}function Ca(e){return` ${e}-upgrade`}function to(e){if(!e||e.length===0)return[];let t=["mkdir -p /etc/ts-cloud"],r=[];for(l...
10 $ (free -m | awk '/^Mem:/{total=$2; used=$3} /^Swap:/{print total, used, $2, $3}' )
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-rgddxcrr.js View on unpkg · L1 Code excerpt · 4 lines Cross-file remote execution chain: dist/bin/chunk-rgddxcrr.js spawns dist/bin/chunk-v3j9wgmn.js; helper contains network access plus dynamic code execution.
1 import {p}from "./chunk-qpvydcfm.js" ;import {da,R,A,ne,Br,pa,Wo,le,B,T,Yt,jr}from "./chunk-v3j9wgmn.js" ;import {v}from "./chunk-zs0q8sh5.js" ;import {Q}from "./chunk-90ds3vw7.js" ;import {g}f...
2 `),o=Math.max(1,s-12),a=Math.min(i.length,s+2),c=i.slice(o-1,a).map((l,u)=>{let d=o+u,m=/^[A-Z_][A-Z0-9_]*=/.test(l)?l.replace(/=.*/,"=<redacted>"):l;return` ${String (d).padStart (...
⋯
8 ${_a (a)}`:c}),s=r.length-n.length,i=s>0?[` (+${s} more instance${s===1 ?"" :"s" } failed)`]:[];return[t,...n,...i].join(`
9 `)}function Ta(e){return` /etc/ts-cloud/${e}-upgrade.env`}function Ca(e){return` ${e}-upgrade`}function to(e){if(!e||e.length===0)return[];
<LocationConstraint>${this .region}</LocationConstraint>
5 </CreateBucketConfiguration>`,s["Content-Type"]="application/xml";await this.client.request({service:"s3",region:this.region,method:"PUT",path:` /${e}`,headers:s,body:i})}async dele...
6 `).join(""),x=Object.keys(S).sort().map((P)=>P.toLowerCase()).join(";"),C=["PUT",d,"",f,x,b]
`),Mi.exit(R.exitCode??2)}async runMatchedCommand(){let{args:R,options:t,matchedCommand:m}=this;if(!m||!m.commandAction)return;m.checkUnknownOptions(),m.checkOptionValue(),m.checkR...
3. Run 'cloud deploy' to deploy your infrastructure`,"green")}),R.command("init:server","Initialize server-based (EC2) project").action(async()=>{i("Initializing Server-Based Proje...
`));let z=k.service.plan({projectId:k.controlPlane.project.id,scope:hr(k,m
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 Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/bin/cli.js
355 Total: ${mn (ae)} across ${ne.length} service${ne.length===1 ?"" :"s" }`),X.lastCacheAgeSeconds!==null)e(` (cached, ${X.lastCacheAgeSeconds}s old — pass --no-cache to refresh)`);if((ne....
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 ${le}`)}}),R.command("cost:cache:clear","Wipe the local Cost Explorer response cache").option("--all","Wipe entries for every profile (default: just the current profile)").ac...
⋯
362 Known monthly savings: ${k.savingsAvailable?mn (D):"unavailable (enable CUR resource IDs)" }`)}for(let D of k.inventory.warnings)a(D)}cat
3
`).join(""),l=u.map((N)=>N.toLowerCase()).join(";"),b=[s,A,y,c,l,f].join(`
`,body:a,id:c,txt:`
`}}var Og=8461;function $h(e,t=Og){return[`
const
stringify
`,"Bun.serve({",`
12 `)}var Tt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.com/server",postgres:"post
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/chunk-h5j27a4h.js View on unpkg · L1 Code excerpt · 5 lines Trigger-reachable credential exfiltration chain: manifest.module -> dist/index.js -> dist/chunk-h5j27a4h.js
1 import {il,Q,l,g,C,Xe,Ji,w,be,m,ce,ln,Dt,Pt,gr,pr,Zi}from "./chunk-r9ydamw0.js" ;import {o}from "./chunk-betvtvy7.js" ;import {U,jr,d}from "./chunk-8jqv6wh7.js" ;import {go,dd,Ip,bp,B,tr,j,z...
2 `),a=Math.max(1,s-12),c=Math.min(i.length,s+2),u=i.slice(a-1,c).map((f,h)=>{let _=a+h,S=/^[A-Z_][A-Z0-9_]*=/.test(f)?f.replace(/=.*/,"=<redacted>"):f;return` ${String (_).padStart (...
⋯
10 `)}\r
11 `,c=xi(a);return{host:` mta-sts.${t}`,body:a,id:c,txt:` v=STSv1; id=${c}`}}var Og=8461;function $h(e,t=Og){return[` const policy = ${JSON.stringify (e.body)}`,"Bun.serve({",` port: ${...
12 `)}var Tt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.co
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/chunk-h5j27a4h.js View on unpkg · L1 Code excerpt · 5 lines Trigger-reachable persistence chain: manifest.module -> dist/index.js -> dist/chunk-h5j27a4h.js
1 import {il,Q,l,g,C,Xe,Ji,w,be,m,ce,ln,Dt,Pt,gr,pr,Zi}from "./chunk-r9ydamw0.js" ;import {o}from "./chunk-betvtvy7.js" ;import {U,jr,d}from "./chunk-8jqv6wh7.js" ;import {go,dd,Ip,bp,B,tr,j,z...
2 `),a=Math.max(1,s-12),c=Math.min(i.length,s+2),u=i.slice(a-1,c).map((f,h)=>{let _=a+h,S=/^[A-Z_][A-Z0-9_]*=/.test(f)?f.replace(/=.*/,"=<redacted>"):f;return` ${String (_).padStart (...
⋯
10 `)}\r
11 `,c=xi(a);return{host:` mta-sts.${t}`,body:a,id:c,txt:` v=STSv1; id=${c}`}}var Og=8461;function $h(e,t=Og){return[` const policy = ${JSON.stringify (e.body)}`,"Bun.serve({",` port: ${...
12 `)}var Tt={php:"php.net",nginx:"nginx.org",composer:"getcomposer.org",mysql:"mysql.com",mariadb:"mariadb.com/server",po
Medium Secret patternCleared
Hardcoded password in dist/chunk-h5j27a4h.js
dist/chunk-h5j27a4h.js View on unpkg · L17 Code excerpt · 3 lines 17 patternName = generic_password
severity = medium
line = 17