{"record":{"id":"745fe3e715c8480b","repo":"diegosouzapw/OmniRoute","slug":"zip-archive-total-uncompressed-size-exceeds-maxt","errorCode":null,"errorMessage":"ZIP archive total uncompressed size exceeds ${maxTotal} byte limit","messagePattern":"ZIP archive total uncompressed size exceeds (.+?) byte limit","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/oauth/utils/jsonZipExtract.ts","lineNumber":81,"sourceCode":"        `ZIP entry \"${baseName}\" has an unsafe filename (must be a .json file without path traversal)`\n      );\n    }\n\n    if (!isSafeEntryName(entryName)) {\n      throw new Error(\n        `ZIP entry path \"${entryName}\" is unsafe (no \"..\", absolute paths, or control characters allowed)`\n      );\n    }\n\n    if (data.byteLength > maxFileSize) {\n      throw new Error(\n        `ZIP entry \"${baseName}\" is ${data.byteLength} bytes — exceeds ${maxFileSize} byte limit per file`\n      );\n    }\n\n    totalBytes += data.byteLength;\n    if (totalBytes > maxTotal) {\n      throw new Error(`ZIP archive total uncompressed size exceeds ${maxTotal} byte limit`);\n    }\n\n    const content = new TextDecoder(\"utf-8\").decode(data);\n    result.push({ name: baseName, content });\n  }\n\n  return result;\n}\n","sourceCodeStart":63,"sourceCodeEnd":90,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/oauth/utils/jsonZipExtract.ts#L63-L90","documentation":"Error \"ZIP archive total uncompressed size exceeds ${maxTotal} byte limit\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/oauth/utils/jsonZipExtract.ts:81 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}