---
canonical: "https://firewall.lpm.dev/npm/scip-query/v/0.26.0"
markdown: "https://firewall.lpm.dev/npm/scip-query/v/0.26.0.md"
package: "scip-query"
report_status: "published"
title: "scip-query@0.26.0 npm security report"
verdict: "suspicious"
version: "0.26.0"
---

# scip-query@0.26.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 18 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Unknown
- **Selected version:** 0.26.0
- **Selected version is latest:** Yes
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

No concrete malicious behavior was established, but an automatic lifecycle hook and bundled download-and-execution capability remain under incomplete static coverage. Downgrade for warning rather than blocking.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 68.0%
- **Started:** 2026-09-11T20:58:06.283Z
- **Finished:** 2026-09-11T21:00:27.407Z
- **Download time:** 255 ms
- **Static scan time:** 6414 ms
- **AI review time:** 134453 ms
- **Total time:** 141124 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** npm installation automatically loads the postinstall module, which inspected source shows only logs a message. Separate bundled helpers can download and execute a fixed SCIP tool when invoked by runtime functionality; no install-time invocation was confirmed.

- **Trigger:** Installing the package runs postinstall; runtime commands may invoke the bundled SCIP helper.

- **Impact:** No confirmed credential theft, exfiltration, destructive action, or install-time foreign control-surface mutation was found.

- **Review source:** ai\_review

- **Reviewed:** 2026-09-11T21:00:27.407Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Lifecycle module loading plus optional verified binary download and local command execution.

- **Rationale:** No concrete malicious behavior was established, but an automatic lifecycle hook and bundled download-and-execution capability remain under incomplete static coverage. Downgrade for warning rather than blocking.

- **Network endpoints:** https://github.com/sourcegraph/scip

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 68.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest runs a postinstall program automatically., The postinstall program imports several bundled modules during installation., Bundled code contains a downloader for a fixed Sourcegraph SCIP release and can invoke local executables., Other bundled modules use child-process APIs, and parser code has regex fallback paths; the compressed bundle prevents a decisive clean classification.

- **Evidence against:** The postinstall entry itself only prints an installation message and directs the user to run setup later., The binary download and command execution are defined as exported helper functions, with no call from the inspected postinstall entry., The observed endpoint is a named Sourcegraph SCIP release, not an arbitrary collector.

## Affected versions and remediation

This report applies to scip-query@0.26.0.

