Loading video player...
AI Security Shield – Full‑Stack Web3 Smart Contract Security Platform Project Overview AI Security Shield combines AI (Groq Llama 3.3 70B) with blockchain to analyse EVM smart contracts, store reports on IPFS, mint NFT audit badges, reward users with BOUNTY tokens, maintain an on‑chain risk leaderboard, run an automated monitoring bot, and provide a marketplace for audit NFTs. All smart contracts are Solidity 0.8.19 and work on Ethereum, BNB Chain, Polygon, Hardhat, Sepolia, etc. Detailed Features Smart Contract Address Scanner – Paste any contract address (Ethereum, BNB Chain, Polygon). Backend fetches bytecode, AI evaluates risks (reentrancy, front‑running, access control). Works without source code. Smart Contract Code Scanner – Paste raw Solidity code. AI performs static analysis and returns a structured report. AI‑Powered Vulnerability Analysis – Groq LLM generates risk score (0‑100), risk level (Low/Medium/High), specific findings, and actionable recommendations. Output is strict JSON. IPFS – Permanent Storage – After scan, upload report to Pinata’s IPFS gateway. A unique IPFS CID hash is displayed – decentralised, immutable, verifiable. PDF Export – One‑click export of any report as a professional PDF (html2pdf.js). Share or submit to bug bounties. NFT Audit Badge (ERC‑721) – After IPFS upload, mint an NFT badge. Metadata points to the IPFS hash – on‑chain certificate of security. Minting uses connected wallet (Hardhat local or any testnet/mainnet). On‑Chain Risk Leaderboard – Submit risk score to a leaderboard contract. Stores user address, contract address, score, timestamp permanently. Frontend shows top 10 highest risk scores (risk leaderboard – higher risk means more vulnerabilities). Bounty Token Reward (ERC‑20) – Submitting a score automatically mints and sends BOUNTY tokens to the user’s wallet. Tokens can be used in the marketplace. Only valid submissions (leaderboard as minter) trigger rewards. Automated 24/7 Monitoring Bot – After scanning, click “Monitor Contract”. Backend cron job checks every 30 seconds. Demo version simulates suspicious activity for high‑risk (greater than 70) and shows an alert. Production can monitor balances, ownership changes, exploit patterns, call emergency pauses. Audit NFT Marketplace – Owners list audit NFTs for sale at a price in BOUNTY tokens. NFT goes to escrow. Buyer pays tokens, seller receives tokens, NFT transfers automatically. Creates a secondary market for security certificates. Blockchain & Web3 Technologies Used EVM Compatibility: Solidity 0.8.19, works on Ethereum, BNB Chain, Polygon, Hardhat, Sepolia. Network selection in frontend dropdown. ERC‑721: Audit badge with enumerable extension, metadata linked to IPFS hash – fully on‑chain. ERC‑20 (BOUNTY): Reward token minted by leaderboard contract, free transfer, used as marketplace currency. Smart Contract Interactions: Frontend connects to MetaMask via ethers.js. Write operations (mint, submit score, list/buy NFT, monitor) signed by user. Chainlink CCIP Ready: Codebase structured for cross‑chain risk scores (not activated). Hardhat: Developed, tested, deployed with Hardhat. Local network for fast, gas‑free testing. Production ready for Sepolia/Mumbai/mainnets. IPFS & Pinata: Reports uploaded to IPFS via Pinata. Hash stored in NFT metadata and displayed – no central server. Groq AI API: Llama 3.3 70B for code and address heuristics, outputs strict JSON. Full‑Stack Architecture Backend (Node.js+Express): REST APIs for AI, IPFS, monitoring (Groq SDK, Pinata SDK, node‑cron). Frontend (React+Vite): Neon/cyber theme, connects to MetaMask, interacts with contracts via ethers.js. Smart Contracts (Hardhat+Solidity): Six contracts – BountyToken, SimpleNFT, RiskLeaderboard, SecurityMonitor, AuditMarketplace, SecurityShield. Addresses stored in contracts.json for dynamic loading. GitHub Repository All source code: https://github.com/satyamtyagi15/AI-SECURITY-SHIELD Full documentation, deployment scripts, local/testnet setup. 👍 Like | 💬 Comment | 📤 Share | 🔔 Subscribe — stay tuned for more! ✨ #AISecurityShield #SmartContractAudit #BlockchainSecurity #Web3 #Solidity #NFT #IPFS #Groq #Hardhat #Ethereum #DeFi #CryptoSecurity #OpenSource #FullStackBlockchain #AIAudit #OnChainLeaderboard #BountyToken #AutomatedMonitoring #AuditMarketplace #Web3Dev #blockchain #web3 #AI