{"analyzer_versions":{"semgrep":"1.163.0","solc":"0.7.6"},"body":{"audit_stages":[{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Normalize the submitted contract target and confirm it can enter the Solidity audit lane.","elapsed_ms":320,"id":"intake","label":"Audit intake","limitations":[],"next_step":"Acquire verified source or scan the pasted Solidity source.","order":1,"status":"passed"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Resolve pasted source or verified explorer source without treating malformed input as demo data.","elapsed_ms":1450,"id":"source_acquisition","label":"Source acquisition","limitations":[],"next_step":"Validate the analyzer toolchain against the acquired source.","order":2,"status":"passed"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Confirm the configured static analyzers can run and produce parseable output.","elapsed_ms":2300,"id":"toolchain_validation","label":"Toolchain validation","limitations":["One or more analyzers emitted warnings; report findings remain usable but should be read with limitations."],"next_step":"Run static analysis and capture raw detector evidence.","order":3,"status":"partial"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Run static analyzers against the sandboxed source and collect raw detector evidence.","elapsed_ms":8800,"findings_count":45,"id":"static_analysis","label":"Static analysis","limitations":["One or more analyzers emitted warnings; report findings remain usable but should be read with limitations."],"next_step":"Normalize detector output into one deduped finding set.","order":4,"status":"partial"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Dedupe detectors, classify vulnerability classes and compute severity-weighted risk.","elapsed_ms":1150,"findings_count":45,"id":"finding_normalization","label":"Finding normalization","limitations":[],"next_step":"Review exploitability conservatively against confidence and limitations.","order":5,"status":"passed"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Frame automated findings with conservative exploitability and limitation notes.","elapsed_ms":1900,"findings_count":45,"id":"exploitability_review","label":"Exploitability review","limitations":["Automated exploitability review is conservative and does not replace a manual exploitability assessment."],"next_step":"Draft remediation notes from the normalized evidence.","order":6,"status":"partial"},{"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Prepare remediation-oriented evidence for the shareable report artifact.","elapsed_ms":1500,"findings_count":45,"id":"remediation_draft","label":"Remediation draft","limitations":["Remediation notes are generated from detector evidence and require project-specific engineering review."],"next_step":"Attach an operator review artifact before claiming human review.","order":7,"status":"partial"},{"blockers":["No operator review artifact is attached to this automated scan."],"completed_at":"2026-10-04T00:37:28.163Z","description":"Record whether a human operator artifact exists before buyer escalation.","elapsed_ms":0,"id":"operator_review","label":"Operator review","limitations":["Human operator review has not been attached to this automated scan yet."],"next_step":"Attach a real operator review artifact before claiming human review.","order":8,"status":"blocked"},{"artifact":{"created_at":"2026-10-04T00:37:28.163Z","id":"solidity-2f746d702f766567","label":"Automated Solidity report","type":"report"},"blockers":[],"completed_at":"2026-10-04T00:37:28.163Z","description":"Publish the automated report artifact or explain why the scan failed closed.","elapsed_ms":620,"findings_count":45,"id":"finalization","label":"Finalization","limitations":["Final report is an automated static-analysis artifact; no operator review artifact is attached."],"next_step":"Share the report with explicit limitations and review state.","order":9,"status":"partial"}],"counts":{"access-control":1,"centralization":0,"flash-loan":0,"front-running":0,"gas-dos":0,"logic":11,"math-overflow":5,"oracle-manipulation":0,"other":8,"reentrancy":7,"timestamp-dependence":2,"unchecked-call":4,"uninitialized":7},"executive_summary":["45 findings surfaced (0 critical, 2 high, 17 medium, 7 low, 19 informational).","HIGH · Upgradeable-style initialize function is public/external without an initializer guard — exploitability medium.","HIGH · FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) has bitwise-xor operator ^ instead of the exponentiation operator **: (mulDiv) — exploitability medium.","Automated static analysis only. A human operator review has not been attached to this report."],"findings":[{"class":"access-control","confidence":"medium","description":"Upgradeable-style initialize function is public/external without an initializer guard. Attackers can initialize an unprotected implementation or proxy and seize privileged state. Add an initializer modifier and disable implementation initializers.","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"b766c4ea91b90a038fe44bf01b9d674ab1db48cc751085574f1cf7f4c1090f8f","line":271,"references":["https://github.com/JE4NVRG/vegasec/blob/main/apps/web/src/lib/risk/solidity/semgrep-rules/vegasec-solidity.yml#vegasec-unprotected-initializer"],"remediation":"Gate privileged functions behind a tested role/ownership pattern (e.g. OpenZeppelin Ownable/AccessControl). Avoid tx.origin for authorization.","rule_id":"semgrep:vegasec-unprotected-initializer","severity":"high","source":"semgrep","title":"Upgradeable-style initialize function is public/external without an initializer guard"},{"class":"math-overflow","component":"mulDiv","confidence":"medium","description":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) has bitwise-xor operator ^ instead of the exponentiation operator **: \n\t - inv = (3 * denominator) ^ 2 (contracts/libraries/FullMath.sol#87)\n","end_line":106,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/FullMath.sol","id":"81572ddca62162e0b00b48114dd28a74e537f328ccfe906ff6ed5b2b7a5d6199","line":14,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#incorrect-exp"],"remediation":"Confirm the solc version uses checked arithmetic (>=0.8) or wrap mutations in OpenZeppelin SafeMath. Avoid unchecked blocks unless explicitly justified.","rule_id":"slither:incorrect-exp","severity":"high","source":"slither","title":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) has bitwise-xor operator ^ instead of the exponentiation operator **:"},{"class":"other","component":"observe","confidence":"medium","description":"UniswapV3Pool.observe(uint32[]) (contracts/UniswapV3Pool.sol#236-252) ignores return value by observations.observe(_blockTimestamp(),secondsAgos,slot0.tick,slot0.observationIndex,liquidity,slot0.observationCardinality) (contracts/UniswapV3Pool.sol#243-251)\n","end_line":252,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"f9f6804a3ca5ab04d507f9303a7c65c18d323ccc3d27ee2e74c4c2dfc5badcc7","line":236,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#unused-return"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:unused-return","severity":"medium","source":"slither","title":"UniswapV3Pool.observe(uint32[]) (contracts/UniswapV3Pool.sol#236-252) ignores return value by observations.observe(_blockTimestamp(),secondsAgos,slot0.tick,slot"},{"class":"logic","component":"initialize","confidence":"high","description":"UniswapV3Pool.initialize(uint160) (contracts/UniswapV3Pool.sol#271-289) uses a dangerous strict equality:\n\t- require(bool,string)(slot0.sqrtPriceX96 == 0,AI) (contracts/UniswapV3Pool.sol#272)\n","end_line":289,"exploitability":"low","exploitability_note":"Low-severity finding even at higher confidence; unlikely to be directly exploitable.","file":"contracts/UniswapV3Pool.sol","id":"fdb1b2f14e79bc2e93f97e14682c9d102effdc14f1be342904ea0573bcb03e6a","line":271,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#incorrect-equality"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:incorrect-equality","severity":"medium","source":"slither","title":"UniswapV3Pool.initialize(uint160) (contracts/UniswapV3Pool.sol#271-289) uses a dangerous strict equality:"},{"class":"uninitialized","component":"flippedLower","confidence":"medium","description":"UniswapV3Pool._updatePosition(address,int24,int24,int128,int24).flippedLower (contracts/UniswapV3Pool.sol#392) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"f3a3a92f9296f3e3a3022b5bea7b19934d8bb43eaab109a64447e8154cc84b0c","line":392,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"UniswapV3Pool._updatePosition(address,int24,int24,int128,int24).flippedLower (contracts/UniswapV3Pool.sol#392) is a local variable never initialized"},{"class":"uninitialized","component":"flippedUpper","confidence":"medium","description":"UniswapV3Pool._updatePosition(address,int24,int24,int128,int24).flippedUpper (contracts/UniswapV3Pool.sol#393) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"d3292d165aaae61e653bc2f836945dd76f76dc9b653d0045173c6869875ce881","line":393,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"UniswapV3Pool._updatePosition(address,int24,int24,int128,int24).flippedUpper (contracts/UniswapV3Pool.sol#393) is a local variable never initialized"},{"class":"uninitialized","component":"balance0Before","confidence":"medium","description":"UniswapV3Pool.mint(address,int24,int24,uint128,bytes).balance0Before (contracts/UniswapV3Pool.sol#478) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"f3548995cd0c496e12a199495aeb5152272d6b155aafcba59dbeba9e64a9dc00","line":478,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"UniswapV3Pool.mint(address,int24,int24,uint128,bytes).balance0Before (contracts/UniswapV3Pool.sol#478) is a local variable never initialized"},{"class":"uninitialized","component":"balance1Before","confidence":"medium","description":"UniswapV3Pool.mint(address,int24,int24,uint128,bytes).balance1Before (contracts/UniswapV3Pool.sol#479) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"2c1d0d133d0299efd26067f663ebf7aea7c258eff19a501ed5c3ba03251d9cc9","line":479,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"UniswapV3Pool.mint(address,int24,int24,uint128,bytes).balance1Before (contracts/UniswapV3Pool.sol#479) is a local variable never initialized"},{"class":"logic","component":"swap","confidence":"high","description":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) uses a dangerous strict equality:\n\t- state.sqrtPriceX96 == step.sqrtPriceNextX96 (contracts/UniswapV3Pool.sol#693)\n","end_line":788,"exploitability":"low","exploitability_note":"Low-severity finding even at higher confidence; unlikely to be directly exploitable.","file":"contracts/UniswapV3Pool.sol","id":"3ce51c98de94601937d48b419228eb38248ce4f7f617f6ae79058de0b0f7cf2a","line":596,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#incorrect-equality"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:incorrect-equality","severity":"medium","source":"slither","title":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) uses a dangerous strict equality:"},{"class":"reentrancy","component":"swap","confidence":"medium","description":"Reentrancy in UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token1,recipient,uint256(- amount1)) (contracts/UniswapV3Pool.sol#773)\n\t- IUniswapV3SwapCallback(msg.sender).uniswapV3SwapCallback(amount0,amount1,data) (contracts/UniswapV3Pool.sol#776)\n\t- TransferHelper.safeTransfer(token0,recipient,uint256(- amount0)) (contracts/UniswapV3Pool.sol#779)\n\t- IUniswapV3SwapCallback(msg.sender).uniswapV3SwapCallback(amount0,amount1,data) (contracts/UniswapV3Pool.sol#782)\n\tState variables written after the call(s):\n\t- slot0.unlocked = true (contracts/UniswapV3Pool.sol#787)\n\tUniswapV3Pool.slot0 (contracts/UniswapV3Pool.sol#74) can be used in cross function reentrancies:\n\t- UniswapV3Pool._modifyPosition(UniswapV3Pool.ModifyPositionParams) (contracts/UniswapV3Pool.sol#306-372)\n\t- UniswapV3Pool._updatePosition(address,int24,int24,int128,int24) (contracts/UniswapV3Pool.sol#379-453)\n\t- UniswapV3Pool.flash(address,uint256,uint256,bytes) (contracts/UniswapV3Pool.sol#791-834)\n\t- UniswapV3Pool.increaseObservationCardinalityNext(uint16) (contracts/UniswapV3Pool.sol#255-267)\n\t- UniswapV3Pool.initialize(uint160) (contracts/UniswapV3Pool.sol#271-289)\n\t- UniswapV3Pool.lock() (contracts/UniswapV3Pool.sol#104-109)\n\t- UniswapV3Pool.observe(uint32[]) (contracts/UniswapV3Pool.sol#236-252)\n\t- UniswapV3Pool.setFeeProtocol(uint8,uint8) (contracts/UniswapV3Pool.sol#837-845)\n\t- UniswapV3Pool.slot0 (contracts/UniswapV3Pool.sol#74)\n\t- UniswapV3Pool.snapshotCumulativesInside(int24,int24) (contracts/UniswapV3Pool.sol#158-233)\n\t- UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788)\n","end_line":788,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"27fe71e9a4c9088fec7c127c0439d2c1ca823282c0ed575c696ef34f8f4f321a","line":596,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-no-eth"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-no-eth","severity":"medium","source":"slither","title":"Reentrancy in UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788):"},{"class":"uninitialized","component":"step","confidence":"medium","description":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes).step (contracts/UniswapV3Pool.sol#642) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"7370aef500dddc2e19ef39ccf8169fcb8f9c257e18455733815258a89d601067","line":642,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes).step (contracts/UniswapV3Pool.sol#642) is a local variable never initialized"},{"class":"reentrancy","component":"collectProtocol","confidence":"medium","description":"Reentrancy in UniswapV3Pool.collectProtocol(address,uint128,uint128) (contracts/UniswapV3Pool.sol#848-868):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token0,recipient,amount0) (contracts/UniswapV3Pool.sol#859)\n\tState variables written after the call(s):\n\t- protocolFees.token1 -= amount1 (contracts/UniswapV3Pool.sol#863)\n\tUniswapV3Pool.protocolFees (contracts/UniswapV3Pool.sol#87) can be used in cross function reentrancies:\n\t- UniswapV3Pool.collectProtocol(address,uint128,uint128) (contracts/UniswapV3Pool.sol#848-868)\n\t- UniswapV3Pool.flash(address,uint256,uint256,bytes) (contracts/UniswapV3Pool.sol#791-834)\n\t- UniswapV3Pool.protocolFees (contracts/UniswapV3Pool.sol#87)\n\t- UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788)\n","end_line":868,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"d6af18e3e68a3c9596d318fc1d3e54f533f715ca38c0941d0b2ac915cb115e6f","line":848,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-no-eth"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-no-eth","severity":"medium","source":"slither","title":"Reentrancy in UniswapV3Pool.collectProtocol(address,uint128,uint128) (contracts/UniswapV3Pool.sol#848-868):"},{"class":"math-overflow","component":"mulDiv","confidence":"medium","description":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) performs a multiplication on the result of a division:\n\t- denominator = denominator / twos (contracts/libraries/FullMath.sol#67)\n\t- inv *= 2 - denominator * inv (contracts/libraries/FullMath.sol#94)\n","end_line":106,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/FullMath.sol","id":"198b512619fda2e37091f82184dcb91159f01ec8efa97acf14c1c4923b4a60f5","line":14,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#divide-before-multiply"],"remediation":"Confirm the solc version uses checked arithmetic (>=0.8) or wrap mutations in OpenZeppelin SafeMath. Avoid unchecked blocks unless explicitly justified.","rule_id":"slither:divide-before-multiply","severity":"medium","source":"slither","title":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) performs a multiplication on the result of a division:"},{"class":"math-overflow","component":"observeSingle","confidence":"medium","description":"Oracle.observeSingle(Oracle.Observation[65535],uint32,uint32,int24,uint16,uint128,uint16) (contracts/libraries/Oracle.sol#245-287) performs a multiplication on the result of a division:\n\t- (beforeOrAt.tickCumulative + ((atOrAfter.tickCumulative - beforeOrAt.tickCumulative) / observationTimeDelta) * targetDelta,beforeOrAt.secondsPerLiquidityCumulativeX128 + uint160((uint256(atOrAfter.secondsPerLiquidityCumulativeX128 - beforeOrAt.secondsPerLiquidityCumulativeX128) * targetDelta) / observationTimeDelta)) (contracts/libraries/Oracle.sol#275-285)\n","end_line":287,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/Oracle.sol","id":"fd14f6db50c390ede5521a59e91d627cdb202866b66e46fd72b475fcb498447e","line":245,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#divide-before-multiply"],"remediation":"Confirm the solc version uses checked arithmetic (>=0.8) or wrap mutations in OpenZeppelin SafeMath. Avoid unchecked blocks unless explicitly justified.","rule_id":"slither:divide-before-multiply","severity":"medium","source":"slither","title":"Oracle.observeSingle(Oracle.Observation[65535],uint32,uint32,int24,uint16,uint128,uint16) (contracts/libraries/Oracle.sol#245-287) performs a multiplication on "},{"class":"uninitialized","component":"product","confidence":"medium","description":"SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(uint160,uint128,uint256,bool).product (contracts/libraries/SqrtPriceMath.sol#39) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/SqrtPriceMath.sol","id":"ffac0bf9427e7550774ec11a83c21e1bbe58b26e50a0612258be0c933813e076","line":39,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(uint160,uint128,uint256,bool).product (contracts/libraries/SqrtPriceMath.sol#39) is a local variable never i"},{"class":"uninitialized","component":"product_scope_0","confidence":"medium","description":"SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(uint160,uint128,uint256,bool).product_scope_0 (contracts/libraries/SqrtPriceMath.sol#49) is a local variable never initialized\n","exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/SqrtPriceMath.sol","id":"78b83f62b414bbe87b27894a6b7d95c42848a4fb96844d145dce318214ef88a8","line":49,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local"],"remediation":"Initialize storage variables explicitly in the constructor/initializer; for upgradeable contracts call the initializer through a tested pattern.","rule_id":"slither:uninitialized-local","severity":"medium","source":"slither","title":"SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(uint160,uint128,uint256,bool).product_scope_0 (contracts/libraries/SqrtPriceMath.sol#49) is a local variable"},{"class":"math-overflow","component":"tickSpacingToMaxLiquidityPerTick","confidence":"medium","description":"Tick.tickSpacingToMaxLiquidityPerTick(int24) (contracts/libraries/Tick.sol#44-49) performs a multiplication on the result of a division:\n\t- maxTick = (TickMath.MAX_TICK / tickSpacing) * tickSpacing (contracts/libraries/Tick.sol#46)\n","end_line":49,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/Tick.sol","id":"dcc9539fd10b5286ffef889c8c05a86dea86ac4affa781ae44990eb0980cc09d","line":44,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#divide-before-multiply"],"remediation":"Confirm the solc version uses checked arithmetic (>=0.8) or wrap mutations in OpenZeppelin SafeMath. Avoid unchecked blocks unless explicitly justified.","rule_id":"slither:divide-before-multiply","severity":"medium","source":"slither","title":"Tick.tickSpacingToMaxLiquidityPerTick(int24) (contracts/libraries/Tick.sol#44-49) performs a multiplication on the result of a division:"},{"class":"math-overflow","component":"getSqrtRatioAtTick","confidence":"medium","description":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) performs a multiplication on the result of a division:\n\t- ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128 (contracts/libraries/TickMath.sol#30)\n\t- ratio = type()(uint256).max / ratio (contracts/libraries/TickMath.sol#48)\n","end_line":54,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/libraries/TickMath.sol","id":"11734bce6db82d7186f62cce0e40f526aab24ca85003db3027f4424361d63da2","line":23,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#divide-before-multiply"],"remediation":"Confirm the solc version uses checked arithmetic (>=0.8) or wrap mutations in OpenZeppelin SafeMath. Avoid unchecked blocks unless explicitly justified.","rule_id":"slither:divide-before-multiply","severity":"medium","source":"slither","title":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) performs a multiplication on the result of a division:"},{"class":"unchecked-call","confidence":"unknown","description":"Low-level .call to an externally-controlled target. Combined with reentrancy or unchecked return values, this is a common fund-draining pattern.","exploitability":"unknown","exploitability_note":"Analyzer did not report a confidence level; treat as unverified until reviewed.","file":"contracts/libraries/TransferHelper.sol","id":"49c06087b71ae93a1cba1b12681e562ac078b67c0f45c48b8eddb8fac81ff326","line":20,"references":["https://github.com/JE4NVRG/vegasec/blob/main/apps/web/src/lib/risk/solidity/semgrep-rules/vegasec-solidity.yml#vegasec-low-level-call-untrusted"],"remediation":"Check the boolean return of low-level call/delegatecall/send and revert on failure with a descriptive reason string.","rule_id":"semgrep:vegasec-low-level-call-untrusted","severity":"medium","source":"semgrep","title":"Low-level .call to an externally-controlled target"},{"class":"timestamp-dependence","component":"initialize","confidence":"medium","description":"UniswapV3Pool.initialize(uint160) (contracts/UniswapV3Pool.sol#271-289) uses timestamp for comparisons\n\tDangerous comparisons:\n\t- require(bool,string)(slot0.sqrtPriceX96 == 0,AI) (contracts/UniswapV3Pool.sol#272)\n","end_line":289,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"f1996bcb420e1d4a03255e3d1b6d734e4e5ae4d3e766a806e2c4cb1c8de3846e","line":271,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#timestamp"],"remediation":"Treat block.timestamp as a coarse value with miner influence; prefer block-number windows for short-term invariants and add tolerance bands.","rule_id":"slither:timestamp","severity":"low","source":"slither","title":"UniswapV3Pool.initialize(uint160) (contracts/UniswapV3Pool.sol#271-289) uses timestamp for comparisons"},{"class":"reentrancy","component":"mint","confidence":"medium","description":"Reentrancy in UniswapV3Pool.mint(address,int24,int24,uint128,bytes) (contracts/UniswapV3Pool.sol#457-487):\n\tExternal calls:\n\t- IUniswapV3MintCallback(msg.sender).uniswapV3MintCallback(amount0,amount1,data) (contracts/UniswapV3Pool.sol#482)\n\tEvent emitted after the call(s):\n\t- Mint(msg.sender,recipient,tickLower,tickUpper,amount,amount0,amount1) (contracts/UniswapV3Pool.sol#486)\n","end_line":487,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"a539991782ec748a57d314a860b35135f938a3ff84652d37b014ba4625838c95","line":457,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-events"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-events","severity":"low","source":"slither","title":"Reentrancy in UniswapV3Pool.mint(address,int24,int24,uint128,bytes) (contracts/UniswapV3Pool.sol#457-487):"},{"class":"reentrancy","component":"collect","confidence":"medium","description":"Reentrancy in UniswapV3Pool.collect(address,int24,int24,uint128,uint128) (contracts/UniswapV3Pool.sol#490-513):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token0,recipient,amount0) (contracts/UniswapV3Pool.sol#505)\n\t- TransferHelper.safeTransfer(token1,recipient,amount1) (contracts/UniswapV3Pool.sol#509)\n\tEvent emitted after the call(s):\n\t- Collect(msg.sender,recipient,tickLower,tickUpper,amount0,amount1) (contracts/UniswapV3Pool.sol#512)\n","end_line":513,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"d1d8a218fb3270fd21d25077b5be6487fdd72eddaf49d969e2660e1e1b73a860","line":490,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-events"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-events","severity":"low","source":"slither","title":"Reentrancy in UniswapV3Pool.collect(address,int24,int24,uint128,uint128) (contracts/UniswapV3Pool.sol#490-513):"},{"class":"reentrancy","component":"swap","confidence":"medium","description":"Reentrancy in UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token1,recipient,uint256(- amount1)) (contracts/UniswapV3Pool.sol#773)\n\t- IUniswapV3SwapCallback(msg.sender).uniswapV3SwapCallback(amount0,amount1,data) (contracts/UniswapV3Pool.sol#776)\n\t- TransferHelper.safeTransfer(token0,recipient,uint256(- amount0)) (contracts/UniswapV3Pool.sol#779)\n\t- IUniswapV3SwapCallback(msg.sender).uniswapV3SwapCallback(amount0,amount1,data) (contracts/UniswapV3Pool.sol#782)\n\tEvent emitted after the call(s):\n\t- Swap(msg.sender,recipient,amount0,amount1,state.sqrtPriceX96,state.liquidity,state.tick) (contracts/UniswapV3Pool.sol#786)\n","end_line":788,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"19e4d6de6545c7034a7f218b06719dfa6376cab6f7851fe35288541436a8307f","line":596,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-events"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-events","severity":"low","source":"slither","title":"Reentrancy in UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788):"},{"class":"timestamp-dependence","component":"swap","confidence":"medium","description":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) uses timestamp for comparisons\n\tDangerous comparisons:\n\t- state.amountSpecifiedRemaining != 0 && state.sqrtPriceX96 != sqrtPriceLimitX96 (contracts/UniswapV3Pool.sol#641)\n\t- step.tickNext < TickMath.MIN_TICK (contracts/UniswapV3Pool.sol#653)\n\t- step.tickNext > TickMath.MAX_TICK (contracts/UniswapV3Pool.sol#655)\n\t- cache.feeProtocol > 0 (contracts/UniswapV3Pool.sol#682)\n\t- state.liquidity > 0 (contracts/UniswapV3Pool.sol#689)\n\t- state.sqrtPriceX96 == step.sqrtPriceNextX96 (contracts/UniswapV3Pool.sol#693)\n\t- state.sqrtPriceX96 != step.sqrtPriceStartX96 (contracts/UniswapV3Pool.sol#726)\n\t- state.tick != slot0Start.tick (contracts/UniswapV3Pool.sol#733)\n\t- cache.liquidityStart != state.liquidity (contracts/UniswapV3Pool.sol#755)\n\t- state.protocolFee > 0 (contracts/UniswapV3Pool.sol#761)\n\t- state.protocolFee > 0 (contracts/UniswapV3Pool.sol#764)\n\t- amount1 < 0 (contracts/UniswapV3Pool.sol#773)\n\t- require(bool,string)(balance0Before.add(uint256(amount0)) <= balance0(),IIA) (contracts/UniswapV3Pool.sol#777)\n\t- amount0 < 0 (contracts/UniswapV3Pool.sol#779)\n\t- require(bool,string)(balance1Before.add(uint256(amount1)) <= balance1(),IIA) (contracts/UniswapV3Pool.sol#783)\n\t- (step.sqrtPriceNextX96 < sqrtPriceLimitX96) (contracts/UniswapV3Pool.sol#663-671)\n\t- (step.sqrtPriceNextX96 > sqrtPriceLimitX96) (contracts/UniswapV3Pool.sol#663-671)\n","end_line":788,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"d6e7e4627e47252aca3a1e4effe590c107dfe13aa52c0796a0178f25d893c037","line":596,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#timestamp"],"remediation":"Treat block.timestamp as a coarse value with miner influence; prefer block-number windows for short-term invariants and add tolerance bands.","rule_id":"slither:timestamp","severity":"low","source":"slither","title":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) uses timestamp for comparisons"},{"class":"reentrancy","component":"flash","confidence":"medium","description":"Reentrancy in UniswapV3Pool.flash(address,uint256,uint256,bytes) (contracts/UniswapV3Pool.sol#791-834):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token0,recipient,amount0) (contracts/UniswapV3Pool.sol#805)\n\t- TransferHelper.safeTransfer(token1,recipient,amount1) (contracts/UniswapV3Pool.sol#806)\n\t- IUniswapV3FlashCallback(msg.sender).uniswapV3FlashCallback(fee0,fee1,data) (contracts/UniswapV3Pool.sol#808)\n\tEvent emitted after the call(s):\n\t- Flash(msg.sender,recipient,amount0,amount1,paid0,paid1) (contracts/UniswapV3Pool.sol#833)\n","end_line":834,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"89ff903eff435be6e8757f171b9e541d817ac4e00025f3be40f0b05cbed2aad6","line":791,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-events"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-events","severity":"low","source":"slither","title":"Reentrancy in UniswapV3Pool.flash(address,uint256,uint256,bytes) (contracts/UniswapV3Pool.sol#791-834):"},{"class":"reentrancy","component":"collectProtocol","confidence":"medium","description":"Reentrancy in UniswapV3Pool.collectProtocol(address,uint128,uint128) (contracts/UniswapV3Pool.sol#848-868):\n\tExternal calls:\n\t- TransferHelper.safeTransfer(token0,recipient,amount0) (contracts/UniswapV3Pool.sol#859)\n\t- TransferHelper.safeTransfer(token1,recipient,amount1) (contracts/UniswapV3Pool.sol#864)\n\tEvent emitted after the call(s):\n\t- CollectProtocol(msg.sender,recipient,amount0,amount1) (contracts/UniswapV3Pool.sol#867)\n","end_line":868,"exploitability":"medium","exploitability_note":"Medium-confidence detection; manual review required before relying on the finding either way.","file":"contracts/UniswapV3Pool.sol","id":"50e4ca0beafdb205c69f968b9e1b529d4fe348db1ae284e7462954ba102fddc9","line":848,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-events"],"remediation":"Apply the checks-effects-interactions pattern. State writes must happen before external calls, and consider OpenZeppelin's ReentrancyGuard for high-risk entry points.","rule_id":"slither:reentrancy-events","severity":"low","source":"slither","title":"Reentrancy in UniswapV3Pool.collectProtocol(address,uint128,uint128) (contracts/UniswapV3Pool.sol#848-868):"},{"class":"logic","component":"=0.7.6","confidence":"high","description":"5 different versions of Solidity are used:\n\t- Version constraint =0.7.6 is used by:\n\t\t-=0.7.6 (contracts/NoDelegateCall.sol#2)\n\t\t-=0.7.6 (contracts/UniswapV3Pool.sol#2)\n\t- Version constraint >=0.5.0 is used by:\n\t\t->=0.5.0 (contracts/interfaces/IERC20Minimal.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/IUniswapV3Factory.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/IUniswapV3Pool.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/IUniswapV3PoolDeployer.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/callback/IUniswapV3FlashCallback.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/callback/IUniswapV3MintCallback.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/callback/IUniswapV3SwapCallback.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolActions.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolEvents.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolImmutables.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol#2)\n\t\t->=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolState.sol#2)\n\t\t->=0.5.0 (contracts/libraries/BitMath.sol#2)\n\t\t->=0.5.0 (contracts/libraries/LiquidityMath.sol#2)\n\t\t->=0.5.0 (contracts/libraries/Oracle.sol#2)\n\t\t->=0.5.0 (contracts/libraries/Position.sol#2)\n\t\t->=0.5.0 (contracts/libraries/SafeCast.sol#2)\n\t\t->=0.5.0 (contracts/libraries/SqrtPriceMath.sol#2)\n\t\t->=0.5.0 (contracts/libraries/SwapMath.sol#2)\n\t\t->=0.5.0 (contracts/libraries/Tick.sol#2)\n\t\t->=0.5.0 (contracts/libraries/TickBitmap.sol#2)\n\t\t->=0.5.0 (contracts/libraries/TickMath.sol#2)\n\t\t->=0.5.0 (contracts/libraries/UnsafeMath.sol#2)\n\t- Version constraint >=0.4.0 is used by:\n\t\t->=0.4.0 (contracts/libraries/FixedPoint128.sol#2)\n\t\t->=0.4.0 (contracts/libraries/FixedPoint96.sol#2)\n\t\t->=0.4.0 (contracts/libraries/FullMath.sol#2)\n\t- Version constraint >=0.7.0 is used by:\n\t\t->=0.7.0 (contracts/libraries/LowGasSafeMath.sol#2)\n\t- Version constraint >=0.6.0 is used by:\n\t\t->=0.6.0 (contracts/libraries/TransferHelper.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/NoDelegateCall.sol","id":"e65db2c70bbb5069372b4550360735e0eff2c1016e008e660f794f553b98c6d4","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#pragma"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:pragma","severity":"informational","source":"slither","title":"5 different versions of Solidity are used:"},{"class":"logic","component":"=0.7.6","confidence":"high","description":"Version constraint =0.7.6 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)\n\t- FullInlinerNonExpressionSplitArgumentEvaluationOrder\n\t- MissingSideEffectsOnSelectorAccess\n\t- AbiReencodingHeadOverflowWithStaticArrayCleanup\n\t- DirtyBytesArrayToStorage\n\t- DataLocationChangeInInternalOverride\n\t- NestedCalldataArrayAbiReencodingSizeValidation\n\t- SignedImmutables\n\t- ABIDecodeTwoDimensionalArrayMemory\n\t- KeccakCaching.\nIt is used by:\n\t- =0.7.6 (contracts/NoDelegateCall.sol#2)\n\t- =0.7.6 (contracts/UniswapV3Pool.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/NoDelegateCall.sol","id":"2800e10f3b9b23db6d7e0b926e4f0baf25e0eac3ce3ab03498b31165690c957a","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#solc-version"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:solc-version","severity":"informational","source":"slither","title":"Version constraint =0.7.6 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)"},{"class":"unchecked-call","component":"balance0","confidence":"high","description":"Low level call in UniswapV3Pool.balance0() (contracts/UniswapV3Pool.sol#140-145):\n\t- (success,data) = token0.staticcall(abi.encodeWithSelector(IERC20Minimal.balanceOf.selector,address(this))) (contracts/UniswapV3Pool.sol#141-142)\n","end_line":145,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/UniswapV3Pool.sol","id":"af304746931ad18535c99a4a21056a203b3f49a08baaf834afb4807cecdd9a7d","line":140,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#low-level-calls"],"remediation":"Check the boolean return of low-level call/delegatecall/send and revert on failure with a descriptive reason string.","rule_id":"slither:low-level-calls","severity":"informational","source":"slither","title":"Low level call in UniswapV3Pool.balance0() (contracts/UniswapV3Pool.sol#140-145):"},{"class":"unchecked-call","component":"balance1","confidence":"high","description":"Low level call in UniswapV3Pool.balance1() (contracts/UniswapV3Pool.sol#150-155):\n\t- (success,data) = token1.staticcall(abi.encodeWithSelector(IERC20Minimal.balanceOf.selector,address(this))) (contracts/UniswapV3Pool.sol#151-152)\n","end_line":155,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/UniswapV3Pool.sol","id":"39c90be9f168917439c871aa1f088983262b5f1982768276bd695b25ab20fccd","line":150,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#low-level-calls"],"remediation":"Check the boolean return of low-level call/delegatecall/send and revert on failure with a descriptive reason string.","rule_id":"slither:low-level-calls","severity":"informational","source":"slither","title":"Low level call in UniswapV3Pool.balance1() (contracts/UniswapV3Pool.sol#150-155):"},{"class":"other","component":"swap","confidence":"high","description":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) has a high cyclomatic complexity (28).\n","end_line":788,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/UniswapV3Pool.sol","id":"ad8e1767bb5a613d4d03ae0076117f1a3c468765689a2915b08aaa0f5c1e0cda","line":596,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:cyclomatic-complexity","severity":"informational","source":"slither","title":"UniswapV3Pool.swap(address,bool,int256,uint160,bytes) (contracts/UniswapV3Pool.sol#596-788) has a high cyclomatic complexity (28)."},{"class":"logic","component":">=0.5.0","confidence":"high","description":"Version constraint >=0.5.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)\n\t- DirtyBytesArrayToStorage\n\t- ABIDecodeTwoDimensionalArrayMemory\n\t- KeccakCaching\n\t- EmptyByteArrayCopy\n\t- DynamicArrayCleanup\n\t- ImplicitConstructorCallvalueCheck\n\t- TupleAssignmentMultiStackSlotComponents\n\t- MemoryArrayCreationOverflow\n\t- privateCanBeOverridden\n\t- SignedArrayStorageCopy\n\t- ABIEncoderV2StorageArrayWithMultiSlotElement\n\t- DynamicConstructorArgumentsClippedABIV2\n\t- UninitializedFunctionPointerInConstructor\n\t- IncorrectEventSignatureInLibraries\n\t- ABIEncoderV2PackedStorage.\nIt is used by:\n\t- >=0.5.0 (contracts/interfaces/IERC20Minimal.sol#2)\n\t- >=0.5.0 (contracts/interfaces/IUniswapV3Factory.sol#2)\n\t- >=0.5.0 (contracts/interfaces/IUniswapV3Pool.sol#2)\n\t- >=0.5.0 (contracts/interfaces/IUniswapV3PoolDeployer.sol#2)\n\t- >=0.5.0 (contracts/interfaces/callback/IUniswapV3FlashCallback.sol#2)\n\t- >=0.5.0 (contracts/interfaces/callback/IUniswapV3MintCallback.sol#2)\n\t- >=0.5.0 (contracts/interfaces/callback/IUniswapV3SwapCallback.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolActions.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolEvents.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolImmutables.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol#2)\n\t- >=0.5.0 (contracts/interfaces/pool/IUniswapV3PoolState.sol#2)\n\t- >=0.5.0 (contracts/libraries/BitMath.sol#2)\n\t- >=0.5.0 (contracts/libraries/LiquidityMath.sol#2)\n\t- >=0.5.0 (contracts/libraries/Oracle.sol#2)\n\t- >=0.5.0 (contracts/libraries/Position.sol#2)\n\t- >=0.5.0 (contracts/libraries/SafeCast.sol#2)\n\t- >=0.5.0 (contracts/libraries/SqrtPriceMath.sol#2)\n\t- >=0.5.0 (contracts/libraries/SwapMath.sol#2)\n\t- >=0.5.0 (contracts/libraries/Tick.sol#2)\n\t- >=0.5.0 (contracts/libraries/TickBitmap.sol#2)\n\t- >=0.5.0 (contracts/libraries/TickMath.sol#2)\n\t- >=0.5.0 (contracts/libraries/UnsafeMath.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/interfaces/IERC20Minimal.sol","id":"330d858f7236c4218991c555991419a8af1f91a4da19e7fbc0f744347b79cfce","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#solc-version"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:solc-version","severity":"informational","source":"slither","title":"Version constraint >=0.5.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)"},{"class":"other","component":"mostSignificantBit","confidence":"medium","description":"BitMath.mostSignificantBit(uint256) (contracts/libraries/BitMath.sol#13-45) uses literals with too many digits:\n\t- x >= 0x100000000 (contracts/libraries/BitMath.sol#24)\n","end_line":45,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/BitMath.sol","id":"49083d2ad1d25d8f9e44f818494aa13774e954dee53c1907c56fc14b05a9b8bf","line":13,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#too-many-digits"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:too-many-digits","severity":"informational","source":"slither","title":"BitMath.mostSignificantBit(uint256) (contracts/libraries/BitMath.sol#13-45) uses literals with too many digits:"},{"class":"logic","component":">=0.4.0","confidence":"high","description":"Version constraint >=0.4.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)\n\t- DirtyBytesArrayToStorage\n\t- KeccakCaching\n\t- EmptyByteArrayCopy\n\t- DynamicArrayCleanup\n\t- TupleAssignmentMultiStackSlotComponents\n\t- MemoryArrayCreationOverflow\n\t- privateCanBeOverridden\n\t- IncorrectEventSignatureInLibraries_0.4.x\n\t- ExpExponentCleanup\n\t- NestedArrayFunctionCallDecoder\n\t- ZeroFunctionSelector\n\t- DelegateCallReturnValue\n\t- ECRecoverMalformedInput\n\t- SkipEmptyStringLiteral\n\t- ConstantOptimizerSubtraction\n\t- IdentityPrecompileReturnIgnored\n\t- HighOrderByteCleanStorage\n\t- OptimizerStaleKnowledgeAboutSHA3\n\t- LibrariesNotCallableFromPayableFunctions.\nIt is used by:\n\t- >=0.4.0 (contracts/libraries/FixedPoint128.sol#2)\n\t- >=0.4.0 (contracts/libraries/FixedPoint96.sol#2)\n\t- >=0.4.0 (contracts/libraries/FullMath.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/FixedPoint128.sol","id":"b033645d2a726a4486edd0e3b75833fce190dec345ede36a7faf6e7e66300761","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#solc-version"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:solc-version","severity":"informational","source":"slither","title":"Version constraint >=0.4.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)"},{"class":"other","component":"slitherConstructorConstantVariables","confidence":"medium","description":"FixedPoint128.slitherConstructorConstantVariables() (contracts/libraries/FixedPoint128.sol#6-8) uses literals with too many digits:\n\t- Q128 = 0x100000000000000000000000000000000 (contracts/libraries/FixedPoint128.sol#7)\n","end_line":8,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/FixedPoint128.sol","id":"3652f4db983117c66f42894e19f52e15d40e1b25390cb8e07ac7703cfaf5dc7f","line":6,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#too-many-digits"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:too-many-digits","severity":"informational","source":"slither","title":"FixedPoint128.slitherConstructorConstantVariables() (contracts/libraries/FixedPoint128.sol#6-8) uses literals with too many digits:"},{"class":"other","component":"slitherConstructorConstantVariables","confidence":"medium","description":"FixedPoint96.slitherConstructorConstantVariables() (contracts/libraries/FixedPoint96.sol#7-10) uses literals with too many digits:\n\t- Q96 = 0x1000000000000000000000000 (contracts/libraries/FixedPoint96.sol#9)\n","end_line":10,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/FixedPoint96.sol","id":"6b2d963c59a1906711c56151f0fb42698389971d053f94dcaa66b0d3d73a199f","line":7,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#too-many-digits"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:too-many-digits","severity":"informational","source":"slither","title":"FixedPoint96.slitherConstructorConstantVariables() (contracts/libraries/FixedPoint96.sol#7-10) uses literals with too many digits:"},{"class":"logic","component":"mulDiv","confidence":"high","description":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) uses assembly\n\t- INLINE ASM (contracts/libraries/FullMath.sol#26-30)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#35-37)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#52-54)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#56-59)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#66-68)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#71-73)\n\t- INLINE ASM (contracts/libraries/FullMath.sol#77-79)\n","end_line":106,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/FullMath.sol","id":"ffe03f44461021487b50fb1875019e0058aa534c955ee2267f52ff9f1f90fdea","line":14,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#assembly"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:assembly","severity":"informational","source":"slither","title":"FullMath.mulDiv(uint256,uint256,uint256) (contracts/libraries/FullMath.sol#14-106) uses assembly"},{"class":"logic","component":">=0.7.0","confidence":"high","description":"Version constraint >=0.7.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)\n\t- FullInlinerNonExpressionSplitArgumentEvaluationOrder\n\t- MissingSideEffectsOnSelectorAccess\n\t- AbiReencodingHeadOverflowWithStaticArrayCleanup\n\t- DirtyBytesArrayToStorage\n\t- DataLocationChangeInInternalOverride\n\t- NestedCalldataArrayAbiReencodingSizeValidation\n\t- SignedImmutables\n\t- ABIDecodeTwoDimensionalArrayMemory\n\t- KeccakCaching\n\t- EmptyByteArrayCopy\n\t- DynamicArrayCleanup.\nIt is used by:\n\t- >=0.7.0 (contracts/libraries/LowGasSafeMath.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/LowGasSafeMath.sol","id":"466540732cfb6c5e567cbd7060a5b66e9a269b8a283bbb6cc511f082f1889e14","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#solc-version"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:solc-version","severity":"informational","source":"slither","title":"Version constraint >=0.7.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)"},{"class":"other","component":"computeSwapStep","confidence":"high","description":"SwapMath.computeSwapStep(uint160,uint160,uint128,int256,uint24) (contracts/libraries/SwapMath.sol#21-97) has a high cyclomatic complexity (13).\n","end_line":97,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/SwapMath.sol","id":"80de010232fa42ef689c10af9f088f8019e0c558fcce42e663471eb73351654e","line":21,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:cyclomatic-complexity","severity":"informational","source":"slither","title":"SwapMath.computeSwapStep(uint160,uint160,uint128,int256,uint24) (contracts/libraries/SwapMath.sol#21-97) has a high cyclomatic complexity (13)."},{"class":"other","component":"getSqrtRatioAtTick","confidence":"high","description":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) has a high cyclomatic complexity (24).\n","end_line":54,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/TickMath.sol","id":"299db849fa7b8fd3931fc6d0ed62d57ec8a93eb237f23adbdd487c9a70222e33","line":23,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:cyclomatic-complexity","severity":"informational","source":"slither","title":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) has a high cyclomatic complexity (24)."},{"class":"other","component":"getSqrtRatioAtTick","confidence":"medium","description":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) uses literals with too many digits:\n\t- ratio = 0x100000000000000000000000000000000 (contracts/libraries/TickMath.sol#27)\n","end_line":54,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/TickMath.sol","id":"8e6edc32fcbb68a50ddb08ee3d2dcfa6e7de30acd008bd92baf272b40798d648","line":23,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#too-many-digits"],"remediation":"Review the detector output against the source manually; if exploitable, design a fix and add a regression test before deploying.","rule_id":"slither:too-many-digits","severity":"informational","source":"slither","title":"TickMath.getSqrtRatioAtTick(int24) (contracts/libraries/TickMath.sol#23-54) uses literals with too many digits:"},{"class":"logic","component":"getTickAtSqrtRatio","confidence":"high","description":"TickMath.getTickAtSqrtRatio(uint160) (contracts/libraries/TickMath.sol#61-204) uses assembly\n\t- INLINE ASM (contracts/libraries/TickMath.sol#69-73)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#74-78)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#79-83)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#84-88)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#89-93)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#94-98)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#99-103)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#104-107)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#114-119)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#120-125)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#126-131)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#132-137)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#138-143)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#144-149)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#150-155)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#156-161)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#162-167)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#168-173)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#174-179)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#180-185)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#186-191)\n\t- INLINE ASM (contracts/libraries/TickMath.sol#192-196)\n","end_line":204,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/TickMath.sol","id":"92b9d7c7b5a38e51f3a75dcaf7597d479ab2028ff58fb32ba2e0b48967eb1414","line":61,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#assembly"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:assembly","severity":"informational","source":"slither","title":"TickMath.getTickAtSqrtRatio(uint160) (contracts/libraries/TickMath.sol#61-204) uses assembly"},{"class":"logic","component":">=0.6.0","confidence":"high","description":"Version constraint >=0.6.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)\n\t- AbiReencodingHeadOverflowWithStaticArrayCleanup\n\t- DirtyBytesArrayToStorage\n\t- NestedCalldataArrayAbiReencodingSizeValidation\n\t- ABIDecodeTwoDimensionalArrayMemory\n\t- KeccakCaching\n\t- EmptyByteArrayCopy\n\t- DynamicArrayCleanup\n\t- MissingEscapingInFormatting\n\t- ArraySliceDynamicallyEncodedBaseType\n\t- ImplicitConstructorCallvalueCheck\n\t- TupleAssignmentMultiStackSlotComponents\n\t- MemoryArrayCreationOverflow\n\t- YulOptimizerRedundantAssignmentBreakContinue.\nIt is used by:\n\t- >=0.6.0 (contracts/libraries/TransferHelper.sol#2)\n","exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/TransferHelper.sol","id":"9f7b47761e7cfe3f0cdc776c4d6d0d8c930d05b86843721357b9934438b38e9c","line":2,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#solc-version"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:solc-version","severity":"informational","source":"slither","title":"Version constraint >=0.6.0 contains known severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)"},{"class":"unchecked-call","component":"safeTransfer","confidence":"high","description":"Low level call in TransferHelper.safeTransfer(address,address,uint256) (contracts/libraries/TransferHelper.sol#14-22):\n\t- (success,data) = token.call(abi.encodeWithSelector(IERC20Minimal.transfer.selector,to,value)) (contracts/libraries/TransferHelper.sol#19-20)\n","end_line":22,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/TransferHelper.sol","id":"1280a1924cc60ab1a4d5093e34e9744c38647d65de17e787908d46aa30e88a81","line":14,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#low-level-calls"],"remediation":"Check the boolean return of low-level call/delegatecall/send and revert on failure with a descriptive reason string.","rule_id":"slither:low-level-calls","severity":"informational","source":"slither","title":"Low level call in TransferHelper.safeTransfer(address,address,uint256) (contracts/libraries/TransferHelper.sol#14-22):"},{"class":"logic","component":"divRoundingUp","confidence":"high","description":"UnsafeMath.divRoundingUp(uint256,uint256) (contracts/libraries/UnsafeMath.sol#12-16) uses assembly\n\t- INLINE ASM (contracts/libraries/UnsafeMath.sol#13-15)\n","end_line":16,"exploitability":"low","exploitability_note":"Informational signal; not directly exploitable without additional context.","file":"contracts/libraries/UnsafeMath.sol","id":"ee9f4536fed7a72c50d17ae08528b3c9da40d3d6ff6885fbbcbde264fead4570","line":12,"references":["https://github.com/crytic/slither/wiki/Detector-Documentation#assembly"],"remediation":"Re-derive the business rule by hand, write a property-based test that fails on the current path, and only then fix the implementation.","rule_id":"slither:assembly","severity":"informational","source":"slither","title":"UnsafeMath.divRoundingUp(uint256,uint256) (contracts/libraries/UnsafeMath.sol#12-16) uses assembly"}],"limitations":["VegaSec runs static analysis only. Findings can include false positives, miss patterns the configured detectors do not cover, and never replace manual auditor judgement.","Scan ran slither and semgrep against a multi-file sandboxed bundle of 31 Solidity file(s). Imports resolve between the bundled files; dependencies outside the bundle (an npm package, another repo, a generated file) are NOT analyzed, and an unresolved import makes the run partial rather than clean.","Some detectors emitted warnings (see `warnings`); their output was still ingested but should be read with extra care.","This report is not a certification, audit attestation, or financial advice."],"warnings":["Unmapped detector slither:unused-return — classified as 'other'","Unmapped detector slither:cyclomatic-complexity — classified as 'other'","Unmapped detector slither:too-many-digits — classified as 'other'"]},"canonical_version":"vss-canonical-1","coverage_status":"complete","final_score":0,"findings_count":45,"generated_at":"2026-10-04T00:37:28.163Z","id":"VSS-20261004-QSURMWA6","severity_counts":{"critical":0,"high":2,"informational":19,"low":7,"medium":17},"source_filename":"UniswapV3Pool.sol","source_hash":"d47b480ad56b4f59c46ba8ee32b4545df3a99a467e4434d2c398f358765c5ddc","surface":"solidity","warnings_count":3}