- Review the evidence and your use of scip-query@0.26.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node dist/postinstall.js || true
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node dist/postinstall.js || true
```

### 3. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 4. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 5. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/chunk-TKD34PHN.js
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-TKD34PHN.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import{a as z,b as K}from"./chunk-2HLAFUCY.js";import{B as N,C as I,D as Re,E as Oe,F as Te,G as Be,H as ke,J as De,K as Le,O as _e,a as q,b as Pe,i as be,j as h,n as x,o as P,p as...
L2: `;try{let u=Dt(s,a,n),p=A(i,u);return{kind:"published",cacheDir:o,achievedDurability:p==="synced"?"directory-durable":"file-flushed",directorySync:p}}catch(u){if(_t(u))return Y(r,o...
L3: `,"utf8"),i=$t(n,"wx",384);try{z(i,r,{writeFile:(o,s,c,a)=>Wt(o,s,c,a)},"fingerprint stat cache")}catch(o){throw Qe(i),Xe(n),o}Qe(i),Ut(n,e)}function pe(e){return Jt(e)}var _=64*10...
```

### 6. High: Shell
- **Category:** Source
- **Confidence:** 85.0%

Package source references shell execution.

### 7. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/chunk-UQFR3NDH.js
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-UQFR3NDH.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L2: `).trim();return o.length<=2e3?o:`${o.slice(0,2e3).trimEnd()}...`}function R(n,t){return t.filter(e=>n.includes(e))}var st=/<!--\s*scip-query:\s*snapshot\s*-->/i;function G(n,t){if...
L3: `).toLowerCase(),e=[],i=R(t,[".scipquery","declaredcouplings","suppression","suppressions","config","configuration","json"]);if(i.length>0)return e.push(`configuration/example term...
L4: ${e}`.toLowerCase(),r=R(i,["historical note","historical record","history note","retrospective","postmortem","post-mortem","archived","archive","previously","legacy","recorded","re...
```

### 8. Medium: Unsafe Vm Context
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** dist/chunk-7Y5T6XDP.js
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-7Y5T6XDP.js>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```javascript
L1: import{setFlagsFromString as r}from"v8";import{runInNewContext as i}from"vm";var e;function c(){if(e!==void 0)return e;let n=globalThis.gc;if(typeof n=="function")return e=n,e;try{...
L2: //# sourceMappingURL=chunk-7Y5T6XDP.js.map
```

### 9. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 10. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 11. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 12. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/chunk-CFYMZFXT.js
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-CFYMZFXT.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{$f as Di,Ae as Ne,Af as gi,B as Xe,Bf as hi,Ce as ri,Cf as yi,Da as Le,Ee as je,Ef as Si,Fa as tn,Fe as st,Ff as bi,Ge as ii,Gf as Ri,Ha as ye,Hf as xi,Ia as q,If as vi,Ja a...
L3: `),console.log("Or install it with Go:"),console.log(`  go install ${St}
```

### 13. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/chunk-K4CN7GXK.js
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-K4CN7GXK.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: import{c as un,d as Ee,g as fn,h as ne,i as dt,j as J,k as pn,l as Le,m as lt,n as L,o as gn,q as mn,r as ie,s as oe,t as De,w as W,x as ae}from"./chunk-PKN354TH.js";import{c as cn...
L2: `),console.log("Or install it with Go:"),console.log(`  go install ${Ne}
```

### 14. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 15. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

### 16. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 17. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 18. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/chunk-7WTPQ4NX.js\#virtual:string-array:round1
- **Public source:** [View source](<https://unpkg.com/scip-query@0.26.0/dist/chunk-7WTPQ4NX.js%23virtual%3Astring-array%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 5
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepublishOnly
- **Dependencies:** 10
- **Optional dependencies:** 16
- **Peer dependencies:** 0
- **Development dependencies:** 11
- **Published dependency-graph edges:** 26

### Published dependency entries
- @bufbuild/protobuf ^2.11.0 (Dependency)
- @c4312/scip ^0.1.0 (Dependency)
- @ts-morph/common ^0.29.0 (Dependency)
- @vue/compiler-dom ^3.5.40 (Dependency)
- @vue/compiler-sfc ^3.5.40 (Dependency)
- better-sqlite3 ^13.0.2 (Dependency)
- chokidar ^4.0.3 (Dependency)
- commander ^13.1.0 (Dependency)
- ignore ^7.0.3 (Dependency)
- ts-morph ^28.0.0 (Dependency)
- @sourcegraph/scip-typescript 0.4.0 (OptionalDependency)
- scip-python-plus 0.7.5 (OptionalDependency)
- scip-query-scip-windows 0.13.1 (OptionalDependency)
- tree-sitter 0.21.1 (OptionalDependency)
- tree-sitter-c 0.23.2 (OptionalDependency)
- tree-sitter-c-sharp 0.23.1 (OptionalDependency)
- tree-sitter-cpp 0.23.4 (OptionalDependency)
- tree-sitter-java 0.23.5 (OptionalDependency)
- tree-sitter-javascript 0.23.1 (OptionalDependency)
- tree-sitter-kotlin 0.3.8 (OptionalDependency)
- tree-sitter-php 0.23.12 (OptionalDependency)
- tree-sitter-python 0.23.4 (OptionalDependency)
- tree-sitter-ruby 0.23.1 (OptionalDependency)
- tree-sitter-rust 0.23.1 (OptionalDependency)
- tree-sitter-scala 0.24.0 (OptionalDependency)
- tree-sitter-typescript 0.23.2 (OptionalDependency)

## Package metadata
- **Package:** scip-query
- **Ecosystem:** npm
- **Version:** 0.26.0
- **License:** Apache-2.0
- **Version published:** 2026-09-11T20:43:06.754Z
- **Package first seen:** 2026-08-03T09:50:56.581Z
- **Package last seen:** 2026-09-13T15:11:56.850Z
- **Known versions:** 10
- **Latest version:** 0.26.0
- **Appeal under review:** No
- **Description:** Evidence and verification for AI coding agents: map code, reuse concepts, finish migrations, and gate diffs.
- **Maintainers:** plunderstruck
- **Keywords:** scip, code-intelligence, code-navigation, go-to-definition, find-references, dead-code, dependency-graph, sourcegraph, typescript, python, rust, java
- **Runtime engines:** node: \>=22.0.0
- **Artifact files:** 467
- **Artifact unpacked size:** 6,083,932 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/scip-query/v/0.26.0>)
