registry  /  @c4a/extract  /  0.6.0-beta.6

@c4a/extract@0.6.0-beta.6

Code extraction framework for Context. It owns the language-plugin protocol, repository runner, raw code snapshot contract, digest generation, and shared Tree-sitter parsing utilities.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 9 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEvalFilesystemNetworkShell
Supply chain
HighEntropyStrings
Manifest
NoLicense
scanned 2 file(s), 1.06 MB of source

Source & flagged code

4 flagged · loading source
index.jsView file
2431if (typeof node_buffer.Buffer === "function") { L2432: return node_buffer.Buffer.from(src, "base64"); L2433: } else if (typeof atob === "function") { ... L4885: yield* this.next(token); L4886: yield* this.end(forceDoc, endOffset); L4887: } L4888: *next(token) { L4889: if (node_process.env.LOG_STREAM) L4890: console.dir(token, { depth: null }); ... L7144: } L7145: if (typeof process !== "undefined" && process.platform) { L7146: return process.platform === "win32";
High
Obfuscated Payload Loader

Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.

index.jsView on unpkg · L2431
9170var func = "(" + args + " ) => { " + body + "};"; L9171: ASM_CONSTS[start] = eval(func); L9172: }
Low
Eval

Package source references a known benign dynamic code generation pattern.

index.jsView on unpkg · L9170
bin/c4a-extract-code.jsView file
28}; L29: var __require = /* @__PURE__ */ createRequire(import.meta.url); L30: var require = __require;
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/c4a-extract-code.jsView on unpkg · L28
wasm/tree-sitter-tsx.wasmView file
path = wasm/tree-sitter-tsx.wasm kind = wasm_module sizeBytes = 1445638 magicHex = [redacted]
Medium
Ships Wasm Module

Package ships WebAssembly modules.

wasm/tree-sitter-tsx.wasmView on unpkg

Findings

1 High4 Medium4 Low
HighObfuscated Payload Loaderindex.js
MediumDynamic Requirebin/c4a-extract-code.js
MediumNetwork
MediumShips Wasm Modulewasm/tree-sitter-tsx.wasm
MediumStructural Risk Force Deep Review
LowEvalindex.js
LowFilesystem
LowHigh Entropy Strings
LowNo License