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 summarizes scanner evidence for GargantuaX/gemini-watermark-remover, a JavaScript project with 5,652 GitHub stars. SynthScan examined 225,676 lines of code across 673 source files, recording 1143 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 1141 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 1135 finding(s).
Which changes need focused human review? 1143 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 1143 distinct pattern matches across 6 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 | build.js | 140 | function copyExtensionStaticAssets(outputDir = EXTENSION_DIR) { | CODE |
| LOW | tests/video/veoTextWatermarkDetector.test.js | 24 | function createCorrelatedTextImageData({ | CODE |
| LOW | tests/video/videoAppYield.test.js | 9 | const end = source.indexOf('\nfunction createDetectionProgressHandler(', start); | 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 | 180 | 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 | 45 | 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 |
| 1075 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 | public/onnxruntime/ThirdPartyNotices.txt | 1721 | # | 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 | 62 | - 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 |