10contains invisible/control Unicode U+200C (zero width non-joiner)
`:case`\r`:case`\u2028`:case`\u2029`:b(),p=`default`;return;case void 0:return b(),S(`eof`)}b()},value(){switch(_){case`{`:case`[`:return S(`punctuator`,b());case`n`:return b(),C(`ull`),S(`null`,null);case`t`:return b(),C(`rue`),S(`boolean`
CriticalTrojan Source Unicode
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/index.mjsView on unpkg · L10 488Trigger-reachable chain: scripts.start -> dist/index.mjs
L488: `)){n.push(r);continue}let e=r.split(`
L489: `);n.push(e[0]);for(let r=1;r<e.length;r++)t.push(n),n=[e[r]]}return t.push(n),t}function B2(e){let t=new Map;return e.map(e=>{let n=`${e.place}.${e.band}`,r=t.get(n)??0;return t.s...
L490: `),nextChange:be,motion:xe,menuRows:ve,evaluated:_.evaluated-y,pending:[...te].sort(),rules:re}}catch(e){l.e=e}finally{l.d()}}const p3={moving:1e3/30,still:1e3},m3=[`data`,`state`,...
L491: `}function z3(e,t){let{sessionState:n}=e,r=t.sessionId,{client:i,...a}=t.hints,o=JSON.stringify(a);n.get(r,`client-hints`)!==o&&n.set(r,C1,o);let s=J$(t.requested);n.get(r,`render-...
L492: `}const K3=new Set([`hook_event_name`,`session_id`,`session_name`,`transcript_path`,`cwd`,`model`,`workspace`,`version`,`o
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.mjsView on unpkg · L488 1#!/usr/bin/env node
L2: import{createRequire as e}from"node:module";import t from"node:process";import{URL as n,URLSearchParams as r,fileURLToPath as i}from"node:url";import{json as a}from"node:stream/con...
L3: `)}function Rt(e){if(typeof e!=`object`||!e||Array.isArray(e))return;let t=e,n=Ot.filter(e=>t[e]!==void 0);return n.every(e=>typeof t[e]==`string`&&t[e]!==``)?Object.fromEntries(n....
HighChild Process
Package source references child process execution.
dist/index.mjsView on unpkg · L1 491`}function z3(e,t){let{sessionState:n}=e,r=t.sessionId,{client:i,...a}=t.hints,o=JSON.stringify(a);n.get(r,`client-hints`)!==o&&n.set(r,C1,o);let s=J$(t.requested);n.get(r,`render-...
L492: `}const K3=new Set([`hook_event_name`,`session_id`,`session_name`,`transcript_path`,`cwd`,`model`,`workspace`,`version`,`output_style`,`cost`,`context_window`,`exceeds_200k_tokens`...
L493: `),r=+!t;for(let e=n.length-1;e>=r;e--){let t=n[e];if(!t||!Y8.test(t))continue;let r=X8(t);if(r!=null)return r}return null}var t5=class{bySession=Y.observable.map(void 0,{deep:!1})...
...
L502: `).map(e=>e.trim().split(` `)).filter(([,e])=>e===t).map(([e])=>e)}const xte=/(^|\/)(cc-attach|bun-attach\.js)(\s|$)/;function Ste(e,t,n){for(let r of aY(iY(e),t)){if(r.command.spl...
L503: `);async function wte(e,t){if(
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.mjsView on unpkg · L491 488`)){n.push(r);continue}let e=r.split(`
L489: `);n.push(e[0]);for(let r=1;r<e.length;r++)t.push(n),n=[e[r]]}return t.push(n),t}function B2(e){let t=new Map;return e.map(e=>{let n=`${e.place}.${e.band}`,r=t.get(n)??0;return t.s...
L490: `),nextChange:be,motion:xe,menuRows:ve,evaluated:_.evaluated-y,pending:[...te].sort(),rules:re}}catch(e){l.e=e}finally{l.d()}}const p3={moving:1e3/30,still:1e3},m3=[`data`,`state`,...
L491: `}function z3(e,t){let{sessionState:n}=e,r=t.sessionId,{client:i,...a}=t.hints,o=JSON.stringify(a);n.get(r,`client-hints`)!==o&&n.set(r,C1,o);let s=J$(t.requested);n.get(r,`render-...
L492: `}const K3=new Set([`hook_event_name`,`session_id`,`session_name`,`transcript_path`,`cwd`,`model`,`workspace`,`version`,`output_style`,`cost`,`context_window`,`exceeds_200k_tokens
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.mjsView on unpkg · L488 488Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.mjs
L488: `)){n.push(r);continue}let e=r.split(`
L489: `);n.push(e[0]);for(let r=1;r<e.length;r++)t.push(n),n=[e[r]]}return t.push(n),t}function B2(e){let t=new Map;return e.map(e=>{let n=`${e.place}.${e.band}`,r=t.get(n)??0;return t.s...
L490: `),nextChange:be,motion:xe,menuRows:ve,evaluated:_.evaluated-y,pending:[...te].sort(),rules:re}}catch(e){l.e=e}finally{l.d()}}const p3={moving:1e3/30,still:1e3},m3=[`data`,`state`,...
L491: `}function z3(e,t){let{sessionState:n}=e,r=t.sessionId,{client:i,...a}=t.hints,o=JSON.stringify(a);n.get(r,`client-hints`)!==o&&n.set(r,C1,o);let s=J$(t.requested);n.get(r,`render-...
L492: `}const K3=new Set([`hook_event_name`,`session_id`,`session_name`,`transcript_path`,`cwd`,`mod
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.mjsView on unpkg · L488 1#!/usr/bin/env node
L2: import{createRequire as e}from"node:module";import t from"node:process";import{URL as n,URLSearchParams as r,fileURLToPath as i}from"node:url";import{json as a}from"node:stream/con...
L3: `)}function Rt(e){if(typeof e!=`object`||!e||Array.isArray(e))return;let t=e,n=Ot.filter(e=>t[e]!==void 0);return n.every(e=>typeof t[e]==`string`&&t[e]!==``)?Object.fromEntries(n....
L4: `),withdraw:()=>c.end()})}function Mn(e){let t;try{t=y(e,`utf8`).trim()}catch(e){if(e.code===`ENOENT`)return null;throw e}let n=/^exit (\d+)$/.exec(t);if(n)return{kind:`exit`,code:...
L5: `)}const dr=`/usr/bin/footprint`;function fr(e,t,n){return t===`darwin`?[gr(e,dr,[`-p`,String(n)]),gr(e,`/usr/bin/vmmap`,[`--summary`,String(n)])]:t===`linux`?[_r(`/proc/self/smaps...
L6: `).map(e=>e.trim()).
LowWeak Crypto
Package source references weak cryptographic algorithms.
dist/index.mjsView on unpkg · L1