SShortSingh.
Back to feed

Auditing Who Controls DeFi Protocol Upgrades Requires Careful Blockchain Analysis

0
·1 views

Leaked admin keys have become the leading cause of DeFi losses, surpassing smart contract bugs. A technical blog post demonstrates how to audit upgrade authorization for contracts using a series of specific blockchain calls. The article outlines five common pitfalls in this process, including older proxy standards and off-chain admin structures. It applied this method to 146 Morpho vaults to illustrate the practical checks involved.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer fixes livestock counting by adjusting image processing, not AI model

A developer building an on-device livestock counting app encountered inaccurate results when testing on a real photo containing roughly 250 sheep. The CoreML model counted only 14 animals because the high-resolution image was being resized too small for the detector to recognize distant sheep. The solution involved processing the image in overlapping tiles so the model could see objects at a larger scale, without altering the model itself. This tiling technique increased detections from 14 to 173 on the same photo while maintaining accuracy on close-up images. The experience underscored that image pipeline adjustments often yield significant improvements before considering model changes.

0
ProgrammingDEV Community ·

Shapezo's structured data model aims to modernize heavy-civil construction documentation.

Shapezo proposes a new content architecture for documenting complex projects like interchanges, flyovers, ramps, and viaducts. It models an interchange as structured data with four core entity families: structures, alignments, phasing, and narrative. This structured model then automatically generates project narratives and reports instead of relying on unstructured prose in PDFs. The system enforces constraints on data and images to ensure consistency and clarity. This approach aims to make construction knowledge more reliable and easier to track over a project's lifecycle.

0
ProgrammingDEV Community ·

Cross-browser WebCodecs test shows inconsistent handling of video rotation metadata

A developer testing the WebCodecs API encountered consistent rotation handling issues across four major browsers. Chrome, Chromium, Firefox, and WebKit all produced sideways video frames when decoding portrait-oriented MP4 files containing rotation metadata. The rotation information is stored in the MP4 container's track header rather than within the video data itself. Browser implementations inconsistently read and applied this metadata during the decoding process. This inconsistency affects developers relying on WebCodecs for precise video frame manipulation.

0
ProgrammingDEV Community ·

Stardew Valley creator chose XNA/MonoGame for control, leading to 50 million sales.

Eric "ConcernedApe" Barone developed Stardew Valley alone over four and a half years using Microsoft's XNA framework and its open-source successor, MonoGame. He chose the C#-based tools for their fit with his skills and the game's 2D pixel art style, despite the framework being officially discontinued. This choice granted him full control and low hardware requirements but required building many systems from scratch. The game, powered by MonoGame, has sold over 50 million copies as of February 2026. The article positions this as an example of how niche tools can benefit small teams compared to larger engines like Unity or Unreal.