github.com / p10node
p10node/ office-engine
TypeScript·421 files·commit c037f5d·scanned 7d ago·cached ✓
70/100
DANGEROUS
High-risk patterns found. Review the flagged code and its context before running it.
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
Obfuscated code detected
Created 16 days ago
Created 16 days ago
threat-state: dangerouslive
FINDINGS ░▒▓
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.src/core/xlsx/formula/evaluate.ts
eval(ast: Ast, top: boolean): Val {
switch (ast.type) {
case 'num':+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.src/core/xlsx/formula/fn.ts
readonly c: number
eval(ast: Ast, top: boolean): Val
cell(sheet: string | undefined, r: number, c: number): Value
/** visit cells of a range (whole-row/col ranges clipped to the provider's bou...+8criticalSuspicious code is reachable from an entry pointFlagged files are imported by the application's entry path: src/core/xlsx/formula/evaluate.ts, src/core/xlsx/formula/fn.ts, src/react/docx/DocxView.tsx. This means the suspicious code can execute when the app runs.+8
warningClipboard read accessnavigator.clipboard.readText() reads the user's clipboard. In a wallet/crypto context this is often used to steal copied seed phrases or private keys.src/react/docx/DocxView.tsx
}
const text = await navigator.clipboard.readText()
if (text) opInsert(editor, sel, text)
} catch {+4criticalString-array obfuscation detectedCode resolves its string literals through a rotating string-array decoder — many `name(0xNNN)` index calls that reconstruct hidden strings at runtime. This is the structural signature of javascript-obfuscator regardless of the variable-naming scheme, so it fires even when mangled identifiers (e.g. `j5`, `jM`) are used to evade _0x-based detection. Commonly used to hide malware from code review.test/doc-builder.ts
const fc = this.data.length
const blipRec = new Buf().u16(0x6e0 << 4).u16(0xf01e).u32(17 + png.length).zeros(16).u8(0xff).bytes(png).done()
const fbse = new Buf().u16(0x2 | (6 << 4)).u16(0...+18criticalString-array obfuscation detectedCode resolves its string literals through a rotating string-array decoder — many `name(0xNNN)` index calls that reconstruct hidden strings at runtime. This is the structural signature of javascript-obfuscator regardless of the variable-naming scheme, so it fires even when mangled identifiers (e.g. `j5`, `jM`) are used to evade _0x-based detection. Commonly used to hide malware from code review.test/legacy-xls.test.ts
// A1+B$2*-$C3%
expect(f(cat(ptg.ref(0, 0), ptg.ref(1, 1, false, true), ptg.ref(2, 2, true, false), ptg.op(0x13), ptg.op(0x14), ptg.op(0x05), ptg.op(0x03)))).toBe('A1+B$2*-$C3%')
// ("a"&"...+18warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.src/core/xlsx/editor.ts+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.src/react/source/highlight.ts+3
infoEmbedded binary assetA 108-character base64 literal decodes to a PNG image. Inlined assets are normal in desktop and CLI UIs.e2e/harness.ts
iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFklEQVR4nGP4...+0
Scores reflect the files and rules covered by this scan. How to read this report
322 files scanned @ c037f5d | 11/18/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access4
obfuscation15
supply chain2
owasp / injection0
telemetry
files 322/421rules hit 12engine v10commit c037f5d
github
p10node/office-engine
View & edit DOCX, XLSX, PPTX in the browser. Progressive loading, formulas, real-time collab, saves to original format.
141
10
23d
421 files
322 scanned(76%)
c037f5d
network indicators░▒▓
Hosts this code names or would connect to. 17 found, decoded and call-site destinations first. Informational, not scored.
- http://openoffice.org/2009/officeurlsrc/core/legacy/odf/common.ts:37 +1 more
- https://go.microsoft.com/fwlink/urlsrc/core/xlsx/comments.ts:174
- http://purl.oclc.org/ooxml/officeDocument/relationshipsurlsrc/core/xml.ts:19
- docx.pagedomainsrc/collab/docx.ts:109 +28 more
- docx.hfdomainsrc/collab/docx.ts:110 +26 more
- docx.linkdomainsrc/collab/docx.ts:303 +8 more
- https://x.yurltest onlytest/convert.test.ts:107 +3 more
- https://eldora.vnurltest onlytest/edit.test.ts:208 +2 more
- https://a.b/curltest onlytest/legacy-doc.test.ts:386 +1 more
- https://a.comurltest onlytest/packages.test.ts:88 +1 more
- https://c.comurltest onlytest/packages.test.ts:88 +2 more
- https://r.comurltest onlytest/packages.test.ts:88 +2 more
- http://www.d.comurltest onlytest/packages.test.ts:89
- http://x.yurltest onlytest/url.test.ts:8
- https://graphviz.org/doc/info/lang.htmlurlcomment onlysrc/core/diagram/dot.ts:4
- https://mermaid.js.org/intro/syntax-reference.htmlurlcomment onlysrc/core/diagram/mermaid.ts:3
- https://plantuml.comurlcomment onlysrc/core/diagram/plantuml.ts:4
architecture░▒▓
entry (1) flagged (7) pkg (49)
363 nodes · 1428 edgesscroll to zoom · click node to jump to finding