The GEP-powered self-evolving engine for AI agents. Auditable evolution with Genes, Capsules, and Events. | evomap.ai
This report presents the forensic synthetic code analysis of EvoMap/evolver, a JavaScript project with 8,896 GitHub stars. SynthScan v2.0 examined 131,062 lines of code across 436 source files, recording 512 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written 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).
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.
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.
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.
The scanner identified 512 distinct pattern matches across 9 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.js | 201 | process.stdout.write(token + '\n'); | COMMENT |
| LOW | index.js | 221 | // 2. Read EVOLVER_REPO_ROOT from process.env (dotenv just populated it | COMMENT |
| LOW | index.js | 301 | // pokeHeartbeat + SSE restart + self-driving-poll re-arm) lives in | COMMENT |
| LOW | index.js | 541 | // (issue #176): the session-start hook's auto-restart guard needs the exact | COMMENT |
| LOW | index.js | 561 | // each see their own PID if the reads happen between their respective | COMMENT |
| LOW | index.js | 701 | if (e && e.code === 'EPERM') { | COMMENT |
| LOW | index.js | 781 | // | COMMENT |
| LOW | index.js | 861 | } | COMMENT |
| LOW | index.js | 941 | // deprioritises evolver when choosing an OOM victim. This is a | COMMENT |
| LOW | index.js | 981 | // is no longer focused. CPU runtime caps to ~5% of one core, | COMMENT |
| LOW | index.js | 1061 | // All timers in a2aProtocol.js (heartbeat, drift detector, self-driving | COMMENT |
| LOW | index.js | 1121 | process.on('SIGINT', () => { shutdown(); process.exit(); }); | COMMENT |
| LOW | index.js | 1181 | } | COMMENT |
| LOW | index.js | 1201 | // Real recovery delegates to a2aProtocol._runWakeRecovery so | COMMENT |
| LOW | index.js | 1221 | console.error('[FATAL] Uncaught exception:', err && err.stack ? err.stack : String(err)); | COMMENT |
| LOW | index.js | 1241 | let _rejectionTimestamps = []; | COMMENT |
| LOW | index.js | 1261 | // reauth backoff window (see a2aProtocol.js getHeartbeatStats | COMMENT |
| LOW | test/execBridgeSpawnNpmShim.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/lifecycleForceUpdateTrigger.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/heartbeatResilienceRound6.test.js | 1 | // Regression coverage for the round-6 audit (2026-05-28) heartbeat | COMMENT |
| LOW | test/heartbeatResilienceRound6.test.js | 21 | // validator dormant, outer evolve sleepMs sitting out the | COMMENT |
| LOW | test/forceUpdateConcurrencyGuard.test.js | 1 | // Tests for the concurrency guard added to src/forceUpdate.js (PR #188 fix). | COMMENT |
| LOW | test/forceUpdateConcurrencyGuard.test.js | 101 | const stub = function () { | COMMENT |
| LOW | test/forceUpdateConcurrencyGuard.test.js | 221 | COMMENT | |
| LOW | test/forceUpdateLastUpdateReport.test.js | 661 | // ForceUpdate warns. The threshold-fire moment must bypass that | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 721 | console.warn = originalWarn; | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 1001 | finished_at: Date.now(), | COMMENT |
| LOW | test/evolveGuardsCooperativeYield.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/hubUrlTlsEnforcementConsistency.test.js | 1 | // Multi-module TLS-enforcement consistency. | COMMENT |
| LOW | test/hubUrlTlsEnforcementConsistency.test.js | 181 | } | COMMENT |
| LOW | test/adaptersSyntax.test.js | 1 | // test/adaptersSyntax.test.js | COMMENT |
| LOW | test/trajectoryMarkedSessionGate.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/heartbeatResilienceRound5.test.js | 1 | // Regression coverage for the round-5 audit (2026-05-28) heartbeat | COMMENT |
| LOW | test/heartbeatResilienceRound5.test.js | 21 | // so the cache has time to refresh. | COMMENT |
| LOW | test/heartbeatResilienceRound5.test.js | 121 | // gate contract by calling pokeHeartbeat() directly: | COMMENT |
| LOW | test/sync-dedup.test.js | 1 | // End-to-end test for `node index.js sync` dedup logic. | COMMENT |
| LOW | test/forceUpdateMidCopyWedge.test.js | 1 | const { describe, it, before, after, beforeEach } = require('node:test'); | COMMENT |
| LOW | test/assetStore.test.js | 181 | assert.equal(loaded.epigenetic_marks, undefined, 'must not synthesize epigenetic_marks'); | COMMENT |
| LOW | test/paths.test.js | 541 | // large enough cap recovers cwd | COMMENT |
| LOW | test/idleSchedulerLinuxFallbacks.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/lifecycleStaleNodeSecret.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/heartbeatResilienceRound4.test.js | 1 | // Regression coverage for the round-4 audit (2026-05-28) heartbeat | COMMENT |
| LOW | test/heartbeatResilienceRound4.test.js | 21 | // same payload. Wrap in try/catch so a sync throw never breaks the | COMMENT |
| LOW | test/heartbeatResilienceRound4.test.js | 161 | }); | COMMENT |
| LOW | test/heartbeatResilienceRound4.test.js | 261 | if (origAllow === undefined) delete process.env.EVOMAP_HUB_ALLOW_INSECURE; | COMMENT |
| LOW | test/lifecycleNodeIdLegacyFallback.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/lifecycleNodeIdUnification.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/lifecycleNodeIdUnification.test.js | 21 | // | COMMENT |
| LOW | test/lifecycleNodeIdUnification.test.js | 301 | // H4 regression: pre-hello reportForceUpdateOutcome must NOT land at | COMMENT |
| LOW | test/savingsCoreConformance.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/hubFetch.test.js | 1 | // Tests for src/gep/hubFetch.js | COMMENT |
| LOW | test/heartbeatResilienceRound8.test.js | 1 | // Regression coverage for the round-8 audit (2026-05-28) heartbeat | COMMENT |
| LOW | test/heartbeatResilienceRound8.test.js | 21 | // clause defeated every caller of the hook, because all callers | COMMENT |
| LOW | test/heartbeatResilienceRound8.test.js | 261 | // detector body around it), then observe that test-utility | COMMENT |
| LOW | test/prompt.test.js | 101 | // | COMMENT |
| LOW | test/heartbeatResilienceRound9.test.js | 1 | 'use strict'; | COMMENT |
| LOW | test/spawnReplacementProcess.test.js | 1 | // Issue #528: Windows-friendly spawn-replacement policy. | COMMENT |
| LOW | test/evolveCollect.test.js | 141 | // captured at first import via getWorkspaceRoot(), so we run each scenario | COMMENT |
| LOW | test/evolveCollect.test.js | 421 | assert.ok(!/score=\? signals=\[\]/.test(out.mem), | COMMENT |
| LOW | test/evolveCollect.test.js | 1181 | const out = runReaderInChild(home, { EVOLVER_CURSOR_TRANSCRIPTS_DIR: overrideDir }); | COMMENT |
| 247 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.js | 490 | function logTimedOutEvolveRejection(error, logFn) { | CODE |
| LOW | index.js | 500 | function observeTimedOutEvolvePromise(evolvePromise, logFn = console.error) { | CODE |
| LOW | index.js | 515 | async function waitForTimedOutEvolvePromise(evolvePromise, logFn = console.error) { | CODE |
| LOW | index.js | 794 | function refuseHelloIfDaemonRunning(toolLabel) { | CODE |
| LOW | test/forceUpdateKeepList.test.js | 52 | function makeDegitWithLocalStateFiles(version) { | CODE |
| LOW | test/forceUpdateKeepList.test.js | 76 | function makeNpxMissingThenTarballSuccess(version) { | CODE |
| LOW | test/forceUpdateKeepList.test.js | 127 | function makeDegitFailureThenTarballSuccess(version, degitError) { | CODE |
| LOW | test/forceUpdateKeepList.test.js | 168 | function assertPrivateArchiveDownload(execStub) { | CODE |
| LOW | test/forceUpdateMidCopyWedge.test.js | 54 | function makeSuccessfulDegitWithIndex(version, indexContent) { | CODE |
| LOW | test/lifecycleStaleNodeSecret.test.js | 92 | function assertNoRawHubResponseSecrets(logText, raw) { | CODE |
| LOW | test/a2aProtocol.test.js | 47 | function assertNoRawHubResponseSecrets(logText, raw) { | CODE |
| LOW | test/evolveHub.test.js | 101 | async function withCleanGeneDirectiveEnv(fn) { | CODE |
| LOW | test/spawnReplacementProcess.test.js | 19 | function loadSpawnReplacementProcess() { | CODE |
| LOW | test/syncEngineLoopResilience.test.js | 105 | function assertNoRawHubBodySecrets(text, raw) { | CODE |
| LOW | test/forceUpdateFailureCodes.test.js | 52 | function writeStrongEvolverMarkers() { | CODE |
| LOW | test/forceUpdateFailureCodes.test.js | 143 | function makeDegitFailureThenTarballSuccess(version) { | CODE |
| LOW | scripts/check-changelog.js | 65 | function listReleasedVersionHeadings(text) { | CODE |
| LOW⚡ | src/forceUpdate.js | 681 | function isNumericPrereleaseIdentifier(value) { | CODE |
| LOW⚡ | src/forceUpdate.js | 685 | function compareNumericIdentifierStrings(left, right) { | CODE |
| LOW⚡ | src/forceUpdate.js | 692 | function comparePrereleaseIdentifiers(left, right) { | CODE |
| LOW | src/proxy/index.js | 48 | function canonicalCompatibleBaseUrl(raw) { | CODE |
| LOW | src/proxy/index.js | 77 | function allowedCompatibleBaseUrls() { | CODE |
| LOW | src/proxy/clientSettings.js | 36 | function isValidReusableProxyToken(value) { | CODE |
| LOW | src/proxy/clientSettings.js | 80 | function resolveClaudeSettingsFile(opts = {}, env = process.env) { | CODE |
| LOW | src/proxy/clientSettings.js | 147 | function isManagedProxyClientSettings(settings, cfg, opts = {}) { | CODE |
| LOW | src/proxy/clientSettings.js | 151 | function isManagedProxyUpstreamResidual(settings, cfg, baseValue, tokenValue, apiKeyValue) { | CODE |
| LOW | src/proxy/clientSettings.js | 162 | function safeStoredUpstreamBaseUrl(settings, cfg, value, opts = {}) { | CODE |
| LOW | src/proxy/clientSettings.js | 175 | function readReusableClientProxyToken(opts = {}) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1179 | function resolveTraceBackfillMaxRows(env = process.env) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1185 | function resolveTraceBackfillMaxScanBytes(env = process.env) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1191 | function resolveTraceBackfillMaxEnqueueBytes(env = process.env) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1352 | function tracePlaintextUploadAllowed(env = process.env) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1356 | function secretVersionTraceDecryptAllowed(record, env = process.env, ctx = {}) { | CODE |
| LOW⚡ | src/proxy/trace/extractor.js | 1363 | function isProxyTraceUploadPayloadAllowed(payload, env = process.env, ctx = {}) { | CODE |
| LOW | src/proxy/trace/extractor.js | 125 | function readTraceCollectionEnabled(env = process.env, ctx = {}) { | CODE |
| LOW | src/proxy/trace/extractor.js | 149 | function readTraceNodeSecretVersionDecryptEnabled(env = process.env, ctx = {}) { | CODE |
| LOW | src/proxy/trace/extractor.js | 265 | function resolveEvomapNodeSecretVersion(env = process.env, ctx = {}) { | CODE |
| LOW | src/proxy/trace/extractor.js | 299 | function resolveTraceKeyFromEvomapSecret(env = process.env, ctx = {}) { | CODE |
| LOW | src/proxy/trace/extractor.js | 683 | function compactStreamEventFromText(text) { | CODE |
| LOW | src/proxy/trace/extractor.js | 710 | function geminiStreamEventHasToolPart(evt) { | CODE |
| LOW | src/proxy/trace/extractor.js | 724 | function streamEventHasSemanticValue(evt) { | CODE |
| LOW | src/proxy/trace/extractor.js | 768 | function recordOversizedStreamLine(acc, usage, line) { | CODE |
| LOW | src/proxy/trace/extractor.js | 780 | function appendOversizedStreamText(current, chunk, maxBytes = STREAM_OVERSIZED_LINE_CAPTURE_MAX) { | CODE |
| LOW | src/proxy/trace/extractor.js | 788 | function appendBoundedRawStreamCapture(capture, chunk, maxBytes) { | CODE |
| LOW | src/proxy/trace/extractor.js | 869 | function userAccountKeyFromIdentityField(value) { | CODE |
| LOW | src/proxy/trace/extractor.js | 1116 | function isMissingTraceSecretError(err) { | CODE |
| LOW | src/proxy/trace/extractor.js | 1262 | function isOptionalNonNegativeSafeInteger(value) { | CODE |
| LOW | src/proxy/trace/extractor.js | 1483 | function shouldWarnTraceUploadSkipped(logger, reason, now = Date.now()) { | CODE |
| LOW | src/proxy/trace/extractor.js | 1688 | function collectExistingTraceUploadFingerprints(store, maxRows = 10_000) { | CODE |
| LOW | src/proxy/trace/extractor.js | 1713 | function backfillProxyTraceUploads(opts = {}) { | CODE |
| LOW | src/proxy/mailbox/state.js | 88 | function isHubRotatedNodeSecretState(state) { | CODE |
| LOW | src/proxy/mailbox/state.js | 100 | function isFullNodeSecretTupleUpdate(updatedSet) { | CODE |
| LOW | src/proxy/mailbox/state.js | 104 | function canApplyPartialNodeSecretTupleWrite(key, disk, next) { | CODE |
| LOW | src/proxy/mailbox/state.js | 157 | function writeMergedMailboxStateFile(stateFile, nextState, updatedKeys) { | CODE |
| LOW | src/proxy/lifecycle/manager.js | 400 | function matchSecretDivergenceReason(value) { | CODE |
| LOW | src/proxy/lifecycle/manager.js | 406 | function extractSecretDivergenceReason(data) { | CODE |
| LOW | src/proxy/lifecycle/manager.js | 439 | function normalizeNodeSecretEnvSuppression(value) { | CODE |
| LOW | src/proxy/extensions/traceControl.js | 19 | function canonicalTraceConfigPayload(payload = {}) { | CODE |
| LOW | src/proxy/extensions/traceControl.js | 30 | function verifyTraceConfigSignature(payload = {}, env = process.env) { | CODE |
| LOW | src/proxy/sync/outbound.js | 39 | function resolveHardOutboundBodyBytes(env = process.env) { | CODE |
| 106 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/rollbackSafety.test.js | 96 | // Reading the source directly is robust and unambiguous about what the | COMMENT |
| MEDIUM | src/proxy/lifecycle/manager.js | 305 | // keeps this robust against partial test mocks of forceUpdate that stub | COMMENT |
| MEDIUM | src/adapters/scripts/_runtimePaths.js | 359 | // secret file paths.js uses, so installing the package later is seamless. | COMMENT |
| MEDIUM | src/gep/a2aProtocol.js | 3374 | // keeps this robust against partial test mocks of forceUpdate that stub | COMMENT |
| MEDIUM | src/gep/trajectoryExport.js | 2178 | // session_id/id field plus the filename uuid, so the marking join is robust to | COMMENT |
| MEDIUM | src/gep/validator/sandboxExecutor.js | 111 | // Reject shell metacharacters that would give injection leverage even with | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/webuiServer.test.js | 96 | // Cursor agentic security review (HIGH): matchPath used to call | COMMENT |
| MEDIUM | test/webuiObserver.test.js | 179 | // Cursor agentic security review (MEDIUM): /webui/status used to | COMMENT |
| MEDIUM | test/webuiObserver.test.js | 205 | // Cursor agentic security review (HIGH): the original SECRET_TEXT_RE | COMMENT |
| MEDIUM | src/gep/skill2gepAudit.js | 34 | // Generic English / Python / benchmark-scaffold stopwords. NOT domain-specific. | COMMENT |
| MEDIUM | src/gep/execBridge.js | 525 | // Verified on-box 2026-06-03 (flags/sandbox/framing; the live agentic turn was | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.js | 228 | // Step 1: load .env from process.cwd() before any internal require. | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 318 | // Step 1: persist the FIRST outcome and start a heartbeat that captures | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 330 | // Step 2: while the hub call is "in flight" (before our fetchResponder | COMMENT |
| LOW | src/gep/skillDistiller.js | 68 | // Step 1: collectDistillationData | COMMENT |
| LOW | src/gep/skillDistiller.js | 126 | // Step 2: analyzePatterns | COMMENT |
| LOW⚡ | src/gep/skillDistiller.js | 191 | // Step 3: LLM response parsing | COMMENT |
| LOW | src/gep/skillDistiller.js | 398 | // Step 4: sanitizeSignalsMatch -- strip timestamps, random suffixes, tool names | COMMENT |
| LOW | src/gep/skillDistiller.js | 426 | // Step 4: validateSynthesizedGene | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.js | 228 | // Step 1: load .env from process.cwd() before any internal require. | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 318 | // Step 1: persist the FIRST outcome and start a heartbeat that captures | COMMENT |
| LOW | test/forceUpdateLastUpdateReport.test.js | 330 | // Step 2: while the hub call is "in flight" (before our fetchResponder | COMMENT |
| LOW | src/gep/skillDistiller.js | 68 | // Step 1: collectDistillationData | COMMENT |
| LOW | src/gep/skillDistiller.js | 126 | // Step 2: analyzePatterns | COMMENT |
| LOW⚡ | src/gep/skillDistiller.js | 191 | // Step 3: LLM response parsing | COMMENT |
| LOW | src/gep/skillDistiller.js | 398 | // Step 4: sanitizeSignalsMatch -- strip timestamps, random suffixes, tool names | COMMENT |
| LOW | src/gep/skillDistiller.js | 426 | // Step 4: validateSynthesizedGene | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/solidifyIntegration.test.js | 63 | execSync('git config user.email "test@test.com"', { cwd: tmpDir, stdio: 'ignore' }); | CODE |
| LOW | test/trajectoryExport.test.js | 3156 | authorization: 'placeholder', | CODE |
| LOW | test/trajectoryExport.test.js | 3162 | headers: { 'set-cookie': 'placeholder', 'x-trace-id': 'trace-1' }, | CODE |
| LOW⚡ | test/trajectoryExport.test.js | 3210 | metadata: { source: 'raw-fixture', authorization: 'placeholder' }, | CODE |
| LOW⚡ | test/trajectoryExport.test.js | 3215 | source_record: { authorization: 'placeholder', raw: 'source' }, | CODE |
| LOW⚡ | test/trajectoryExport.test.js | 3216 | raw_row: { cookie: 'placeholder', raw: 'row' }, | CODE |
| LOW⚡ | test/trajectoryExport.test.js | 3217 | headers: { 'set-cookie': 'placeholder', 'x-upstream': 'ok' }, | CODE |
| LOW | test/sanitize.test.js | 16 | assert.strictEqual(redactString('user@example.com'), REDACTED); | CODE |
| LOW | test/proxyOutboundSync.test.js | 400 | const fakeToken = 'fake-token-413-abcdefghijklmnopqrstuvwxyz'; | CODE |
| LOW | test/proxyOutboundSync.test.js | 443 | const fakeToken = 'fake-token-retry-abcdefghijklmnopqrstuvwxyz'; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/experimentComparison.test.js | 273 | assert.ok(res.data.arms.baseline.resultText.includes('[REDACTED]')); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/signalDetect.test.js | 63 | const input = 'The system failed because:\n// TODO: Handle error cases\n// Need to catch exceptions\nActual error: con | CODE |