Urgent.News

What's breaking now, across thousands of outlets.

Tech

Smart Contract Vulnerability Surface Analysis: Portal

Smart Contract Vulnerability Surface Analysis: Portal Target Protocol : Portal (TVL: $1814.6M) Smart Contract Vulnerability Surface Analysis – Portal Protocol: Portal (TVL: ≈ $1.81 B across Ethereum & L2s) Date: 30 September 2026 Prepared by: [Your Company / Team] – Senior DeFi Security Researchers & Auditors 1. Executive Summary Portal is a high‑value, cross‑chain liquidity‑routing protocol that…

1. The Portal Protocol is a cross-chain liquidity-routing platform that aggregates assets from Ethereum's Layer 1 and multiple Layer 2 rollups, including Optimism, Arbitrum, and zkSync. Its core comprises several components: a Router for deposits/withdrawals, BridgeAdapters for L1↔L2 messaging, LiquidityPools for token-specific user deposits, and Governance DAO-controlled parameters.

2. The protocol's $1.81 billion TVL makes it an attractive target for sophisticated adversaries. The analysis identified ten critical attack vectors, each with a varying degree of severity and likelihood. These vectors include unrestricted upgradeability, re‑entrancy in cross-chain bridge callbacks, oracle manipulation, improper access control on emergency pause, cross-chain replay attacks, insufficient token validation, governance parameter manipulation, denial-of-service via gas exhaustion, front-running of liquidity provision, and insufficient event indexing for auditing.

3. The highest priority recommendation is to implement a timelocked upgrade mechanism with a minimum 48-hour delay and multi-sig governance for the upgradeTo function. This would allow users time to react in case of a malicious upgrade. Additionally, adding a re‑entrancy guard to all contracts would help prevent double‑counting of funds in case of a flash loan attack, and other recommendations include enforcing strict oracle validation, implementing access control improvements, enhancing cross-chain replay protection, validating ERC‑20 tokens more thoroughly, limiting governance parameter changes, adding gas limit checks to batch operations, preventing front-running of liquidity provision, and improving event indexing for easier on-chain forensic analysis.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I built a single power scale for people, companies and institutions (what worked, what broke)

Hi all, I'm a solo builder from India. This is my project, and it's still early, so I'd really value honest feedback. The idea Forbes ranks billionaires. Wikipedia describes people.

  • ApexHierarchy ranks individuals, companies, institutions, and countries on a single scale.
  • Six key dimensions used for ranking: Net Worth, Reach, Power, Influence, Network, and Legacy.
  • Apocalypse Index ranks entities with power to reshape world order.

Hitting a file-size window with canvas.toBlob: fitting passport photos into 54–240 KB

Government photo upload forms are strict about file size, and they are strict in both directions. The US DS-160 visa form wants a JPEG of at most 240 KB with a compression ratio no higher than 20:1.

  • US DS-160 visa form accepts JPEG up to 240 KB with 20:1 compression ratio
  • Binary search used to find optimal JPEG quality within 54–240 KB file size window
  • Aim for largest file fitting within byte window to maintain photo quality

Building a cyclone impact forecaster with only 61 data points

Almost every year, India’s east coast—especially Odisha, Andhra Pradesh, and West Bengal—takes a hit from a cyclone. While plenty of tools show where a storm is heading, very few tell you how many…

  • Cyclone Impact Forecaster developed with 61 historical Indian cyclone records
  • Tool combines 6-hour intensity forecast with district-level exposure ranking
  • Live demo and code available on Render and GitHub for public use

EDG C++ front-end goes public

  • EDG C++ front-end source released publicly on September 30, 2026
  • The C++ Alliance becomes nonprofit steward of EDG's engine and standards
  • EDG powers C++ compilation for three decades, influencing many compilers

More from Wednesday 30 September →