73(relative_path, symbol, project_fingerprint, version, payload) VALUES (?, ?, ?, ?, ?)`),dropStaleReferences:n.prepare("DELETE FROM semantic_references WHERE project_fingerprint != ...
L74: (check_name, finding_id, first_seen, last_seen, times_shown, outcome) VALUES (?, ?, ?, ?, ?, ?)`)}}catch(n){dl("disabled (open failed)",n)}return Ns.set(e,t),t}function zt(e,t,n){d...
L75: `;if(t)try{let i=RP(t);mf.has(i)||(vP(i,{recursive:!0}),mf.add(i)),CP(t,r);return}catch(i){pf||(pf=!0,process.stderr.write(`[profile] failed to write ${t}: ${i instanceof Error?i.m...
...
L79: `&&(i+=1),r+=1,o==='"')break}return{index:r,line:i}}function gl(e){return e==="'"||e==="`"||e==="~"||e==="@"||e==="^"||e==="#"}function hl(e){return/\s|,/.test(e)||e==="("||e===")"...
L80: `)))}import{readdirSync as CI}from"fs";import{execFileSync as vI}from"child_process";import{extname as zs,join as RI}from"path";var Ml=[".ts",".tsx",".mts",".cts",".js",".jsx",".mj...
L81: `)){let o=i.trim();o&&(EI(o)||t.has(zs(o).toLowerCase())&&r.add(o))}return r}catch{return null}}function EI(e){return e.split("/").some(t=>Ks.has(t))}function NI(e,t){let n=new Set...
L82: `).length:0,u=mr(r.template),d=o.lineCount,m=r.styles.red
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli.jsView on unpkg · L73 74(check_name, finding_id, first_seen, last_seen, times_shown, outcome) VALUES (?, ?, ?, ?, ?, ?)`)}}catch(n){dl("disabled (open failed)",n)}return Ns.set(e,t),t}function zt(e,t,n){d...
L75: `;if(t)try{let i=RP(t);mf.has(i)||(vP(i,{recursive:!0}),mf.add(i)),CP(t,r);return}catch(i){pf||(pf=!0,process.stderr.write(`[profile] failed to write ${t}: ${i instanceof Error?i.m...
L76: `));return}ke()&&process.stderr.write(r)}function ff(e){return typeof e=="function"?e():e}var EP=[$t("source-facts",{dependsOn:["content-hash","tool-version"],keyParts:["kind","rel...
...
L79: `&&(i+=1),r+=1,o==='"')break}return{index:r,line:i}}function gl(e){return e==="'"||e==="`"||e==="~"||e==="@"||e==="^"||e==="#"}function hl(e){return/\s|,/.test(e)||e==="("||e===")"...
L80: `)))}import{readdirSync as CI}from"fs";import{execFileSync as vI}from"child_process";import{extname as zs,join as RI}from"path";var Ml=[".ts",".tsx",".mts",".cts",".js",".jsx",".mj...
L81: `)){let o=i.trim();o&&(EI(o)||t.has(zs(o).toLowerCase())&&r.add(o))}return r}catch{return null}}function EI(e){return e.split("/").some(t=>Ks.has(t))}function NI(e,t){let n=new Set...
L82: `).length:0,u=mr(r.template),d=o.lineCount,m=r.styles.red
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/cli.jsView on unpkg · L74 255${e.symbolNoiseFor("gs")}`),n=new Map;for(let r of t){if(!r.relative_path||e.isIgnored(r.relative_path))continue;let i=M(r.symbol);if(!i)continue;let o=n.get(i);o||(o=[],n.set(i,o)...
L256: `),c=[];for(let l=0;l<a.length;l++){if(l===i)continue;let u=a[l]??"";s.lastIndex=0;let d;for(;(d=s.exec(u))!==null;)c.push({file:t,line:l,column:d.index})}return So(c.filter(l=>xo(...
L257: d.id AS documentId,
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/cli.jsView on unpkg · L255 9`):[]})}var oP=/^\s*(?:\/\/|#|\/\*+|\*)\s*scip-query[\s:-]*ignore(?:[\s:-]+(dead(?:-code)?|stale|wrapper|passthrough|drift|extract|similar))?\b/i;function no(e){let t=oP.exec(e);re...
L10: `).length}function ul(e,t,n){let r={relativePath:t,template:null,scripts:[],styles:[],customBlocks:[],errors:[]};if(!n)return r;let i;try{i=sP(n,{filename:t})}catch(s){return r.err...
L11: `).length-1):0;return{kind:n,ownerPath:t,sourcePath:c,external:!0,src:s,attrs:i,lang:o,body:l,startLine:0,endLine:u,errors:l?[]:[`Vue ${n} block source not found: ${c}`]}}let a=Mat...
...
L13: `),startLine:0,language:o}:null}var Xp=dr("ast-trees",{clearGroups:["whole-project","source-file"]});function ie(e,t){if(fn(t))return dP(e,t);let n=U(t);if(!n)return null;let r=F(e...
L14: `.repeat(r.startLine)+r.body;return to(r.language,i)}):null}function ti(e,t){let n=mP(e,t);if(!n)return null;let r=ei(n);return r?{calleeLeaf:r,memberAccess:pP(n),line:e.startPosit...
L15: CREATE TABLE IF NOT EXISTS file_evidence (
...
L74: (check_name, finding_id, first_seen, last_seen, times_shown, outcome) VALUES (?, ?, ?, ?, ?, ?)`)}}catch(n){dl("disabled (open failed)",n)}return Ns.set(e,t),t}function zt(e,t,n){d...
L75: `;if(t
LowWeak Crypto
Package source references weak cryptographic algorithms.
dist/cli.jsView on unpkg · L9