A high-performance, 100% client-side tool for removing Gemini AI image & video watermarks. Built with pure JavaScript using mathematically precise Reverse Alpha Blending. / 基于 JavaScript 的纯浏览器端 Gemini AI 图像和视频无损去水印工具,使用数学精确的反向 Alpha 混合算法
This report presents the forensic synthetic code analysis of GargantuaX/gemini-watermark-remover, a JavaScript project with 5,284 GitHub stars. SynthScan v2.0 examined 206,373 lines of code across 625 source files, recording 1125 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 5.4 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 1125 distinct pattern matches across 6 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 | build.js | 140 | function copyExtensionStaticAssets(outputDir = EXTENSION_DIR) { | CODE |
| LOW | tests/video/veoTextWatermarkDetector.test.js | 24 | function createCorrelatedTextImageData({ | CODE |
| LOW | tests/core/candidateEvaluation.test.js | 27 | function createAlwaysPassingEvaluation(overrides = {}) { | CODE |
| LOW | tests/core/pipelineCandidateQuality.test.js | 91 | function createPreferenceCandidate(id, signals, { | CODE |
| LOW | tests/core/pipelineCandidateQuality.test.js | 316 | function createExactNewMarginCandidate(id, qualitySignals, { | CODE |
| LOW | tests/core/pipelineCandidateQualityFinalState.test.js | 25 | function createCompositedWatermarkFixture(alphaMap, position, background = 200) { | CODE |
| LOW | tests/core/previewAlphaCalibration.test.js | 133 | function averageStripColorIndependent(imageData, { | CODE |
| LOW | tests/core/previewAlphaCalibration.test.js | 174 | function buildBoundaryBlendPriorIndependent({ | CODE |
| LOW | tests/core/previewAlphaCalibration.test.js | 250 | function applySyntheticPreviewObservation(imageData, alphaMap, position, { | CODE |
| LOW | tests/core/allenkFdncnnNcnnModel.test.js | 17 | async function readExtractedAllenkFdncnnFixture(t, { weight = false } = {}) { | CODE |
| LOW | tests/core/watermarkProcessor.test.js | 143 | function measureRegionMeanAbsoluteDelta(actual, expected, position) { | CODE |
| LOW | tests/core/multiPassWatermark.test.js | 32 | async function getRemoveRepeatedWatermarkLayers() { | CODE |
| LOW | tests/core/pipelineMeta.test.js | 12 | function createAlwaysPassingEvaluation() { | CODE |
| LOW | tests/core/allenkFdncnnReferenceRuntime.test.js | 19 | function createIdentityRuntimeFixture() { | CODE |
| LOW | tests/core/pipelineFinalization.test.js | 11 | function createPositiveHaloBackgroundCollisionFixture() { | CODE |
| LOW | tests/runtime/browserRuntime.test.js | 4 | function installImageDecodeGlobals() { | CODE |
| LOW | tests/runtime/userscriptRuntime.test.js | 52 | function installMainThreadProcessingStubs({ | CODE |
| LOW | tests/shared/pageImageReplacement.test.js | 1031 | function assertOriginalQualityValidationFlow(calls, { | CODE |
| LOW | tests/userscript/pageProcessBridge.test.js | 36 | function createStructuredCloneWindow() { | CODE |
| LOW | tests/project/skillBundleLayout.test.js | 18 | function extractMarkdownHeadingLines(markdown) { | CODE |
| LOW | tests/project/extensionBuild.test.js | 23 | async function createPackagedExtensionFixture() { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 66 | async function writeHumanReviewPackSummaryWithHashes(humanReviewPackDir, { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 102 | async function writeVisibleResidualPackageJson(root) { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 146 | function createMinimalReviewManifest({ includeGoldCandidate = false } = {}) { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 239 | function createGoldCandidateDecisionPayload(overrides = []) { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 2517 | function createMinimalGoldProposal() { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 2617 | function allowProductionProfileChange(proposal) { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 2634 | function reviewManifestRecordFromDecision(decision) { | CODE |
| LOW | tests/scripts/visibleResidualLoop.test.js | 2787 | async function writeAdmissionGoldManifest({ outputPath, validationPath, proposalPath, reviewManifestPath, overrides = {} | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 90 | async function createSourceArtifactProvenance(id, filePath) { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 128 | async function writeSafeReleaseClaimFile(tempDir) { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 145 | function getActionContextFromIntentGate(intentGate = null, candidate = null) { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 152 | async function writeVideoProductionSourceFiles(tempDir, { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 184 | function maybeApplyRelocatedReviewPreset() { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 189 | function getRelocatedReviewPresetConfig() { | CODE |
| LOW | tests/scripts/releaseReadinessReport.test.js | 202 | async function writeVideoDeliveryArtifacts(tempDir, { | CODE |
| LOW | tests/scripts/gwrCli.test.js | 14 | function serializeSyntheticImageData(imageData) { | CODE |
| LOW | tests/scripts/alphaEdgeCleanliness.test.js | 10 | function createRectangularAlphaMap(width, height) { | CODE |
| LOW | tests/scripts/shadowResidualProfileEnsemble.test.js | 25 | function createShiftedResidualFixture({ | CODE |
| LOW | tests/regression/sampleAssetsRemoval.test.js | 74 | async function ensureSampleAssetAvailable(t, fileName) { | CODE |
| LOW | tests/regression/sampleAssetsRemoval.test.js | 149 | function shouldRecalibrateAlphaStrength({ originalScore, processedScore, suppressionGain }) { | CODE |
| LOW | tests/regression/sampleAssetsRemoval.test.js | 411 | function removeWatermarkLikeEngine(imageData, alpha48, alpha96, alpha96NewMargin = null) { | CODE |
| LOW | tests/regression/sampleAssetTestUtils.js | 12 | export function isMissingPlaywrightExecutableError(error) { | CODE |
| LOW | tests/regression/sampleAssetsDiffBaseline.test.js | 150 | async function openProcessingHarnessPage(page) { | CODE |
| LOW | …026-07-16-same-anchor-imperfection-candidate-review.md | 332 | export function selectSameAnchorAlternative({ | CODE |
| LOW | …s/2026-07-16-same-anchor-96-imperfection-preference.md | 138 | function createPreferenceCandidate(id, signals, { | CODE |
| LOW | …powers/plans/2026-07-16-same-anchor-clean-dominance.md | 383 | function shouldPreferSameAnchorCleanCandidate(left, right) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 202 | export function canonicalizeExternalBenchmarkJson(value) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 376 | export function classifyLabeledExternalBenchmarkCase(record) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 401 | export function summarizeTrustedExternalBenchmarkResults(results) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 436 | export function compareTrustedExternalBenchmarkResults({ dataset, results, baseline }) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 587 | export function parseExternalBenchmarkArgs(argv) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 769 | export function evaluateOnlineSampleBenchmarkGate(report, args) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 888 | export function buildExternalBenchmarkLabelTemplate(indexedCases, datasetId) { | CODE |
| LOW | …ers/plans/2026-07-30-trusted-online-image-benchmark.md | 905 | export function selectExternalBenchmarkReviewRecords(report, { allUniqueContent = false } = {}) { | CODE |
| LOW | …powers/plans/2026-07-16-scoped-release-quality-gate.md | 537 | function summarizeImageReleaseEvidence(artifact, gateOverride = null) { | CODE |
| LOW | …powers/plans/2026-07-16-strong-undersized-flat-fill.md | 80 | export function shouldUseStrongUndersizedAdaptiveCleanup({ | CODE |
| LOW | scripts/create-visible-residual-review-worksheet.js | 82 | function assessClusterReportIntegrity({ clusterReport, reviewManifestSha256, validationReportSha256 }) { | CODE |
| LOW | scripts/create-visible-residual-review-worksheet.js | 162 | function inferredDecisionInputPath(entry, validation) { | CODE |
| LOW | scripts/create-visible-residual-review-worksheet.js | 200 | function summarizeIncompleteCluster(cluster) { | CODE |
| 1058 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | scripts/create-allenk-fdncnn-browser-spike-report.js | 166 | ${report.assets.onnxRuntimeSmoke ? `- ONNX Runtime smoke: ${report.assets.onnxRuntimeSmoke.executionProvider}, create ${ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | build.js | 38 | // @description Automatically removes watermarks from Gemini AI generated images | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build.js | 41 | // @author GargantuaX | COMMENT |
| LOW | public/tampermonkey-worker-probe.user.js | 1 | // ==UserScript== | COMMENT |
| LOW | src/core/embeddedDarkOutlineAlphaMap.js | 1 | // D4-symmetric 96px signed alpha profile for the issue #101 dark-outline | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AGENTS.md | 55 | - Known failure mode from issue #115: the public site still bundled SDK `1.0.31` after `1.0.33` was published. Upgrading | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/scripts/realPageCopyDownloadProbe.test.js | 218 | assert.equal(classifyObservedRequest({ url: 'https://example.com/rd-gg/fake-token/image.png' }), null); | CODE |