Urgent.News

What's breaking now, across thousands of outlets.

Tech

Tamper-proof distributed nodes: SHA-256 source code integrity verification.

Day 03 of the wFabricSecurity Open-Source Engineering Series. How do you know the worker submitting transactions to your blockchain hasn't been modified on disk? wFabricSecurity verifies SHA-256 code integrity before any transaction runs. The Pain Points We Faced Attackers injecting backdoors or modifying Python worker files directly on edge servers Silent configuration drift across decentralized…

Day 03 of the wFabricSecurity Open-Source Engineering Series discusses how to ensure the integrity of worker nodes submitting transactions to a blockchain. wFabricSecurity addresses this by verifying SHA-256 code integrity before any transaction runs. The primary concerns this tool tackles are attackers injecting backdoors, silent configuration drift across decentralized node fleets, and ensuring that a smart contract worker executes the audited version of business logic.

The implementation involves importing the wFabricSecurity module and creating an instance called security. This instance is initialized with the node name and the path to the Membership Service Provider ( MSP ) directory. Next, critical application files such as worker_logic.py and contract_gateway.py are registered with their audited versions using the register_code method, specifying the release version (e.g., 1.0.0).

If an attacker modifies any of these files, the verification process will fail, preventing the code from executing.

The key to this architecture's effectiveness lies in SHA-256 code hashing, which generates a deterministic cryptographic hash of the critical source files. This hash allows for immediate tamper detection by halting execution if even a single byte of source code changes. Each registered file is bound to a specific release version, enabling on-chain audit trails.

The tool has been tested and verified in Hyperledger Fabric environments and is compatible with Python 3.10 and above, supporting cryptographic identity management, code integrity hashing, and token-bucket rate limiting. The source code and documentation can be found on GitHub and PyPI, with the author credited as William Steve Rodríguez Villamizar, also known as Wisrovi.

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

Nunca más crees partes de 1 fila en ClickHouse: Buffer Manager integrado.

Día 03 de la serie técnica WClickHouse Open Source. No necesitas un cluster de Redis solo para proteger a ClickHouse de escrituras en streaming.

  • WClickHouse introduces integrated Buffer Manager in memory.
  • Simplifies real-time event streaming for microservices.
  • Achieves 95% test coverage with Python 3.9-3.14 support.

trelix v3.2.2 to v3.3.8: A GitHub App Already Hardened and Running in Production, and a Connector That Never Touches a Pixel

docker run --entrypoint trelix-mcp ghcr.io/sairam0424/trelix:3.2.1 --help returns exit code 127: command not found. Not a typo, not a stale tag — the published 3.2.1 image never contained trelix-mcp…

  • Trelix evolves from v3.2.2 to v3.3.8, addressing previous defects
  • Version 3.2.3 introduces CI pipeline, fixes LIKE -wildcard bug
  • Version 3.3.8 marks correct code, new features and fixes implemented

More from Saturday 26 September →