A powerful obfuscator for JavaScript and Node.js
This report summarizes scanner evidence for javascript-obfuscator/javascript-obfuscator, a TypeScript project with 16,320 GitHub stars. SynthScan examined 87,725 lines of code across 622 source files, recording 29 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 28 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 21 finding(s).
Which changes need focused human review? 29 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 29 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …lyzers/calls-graph-analyzer/CallsGraphAnalyzer.spec.ts | 28 | function getFunctionDeclarationByName(astTree: ESTree.Node, name: string): ESTree.FunctionDeclaration | null { | CODE |
| LOW | …lyzers/calls-graph-analyzer/CallsGraphAnalyzer.spec.ts | 53 | function getFunctionExpressionByName(astTree: ESTree.Node, name: string): ESTree.FunctionExpression | null { | CODE |
| LOW | …lyzers/calls-graph-analyzer/CallsGraphAnalyzer.spec.ts | 80 | function getFunctionExpressionById(astTree: ESTree.Node, id: string): ESTree.FunctionExpression | null { | CODE |
| LOW | …lyzers/calls-graph-analyzer/CallsGraphAnalyzer.spec.ts | 107 | function getObjectFunctionExpressionByName( | CODE |
| LOW | test/unit-tests/source-code/ObfuscationResult.spec.ts | 49 | function getSourceMapObfuscationResult( | CODE |
| LOW | test/helpers/removeRangesFromStructure.ts | 10 | export function removeRangesFromStructure(structure: TStatement[]): TStatement[] { | CODE |
| LOW | test/helpers/parseSourceMapFromObfuscatedCode.ts | 9 | export function parseSourceMapFromObfuscatedCode(obfuscatedCodeWithInlineSourceMap: string): ISourceMap { | CODE |
| LOW | …c/options/validators/IsAllowedForObfuscationTargets.ts | 18 | export function IsAllowedForObfuscationTargets( | CODE |
| LOW | src/decorators/Initializable.ts | 68 | function wrapTargetMethodsInInitializedCheck(target: IInitializable): void { | CODE |
| LOW | src/decorators/Initializable.ts | 119 | function wrapInitializeMethodInInitializeCheck(target: IInitializable, propertyKey: string | symbol): void { | CODE |
| LOW | src/decorators/Initializable.ts | 150 | function wrapInitializableProperty(target: IInitializable, propertyKey: string | symbol): PropertyDescriptor { | CODE |
| LOW | src/container/modules/generators/GeneratorsModule.ts | 41 | function identifierNameGeneratorFactory(): ( | CODE |
| LOW | …lpers/common/templates/GlobalVariableNoEvalTemplate.ts | 4 | export function GlobalVariableNoEvalTemplate (): string { | CODE |
| LOW | …lpers/common/templates/SingleCallControllerTemplate.ts | 4 | export function SingleCallControllerTemplate (): string { | CODE |
| LOW | …ommon/templates/GlobalVariableServiceWorkerTemplate.ts | 4 | export function GlobalVariableServiceWorkerTemplate (): string { | CODE |
| LOW | …array-calls-wrapper/StringArrayCallsWrapperTemplate.ts | 4 | export function StringArrayCallsWrapperTemplate(): string { | CODE |
| LOW | …y-rotate-function/StringArrayRotateFunctionTemplate.ts | 4 | export function StringArrayRotateFunctionTemplate(): string { | CODE |
| LOW | …nsole-output/templates/ConsoleOutputDisableTemplate.ts | 4 | export function ConsoleOutputDisableTemplate (): string { | CODE |
| LOW | …protection-function/DebugProtectionFunctionTemplate.ts | 4 | export function DebugProtectionFunctionTemplate(): string { | CODE |
| LOW | …on-interval/DebugProtectionFunctionIntervalTemplate.ts | 4 | export function DebugProtectionFunctionIntervalTemplate(): string { | CODE |
| LOW | …n-function-call/DebugProtectionFunctionCallTemplate.ts | 4 | export function DebugProtectionFunctionCallTemplate(): string { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/pro-api/ProApiClient.ts | 328 | // Step 1: Get client upload token from server (server adds random suffix) | COMMENT |
| LOW⚡ | src/pro-api/ProApiClient.ts | 331 | // Step 2: Upload directly to Vercel Blob using the client token | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/pro-api/ProApiClient.ts | 328 | // Step 1: Get client upload token from server (server adds random suffix) | COMMENT |
| LOW⚡ | src/pro-api/ProApiClient.ts | 331 | // Step 2: Upload directly to Vercel Blob using the client token | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/declarations/index.d.ts | 1 | /// <reference path="../../src/declarations/escodegen.d.ts" /> | COMMENT |
| LOW | .github/lock.yml | 21 | # Optionally, specify configuration settings just for `issues` or `pulls` | COMMENT |
| LOW | …ol-flow-replacers/CallExpressionControlFlowReplacer.ts | 61 | if (!NodeGuards.isIdentifierNode(callee)) { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/constants/ReservedDomProperties.json | 7235 | "placeholder", | CODE |