{"id":18964279,"url":"https://github.com/lorransutter/intro-bc-security-practices","last_synced_at":"2026-04-02T20:30:15.261Z","repository":{"id":114624522,"uuid":"251438516","full_name":"LorranSutter/Intro-BC-Security-Practices","owner":"LorranSutter","description":"Labs for BCDV1002 - Intro to Blockchain - Security Practices","archived":false,"fork":false,"pushed_at":"2023-05-10T02:53:03.000Z","size":33,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T05:30:03.525Z","etag":null,"topics":["blockchain","cryptography","ethersjs","security","security-practices","smart-contracts","solidity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LorranSutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-30T22:02:22.000Z","updated_at":"2020-08-01T19:24:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"10a2f638-d6f5-4d29-a568-fdf33795327f","html_url":"https://github.com/LorranSutter/Intro-BC-Security-Practices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorranSutter%2FIntro-BC-Security-Practices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorranSutter%2FIntro-BC-Security-Practices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorranSutter%2FIntro-BC-Security-Practices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorranSutter%2FIntro-BC-Security-Practices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LorranSutter","download_url":"https://codeload.github.com/LorranSutter/Intro-BC-Security-Practices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239959950,"owners_count":19725221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cryptography","ethersjs","security","security-practices","smart-contracts","solidity"],"created_at":"2024-11-08T14:23:33.873Z","updated_at":"2026-04-02T20:30:15.208Z","avatar_url":"https://github.com/LorranSutter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intro to Blockchain - Security Practices\nLabs for the course BCDV1002 - Introduction to Blockchain - Security Practices from [Blockchain Development](https://www.georgebrown.ca/programs/blockchain-development-program-t175/) program from [George Brown College](https://www.georgebrown.ca)\n\n## :pencil: Course outline\n\nThis course covers a set of security best practices and possible flaws in developing smart contracts.\n\n- ### Lesson 01 - Cryptographic Primitives\n    - Randomness, hash functions and signatures.\n    - Learn how to create a valid Ethereum address.\n\n- ### Lesson 02 - Blockchain Architecture\n    - Transactions, blocks and nodes, interfaces\n    - Simulate an Ethereum transaction with [ganache-cli](https://github.com/trufflesuite/ganache-cli) and [metamask](https://metamask.io/).\n\n- ### Lesson 03 - Solidity Programming\n    - Structure, programming, data-structures\n    - Security practices for smart contracts using [remix](https://remix.ethereum.org/).\n\n- ### Lesson 04 - Smart Contract Security\n    - Threat models, contract interactions, on-chain randomness, re-entrancy\n    - Perform a hack exploring smart contracts flaws.\n\n- ### Lesson 05 - Full Stack Security\n    - Input handling, on-chain/off-chain\n    - Modify a smart contract and an off-chain program to make them secure preventing replay attacks and cross-contract spends.\n\n## :computer: Technologies\n- [Ethers.js](https://docs.ethers.io/) - interact with smart contracts\n- [Ethereumjs-util](https://www.npmjs.com/package/ethereumjs-util) - utility functions for Ethereum\n- [Ganache-CLI](https://github.com/trufflesuite/ganache-cli) - blockchain emulator\n- [Metamask](https://metamask.io/) - crypto wallet\n- [Remix](https://remix.ethereum.org/) - suite of tools for smart contracts\n\n## :cookie: Credits\n- [Doug Hoyte](https://hoytech.github.io/blockchain-security/) - course website for BCDV1002\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florransutter%2Fintro-bc-security-practices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florransutter%2Fintro-bc-security-practices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florransutter%2Fintro-bc-security-practices/lists"}