Repository Analysis

GargantuaX/gemini-watermark-remover

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 混合算法

5.4 Low AI signal View on GitHub

Analysis Overview

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).

5.4
Adjusted Score
5.4
Raw Score
100%
Time Factor
2026-08-11
Last Push
5.3K
Stars
JavaScript
Language
206.4K
Lines of Code
625
Files
1.1K
Pattern Hits
2026-08-13
Scan Date
0.00
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

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.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 1MEDIUM 1LOW 1122

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 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.

Hyper-Verbose Identifiers1118 hits · 1085 pts
SeverityFileLineSnippetContext
LOWbuild.js140function copyExtensionStaticAssets(outputDir = EXTENSION_DIR) {CODE
LOWtests/video/veoTextWatermarkDetector.test.js24function createCorrelatedTextImageData({CODE
LOWtests/core/candidateEvaluation.test.js27function createAlwaysPassingEvaluation(overrides = {}) {CODE
LOWtests/core/pipelineCandidateQuality.test.js91function createPreferenceCandidate(id, signals, {CODE
LOWtests/core/pipelineCandidateQuality.test.js316function createExactNewMarginCandidate(id, qualitySignals, {CODE
LOWtests/core/pipelineCandidateQualityFinalState.test.js25function createCompositedWatermarkFixture(alphaMap, position, background = 200) {CODE
LOWtests/core/previewAlphaCalibration.test.js133function averageStripColorIndependent(imageData, {CODE
LOWtests/core/previewAlphaCalibration.test.js174function buildBoundaryBlendPriorIndependent({CODE
LOWtests/core/previewAlphaCalibration.test.js250function applySyntheticPreviewObservation(imageData, alphaMap, position, {CODE
LOWtests/core/allenkFdncnnNcnnModel.test.js17async function readExtractedAllenkFdncnnFixture(t, { weight = false } = {}) {CODE
LOWtests/core/watermarkProcessor.test.js143function measureRegionMeanAbsoluteDelta(actual, expected, position) {CODE
LOWtests/core/multiPassWatermark.test.js32async function getRemoveRepeatedWatermarkLayers() {CODE
LOWtests/core/pipelineMeta.test.js12function createAlwaysPassingEvaluation() {CODE
LOWtests/core/allenkFdncnnReferenceRuntime.test.js19function createIdentityRuntimeFixture() {CODE
LOWtests/core/pipelineFinalization.test.js11function createPositiveHaloBackgroundCollisionFixture() {CODE
LOWtests/runtime/browserRuntime.test.js4function installImageDecodeGlobals() {CODE
LOWtests/runtime/userscriptRuntime.test.js52function installMainThreadProcessingStubs({CODE
LOWtests/shared/pageImageReplacement.test.js1031function assertOriginalQualityValidationFlow(calls, {CODE
LOWtests/userscript/pageProcessBridge.test.js36function createStructuredCloneWindow() {CODE
LOWtests/project/skillBundleLayout.test.js18function extractMarkdownHeadingLines(markdown) {CODE
LOWtests/project/extensionBuild.test.js23async function createPackagedExtensionFixture() {CODE
LOWtests/scripts/visibleResidualLoop.test.js66async function writeHumanReviewPackSummaryWithHashes(humanReviewPackDir, {CODE
LOWtests/scripts/visibleResidualLoop.test.js102async function writeVisibleResidualPackageJson(root) {CODE
LOWtests/scripts/visibleResidualLoop.test.js146function createMinimalReviewManifest({ includeGoldCandidate = false } = {}) {CODE
LOWtests/scripts/visibleResidualLoop.test.js239function createGoldCandidateDecisionPayload(overrides = []) {CODE
LOWtests/scripts/visibleResidualLoop.test.js2517function createMinimalGoldProposal() {CODE
LOWtests/scripts/visibleResidualLoop.test.js2617function allowProductionProfileChange(proposal) {CODE
LOWtests/scripts/visibleResidualLoop.test.js2634function reviewManifestRecordFromDecision(decision) {CODE
LOWtests/scripts/visibleResidualLoop.test.js2787async function writeAdmissionGoldManifest({ outputPath, validationPath, proposalPath, reviewManifestPath, overrides = {}CODE
LOWtests/scripts/releaseReadinessReport.test.js90async function createSourceArtifactProvenance(id, filePath) {CODE
LOWtests/scripts/releaseReadinessReport.test.js128async function writeSafeReleaseClaimFile(tempDir) {CODE
LOWtests/scripts/releaseReadinessReport.test.js145function getActionContextFromIntentGate(intentGate = null, candidate = null) {CODE
LOWtests/scripts/releaseReadinessReport.test.js152async function writeVideoProductionSourceFiles(tempDir, {CODE
LOWtests/scripts/releaseReadinessReport.test.js184function maybeApplyRelocatedReviewPreset() {CODE
LOWtests/scripts/releaseReadinessReport.test.js189function getRelocatedReviewPresetConfig() {CODE
LOWtests/scripts/releaseReadinessReport.test.js202async function writeVideoDeliveryArtifacts(tempDir, {CODE
LOWtests/scripts/gwrCli.test.js14function serializeSyntheticImageData(imageData) {CODE
LOWtests/scripts/alphaEdgeCleanliness.test.js10function createRectangularAlphaMap(width, height) {CODE
LOWtests/scripts/shadowResidualProfileEnsemble.test.js25function createShiftedResidualFixture({CODE
LOWtests/regression/sampleAssetsRemoval.test.js74async function ensureSampleAssetAvailable(t, fileName) {CODE
LOWtests/regression/sampleAssetsRemoval.test.js149function shouldRecalibrateAlphaStrength({ originalScore, processedScore, suppressionGain }) {CODE
LOWtests/regression/sampleAssetsRemoval.test.js411function removeWatermarkLikeEngine(imageData, alpha48, alpha96, alpha96NewMargin = null) {CODE
LOWtests/regression/sampleAssetTestUtils.js12export function isMissingPlaywrightExecutableError(error) {CODE
LOWtests/regression/sampleAssetsDiffBaseline.test.js150async function openProcessingHarnessPage(page) {CODE
LOW…026-07-16-same-anchor-imperfection-candidate-review.md332export function selectSameAnchorAlternative({CODE
LOW…s/2026-07-16-same-anchor-96-imperfection-preference.md138function createPreferenceCandidate(id, signals, {CODE
LOW…powers/plans/2026-07-16-same-anchor-clean-dominance.md383function shouldPreferSameAnchorCleanCandidate(left, right) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md202export function canonicalizeExternalBenchmarkJson(value) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md376export function classifyLabeledExternalBenchmarkCase(record) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md401export function summarizeTrustedExternalBenchmarkResults(results) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md436export function compareTrustedExternalBenchmarkResults({ dataset, results, baseline }) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md587export function parseExternalBenchmarkArgs(argv) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md769export function evaluateOnlineSampleBenchmarkGate(report, args) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md888export function buildExternalBenchmarkLabelTemplate(indexedCases, datasetId) {CODE
LOW…ers/plans/2026-07-30-trusted-online-image-benchmark.md905export function selectExternalBenchmarkReviewRecords(report, { allUniqueContent = false } = {}) {CODE
LOW…powers/plans/2026-07-16-scoped-release-quality-gate.md537function summarizeImageReleaseEvidence(artifact, gateOverride = null) {CODE
LOW…powers/plans/2026-07-16-strong-undersized-flat-fill.md80export function shouldUseStrongUndersizedAdaptiveCleanup({CODE
LOWscripts/create-visible-residual-review-worksheet.js82function assessClusterReportIntegrity({ clusterReport, reviewManifestSha256, validationReportSha256 }) {CODE
LOWscripts/create-visible-residual-review-worksheet.js162function inferredDecisionInputPath(entry, validation) {CODE
LOWscripts/create-visible-residual-review-worksheet.js200function summarizeIncompleteCluster(cluster) {CODE
1058 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALscripts/create-allenk-fdncnn-browser-spike-report.js166${report.assets.onnxRuntimeSmoke ? `- ONNX Runtime smoke: ${report.assets.onnxRuntimeSmoke.executionProvider}, create ${CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHbuild.js38// @description Automatically removes watermarks from Gemini AI generated imagesCOMMENT
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWbuild.js41// @author GargantuaXCOMMENT
LOWpublic/tampermonkey-worker-probe.user.js1// ==UserScript==COMMENT
LOWsrc/core/embeddedDarkOutlineAlphaMap.js1// D4-symmetric 96px signed alpha profile for the issue #101 dark-outlineCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMAGENTS.md55- Known failure mode from issue #115: the public site still bundled SDK `1.0.31` after `1.0.33` was published. UpgradingCODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/scripts/realPageCopyDownloadProbe.test.js218 assert.equal(classifyObservedRequest({ url: 'https://example.com/rd-gg/fake-token/image.png' }), null);CODE