Repository Analysis

vmoranv/jshookmcp

js hook toolkit that all you need

7.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of vmoranv/jshookmcp, a TypeScript project with 1,744 GitHub stars. SynthScan v2.0 examined 601,882 lines of code across 2530 source files, recording 1622 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 7.0 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.0
Adjusted Score
7.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
1.7K
Stars
TypeScript
Language
601.9K
Lines of Code
2.5K
Files
1.6K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 5HIGH 9MEDIUM 1197LOW 411

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1622 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1193 hits · 3642 pts
SeverityFileLineSnippetContext
MEDIUMtests/setup.ts27// ── Global mock for PageController evaluate wrappers ─────────────────COMMENT
MEDIUMtests/setup.registry.ts25// ── Global mock for PageController evaluate wrappers ─────────────────COMMENT
MEDIUMtests/native/ScanComparators.coverage.test.ts20// ── Helpers (same as ScanComparators.test.ts) ─────────────────────────────────COMMENT
MEDIUMtests/native/ScanComparators.coverage.test.ts74// ── getValueSize: default branch ──────────────────────────────────────────────COMMENT
MEDIUMtests/native/ScanComparators.coverage.test.ts83// ── getDefaultAlignment: all uncovered branches ──────────────────────────────COMMENT
MEDIUMtests/native/ScanComparators.coverage.test.ts115// ── readTypedValue: uncovered branches ───────────────────────────────────────COMMENT
MEDIUMtests/native/ScanComparators.coverage.test.ts153// ── compareScanValues: uncovered branches ────────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.coverage.test.ts52// ── computeStats: boundary branches ─────────────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.coverage.test.ts170// ── classifyBlock: boundary cases ─────────────────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.coverage.test.ts243// ── detectSuspiciousSizes: zero-size edge ─────────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.coverage.test.ts283// ── detectPossibleUaf: non-zero data in free block ───────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.coverage.test.ts313// ── detectSpray: size tolerance boundary ─────────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.test.ts292 // ── Double-free detection ──────────────────────────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.test.ts367 // ── Shannon entropy (volatility malfind-style heuristic) ────────────COMMENT
MEDIUMtests/native/HeapAnalyzer.test.ts402 // ── High-entropy heap block detection ────────────────────────────────COMMENT
MEDIUMtests/server/domains/manifests.test.ts9// ── vi.mock declarations (hoisted) ──────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/manifests.test.ts176// ── Manifest imports ────────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/manifests.test.ts194// ── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/manifests.test.ts246// ── All manifests table ─────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/manifests.test.ts346// ── Tests ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts5// ── mock factories ────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts60// ── test subject ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts75 // ── handleMojoMonitorDispatch ─────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts109 // ── handleMojoMonitorStart ────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts196 // ── handleMojoMonitorStop ─────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts238 // ── handleMojoDecodeMessage ───────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts316 // ── handleMojoEncodeMessage ───────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts387 // ── handleMojoListInterfaces ──────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts469 // ── handleMojoMessagesGet ─────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts752 // ── lazy initialization (private getMonitor / getDecoder) ──────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts790 // ── unavailablePayload helper (indirect coverage) ──────────────────────────COMMENT
MEDIUMtests/server/domains/mojo-ipc/handlers.coverage.test.ts871 // ── MCP-safe wrappers ─────────────────────────────────────────────────────COMMENT
MEDIUM…sts/server/domains/mojo-ipc/handlers.summarize.test.ts55 // ── handleMojoMessagesGet direction param ──────────────────────────────COMMENT
MEDIUM…sts/server/domains/mojo-ipc/handlers.summarize.test.ts90 // ── handleMojoMessagesSummarize ─────────────────────────────────────────COMMENT
MEDIUM…sts/server/domains/mojo-ipc/handlers.summarize.test.ts224 // ── handleMojoEncodeMessage v2 header options ───────────────────────────COMMENT
MEDIUM…er/domains/v8-inspector/route-a-deopt-turbofan.test.ts10// ── v8_deopt_trace ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…er/domains/v8-inspector/route-a-deopt-turbofan.test.ts50// ── v8_turbofan_inspect ───────────────────────────────────────────────────────COMMENT
MEDIUM…er/domains/v8-inspector/route-a-deopt-turbofan.test.ts89// ── v8_function_retained ──────────────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts76 // ── getExtensionTargets ────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts244 // ── pickPreferredExtensionTarget ───────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts279 // ── extractExtensionId ─────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts305 // ── evaluateInAttachedTarget ───────────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts332 // ── handleExtensionListInstalled ───────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts380 // ── handleExtensionExecuteInContext ────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts473 // ── handleSourcemapDiscover ────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts523 // ── handleSourcemapFetchAndParse ───────────────────────────────────COMMENT
MEDIUMtests/server/domains/sourcemap/extension-main.test.ts614 // ── handleSourcemapReconstructTree ─────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts159 // ─── handleCollectCode ────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts341 // ─── handleSearchInScripts ────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts451 // ─── handleExtractFunctionTree ────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts545 // ─── handleUnderstandCode ─────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts593 // ─── handleDetectCrypto ───────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts619 // ─── handleManageHooks ────────────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts693 // ─── handleDetectObfuscation ──────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts742 // ─── handleClearCollectedData ─────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts767 // ─── handleGetCollectionStats ─────────────────────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts809 // ─── handleDeobfuscate — additional edge cases ────────────────────COMMENT
MEDIUMtests/server/domains/analysis/handlers-extended.test.ts868 // ─── handleWebcrackUnpack — additional cases ──────────────────────COMMENT
MEDIUM…rver/domains/coordination/state-board/handlers.test.ts11 // ── state_board_set ──────────────────────────────────────────────────────────COMMENT
MEDIUM…rver/domains/coordination/state-board/handlers.test.ts69 // ── state_board_get ─────────────────────────────────────────────────────────COMMENT
1133 more matches not shown…
Hyper-Verbose Identifiers335 hits · 335 pts
SeverityFileLineSnippetContext
LOW…/server/domains/v8-inspector/handlers.coverage.test.ts112function createMockDepsWithoutPage(): V8InspectorDomainDependencies {CODE
LOW…ts/server/domains/boringssl-inspector/handlers.test.ts866function createWebSocketTestServer(): (socket: NetSocket) => void {CODE
LOW…ts/server/domains/boringssl-inspector/handlers.test.ts1144function buildClientHelloWithExtensions(extBuffers: Buffer[]): Buffer {CODE
LOW…ver/domains/platform/electron-verify-signature.test.ts178function buildMachoWithCodeSignature(opts: { ident: string; cmsPkcs7Der: Buffer | null }): Buffer {CODE
LOWtests/server/domains/wasm/detect-obfuscation.test.ts34function repeatDeadCodeBranchNumeric(nextInstruction: string): string {CODE
LOWtests/server/domains/wasm/module-structure.test.ts200function makeTargetFeaturesSection(features: Array<{ prefix: number; name: string }>): Buffer {CODE
LOWtests/server/domains/shared/export-contract-helpers.ts31export async function assertDomainExportContract(CODE
LOWtests/server/domains/canvas/handlers.test.ts59 function createSequentialMockPageController(...results: unknown[]) {CODE
LOWtests/server/domains/canvas/handlers.test.ts68 function createScriptExecutingPageController(context: {CODE
LOWtests/server/domains/canvas/handlers.test.ts82 function createMockDebuggerManager() {CODE
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts172function createMockDebuggerManager(CODE
LOWtests/server/domains/canvas/canvas.integration.test.ts26function createDebuggerManagerMock(CODE
LOWtests/server/domains/canvas/canvas.coverage.test.ts191function installDefaultFingerprintCanvasMock() {CODE
LOWtests/server/domains/canvas/canvas.coverage.test.ts265function createSequentialMockPageController(...results: unknown[]) {CODE
LOWtests/server/domains/canvas/canvas.coverage.test.ts275function createMockDebuggerManager() {CODE
LOW…s/server/domains/canvas/adapters/three-adapter.test.ts189 function MockWebGLRenderingContext() {},CODE
LOW…server/domains/canvas/adapters/babylon-adapter.test.ts133 function MockWebGLRenderingContext() {},CODE
LOW…r/domains/canvas/adapters/multi-engine-adapter.test.ts76function runInterfaceConformanceTests(CODE
LOWtests/server/domains/browser/page-interaction.test.ts75function createCamoufoxInteractionContext() {CODE
LOW…/domains/browser/camoufox-browser-dependencies.test.ts4function CamoufoxBrowserManagerMock() {}CODE
LOW…rver/domains/browser/captcha-solver-additional.test.ts25function installJsonTaskApiFailureMock() {CODE
LOW…server/domains/browser/captcha-solver-coverage.test.ts37function installJsonTaskApiFailureMock() {CODE
LOW…rver/domains/browser/handlers/camoufox-browser.test.ts23 CamoufoxBrowserManager: function CamoufoxBrowserManagerMock() {CODE
LOWtests/server/domains/process/handlers.test.ts25 UnifiedProcessManager: function UnifiedProcessManagerMock() {CODE
LOW…ts/server/domains/process/process-enum-threads.test.ts17 UnifiedProcessManager: function UnifiedProcessManagerMock() {CODE
LOWtests/server/search/ReRanker.test.ts124function makeReRankerWithSampleTools(CODE
LOWtests/server/http/SseStream.test.ts12function createMockResponseFactory() {CODE
LOW…es/v8-inspector/HeapSnapshotParser.analyzeHeap.test.ts66function generateSnapshotWithDetachedDOM(): string {CODE
LOWtests/modules/monitor/ConsoleMonitor.test.ts154function createCollectorWithSessions(...sessions: Array<any>) {CODE
LOW…ts/modules/native-emulator/runtime-diagnostics.test.ts26function buildSoWithUnresolvedImport(): Uint8Array {CODE
LOWtests/modules/boringssl-inspector/tls-parser.test.ts296function buildClientHelloWithGroups(groups: number[]): Buffer {CODE
LOWtests/modules/boringssl-inspector/tls-parser.test.ts301function buildClientHelloWithSessionTicket(): Buffer {CODE
LOWtests/modules/boringssl-inspector/tls-parser.test.ts323function buildClientHelloWithExtensions(extBuffers: Buffer[]): Buffer {CODE
LOWtests/modules/boringssl-inspector/tls-parser.test.ts398function buildSupportedGroupsExtension(groups: number[]): Buffer {CODE
LOWtests/modules/browser/BrowserDiscovery.branches.test.ts49function checkDebugPortFromCommandLine(CODE
LOWtests/modules/stealth/StealthScripts.coverage.test.ts59function FakeWebGLRenderingContext() {}CODE
LOWtests/e2e/protocol-runtime-assisted.e2e.test.ts174async function waitForCapturedSignedRequest(CODE
LOWtests/e2e/ai-hook-persistent-iframe.e2e.test.ts12function buildNestedIframeFixtureUrl(): string {CODE
LOWtests/e2e/helpers/mcp-client.ts67function isPerformanceSamplingEnabled(): boolean {CODE
LOWtests/e2e/helpers/capability-probe.ts52export function recordCapabilityObservation(CODE
LOWtests/e2e/helpers/capability-probe.ts127export function getObservedWasmArtifactPath(): string | null {CODE
LOWscripts/search-tune/report.ts45function computeSpearmanImportance(trials: TrialResult[]): ParameterImportance[] {CODE
LOWsrc/native/Win32Debug.ts269export function DebugSetProcessKillOnExit(killOnExit: boolean): void {CODE
LOWsrc/native/NativeMemoryManager.availability.ts3export async function checkNativeMemoryAvailability(CODE
LOWsrc/native/Win32API.ts427export function NtQueryInformationProcess(CODE
LOWsrc/native/HandleEnumerator.ts114function getNtQuerySystemInformation() {CODE
LOWsrc/native/HandleEnumerator.ts329function buildTypeIndexCacheFromProcess(CODE
LOWsrc/native/platform/ThreadEnumerator.ts96export async function enumerateThreadsByPlatform(platform: string, pid: number): Promise<number[]> {CODE
LOWsrc/native/platform/darwin/DarwinMemoryProvider.ts70function machProtToMemoryProtection(prot: number): MemoryProtection {CODE
LOWsrc/native/platform/darwin/DarwinMemoryProvider.ts81function memoryProtectionToMachProt(prot: MemoryProtection): number {CODE
LOWsrc/server/MCPServer.search.validation.runtime.ts14export function validateToolArgsAgainstSchema(CODE
LOWsrc/server/ToolRouter.policy.ts46function buildStatelessComputeSequence(CODE
LOWsrc/server/ToolRouter.policy.ts137export function getEffectivePrerequisites(): Record<string, PrerequisiteEntry[]> {CODE
LOWsrc/server/ToolRouter.policy.ts157export function buildWorkflowToolSequence(CODE
LOWsrc/server/ToolRouter.policy.ts228export function buildPresetRecommendations(CODE
LOWsrc/server/ToolRouter.policy.ts243export function buildStatelessComputeRecommendations(CODE
LOWsrc/server/ToolRouter.policy.ts257export function buildWorkflowRouteRecommendation(CODE
LOWsrc/server/ToolRouter.intent.ts56export function getEffectiveWorkflowRules(): WorkflowRule[] {CODE
LOWsrc/server/ToolRouter.intent.ts188export function detectCrossDomainFromDependencies(CODE
LOWsrc/server/ToolRouter.intent.ts278function getToolDomainForDependency(CODE
275 more matches not shown…
Cross-Language Confusion (JS/TS)8 hits · 52 pts
SeverityFileLineSnippetContext
HIGHsrc/modules/emulator/EmulatorCodeGen.ts312 lines.push(' return None');CODE
HIGHsrc/modules/process/memory/injector.ts480 print("ERROR_INJECT: mmap failed")CODE
HIGHsrc/modules/process/memory/injector.ts491 print(f"SUCCESS_INJECT: {int(res)}")CODE
HIGHsrc/modules/process/memory/injector.ts493 print(f"ERROR_INJECT: {str(e)}")CODE
HIGHsrc/modules/process/memory/injector.ts528 print("ERROR_INJECT: " + res.GetError())CODE
HIGHsrc/modules/process/memory/injector.ts539 print("ERROR_INJECT: write failed")CODE
HIGHsrc/modules/process/memory/injector.ts546 print("SUCCESS_INJECT")CODE
HIGHsrc/modules/process/memory/injector.ts548 print("ERROR_INJECT: " + str(e))CODE
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALtests/server/domains/streaming/streaming-ws.test.ts217 const registeredEvents = mocks.session.on.mock.calls.map((c: any[]) => c[0]);CODE
CRITICALtests/server/domains/streaming/streaming-ws.test.ts1002 const removedEvents = mocks.session.off.mock.calls.map((c: any[]) => c[0]);CODE
CRITICAL…ts/modules/browser/BrowserTargetSessionManager.test.ts492 const addScriptCalls = parentSession.pageSession.send.mock.calls.filter(CODE
CRITICALtests/modules/debugger/ScriptManager.impl.class.test.ts203 cdp.session.send.mock.calls.filter(([method]) => method === 'Debugger.getScriptSource'),CODE
CRITICALtests/modules/debugger/ScriptManager.impl.class.test.ts210 cdp.session.send.mock.calls.filter(([method]) => method === 'Debugger.getScriptSource'),CODE
Verbosity Indicators22 hits · 40 pts
SeverityFileLineSnippetContext
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts211 // Step 1: Analyze mitigationsCOMMENT
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts225 // Step 2: Find gadgetsCOMMENT
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts247 // Step 3: Check cache statsCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1300 // Step 1: FingerprintCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1308 // Step 2: Scene dumpCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1319 // Step 3: PickCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1330 // Step 4: TraceCOMMENT
LOWsrc/server/domains/memory/handlers/address-formula.ts89 // Step 1: resolve baseCOMMENT
LOWsrc/server/domains/memory/handlers/address-formula.ts96 // Step 2: apply operations left-to-rightCOMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts258// Step 1: Allocate victim ${targetType} objects (fill the freelist)COMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts264// Step 2: Create hole by de-referencing victims[50]COMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts267// Step 3: Allocate attacker in freed slotCOMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts270// Step 4: Use dangling reference via victims array`;COMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts46 // Step 1: Enable debugger and set event breakpointCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts64 // Step 2: Dispatch click at coordinatesCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts70 // Step 3: Wait for debugger to pause on the event breakpointCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts89 // Step 4: Record evidenceCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts239 // Step 1: DFS to compute preorder numberingCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts242 // Step 2: Compute semi-dominators and immediate dominatorsCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts368 // Step 2: Compute semi-dominator of wCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts392 // Step 3: Implicitly define idom for nodes in bucket of parent.COMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts414 // Step 4: Adjust idom for nodes that had deferred computationCOMMENT
Structural Annotation Overuse22 hits · 39 pts
SeverityFileLineSnippetContext
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts211 // Step 1: Analyze mitigationsCOMMENT
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts225 // Step 2: Find gadgetsCOMMENT
LOW…s/server/domains/exploit-dev/caching-benchmark.test.ts247 // Step 3: Check cache statsCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1300 // Step 1: FingerprintCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1308 // Step 2: Scene dumpCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1319 // Step 3: PickCOMMENT
LOW…ver/domains/canvas/canvas.handlers.integration.test.ts1330 // Step 4: TraceCOMMENT
LOWsrc/server/domains/memory/handlers/address-formula.ts89 // Step 1: resolve baseCOMMENT
LOWsrc/server/domains/memory/handlers/address-formula.ts96 // Step 2: apply operations left-to-rightCOMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts258// Step 1: Allocate victim ${targetType} objects (fill the freelist)COMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts264// Step 2: Create hole by de-referencing victims[50]COMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts267// Step 3: Allocate attacker in freed slotCOMMENT
LOW…r/domains/exploit-dev/handlers/HeapExploitGenerator.ts270// Step 4: Use dangling reference via victims array`;COMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts46 // Step 1: Enable debugger and set event breakpointCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts64 // Step 2: Dispatch click at coordinatesCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts70 // Step 3: Wait for debugger to pause on the event breakpointCOMMENT
LOWsrc/server/domains/canvas/handlers/trace.ts89 // Step 4: Record evidenceCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts239 // Step 1: DFS to compute preorder numberingCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts242 // Step 2: Compute semi-dominators and immediate dominatorsCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts368 // Step 2: Compute semi-dominator of wCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts392 // Step 3: Implicitly define idom for nodes in bucket of parent.COMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts414 // Step 4: Adjust idom for nodes that had deferred computationCOMMENT
Over-Commented Block26 hits · 26 pts
SeverityFileLineSnippetContext
LOWvitest.config.ts201 // failing healthy pushes on 0.01-0.1% runner deltas. Node 22 vs 24 V8COMMENT
LOWtests/contracts/security-overrides.test.ts1// Supply-chain security contract: pnpm overrides that pin a transitiveCOMMENT
LOWtests/server/domains/trace/handlers.test.ts1541 it('exports to HAR 1.4 format with structured entries and captured bodies', async () => {COMMENT
LOW…server/domains/exploit-dev/one-gadget.coverage.test.ts21 lookupOneGadgets,COMMENT
LOW…ork/handlers.impl.core.runtime.replay.coverage.test.ts341 // ══════════════════════════════════════════════════════════════════════════COMMENT
LOWtests/utils/TokenBudgetManager.coverage.test.ts21COMMENT
LOW…s/modules/native-emulator/CpuEngine.stackframe.test.ts161 expect(engine.readRegister('x0')).toBe(0x11);COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts161// NOTE: sha512Compress helper removed — the algorithm analysis was incomplete.COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts241COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts281 d = c!;COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts301 // a = T1_t + Sigma0(a_old) + Maj(a_old, b_old, c_old)COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts321 //COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts341 // So the register mapping I had above is correct. The question is:COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts361 // And the new accumulator state stored in Vd after H would be [a_t2, b_t2]COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts381COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts401 // rd[0]' = d0 + Σ1(h + core_T1_0 + K0+W0) + Ch(h + core_T1_0 + K0+W0, e, f)COMMENT
LOW…sts/modules/native-emulator/simd-crypto-sha512.test.ts421 // SHA256H: Vd.4S=[a,b,c,d], Vn.4S=[e,f,g,h], Vm.4S=[wk0,wk1,wk2,wk3]COMMENT
LOWsrc/native/Win32Debug.ts81 SNAPHEAPLIST: 0x00000001,COMMENT
LOWsrc/native/Speedhack.ts61 MEM,COMMENT
LOWsrc/server/domains/memory/handlers/find-accesses.ts101 return await resolveMemoryDomainPid(value, this.processManager, this.ctx);COMMENT
LOWsrc/server/domains/memory/handlers/find-accesses.ts121 // hardware-assisted breakpoint counters on recent kernels (>=4.3).COMMENT
LOW…rver/domains/exploit-dev/handlers/egghunter-encoder.ts201 // or dx, 0xfff ; align to pageCOMMENT
LOWsrc/modules/v8-inspector/DominatorTreeBuilder.ts281 const { pre, vertex, parent } = dfsState;COMMENT
LOWsrc/modules/v8-inspector/HeapSnapshotParser.ts681 }COMMENT
LOWsrc/modules/native-emulator/simd-crypto.ts381export function pmull2(vn: Uint8Array, vm: Uint8Array): Uint8Array<ArrayBuffer> {COMMENT
LOWsrc/modules/native-emulator/decoder/BranchSystem.ts181 // pads (PAC/BTI) don't fault. NOP itself is 0xD503201F.COMMENT
Excessive Try-Catch Wrapping4 hits · 7 pts
SeverityFileLineSnippetContext
LOWsrc/modules/process/memory/injector.ts492 except Exception as e:CODE
LOWsrc/modules/process/memory/injector.ts547 except Exception as e:CODE
MEDIUMsrc/modules/process/memory/injector.ts474def inject():CODE
MEDIUMsrc/modules/process/memory/injector.ts518def __lldb_init_module(debugger, internal_dict):CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…server/domains/browser/handlers/safe-code-transform.ts104 // Use JSON.stringify for robust escapingCOMMENT
MEDIUMsrc/modules/webgpu/WgslParser.ts71 // scanner is robust against it and against nested struct definitions inCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/server/MCPServer.tools.ts16 return -32002; // Custom ResourceNotFound, standard is -32601 but we use -32002 as requestedCODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/server/domains/wasm/string-extract.test.ts96 expect(classifyString('user@example.com')).toContain('email');CODE
LOWtests/modules/monitor/NetworkMonitor.impl.test.ts380 session.send.mockResolvedValue({ body: 'placeholder', base64Encoded: false });CODE
LOWtests/modules/native-emulator/bionic-stdio.test.ts41 const files = new Map([['/system/bin/su', ASCII('placeholder')]]);CODE
LOWsrc/server/domains/shared/capabilities.ts81 stubType: 'simulated' | 'partial' | 'placeholder' | 'unavailable';CODE