ASTRA
1
AI-ASSISTED SMART CONTRACT AUDIT & VERIFICATION
1
Problem Statement Theme: Web3 / Blockchain (Cybersecurity + AI)
Problem Statement Title: Smart Contract Vulnerability Scanner: an AI-assisted, blockchain-verified audit workflow
Team Members: Ansh Singh, Bhoomika Patle, Krishna, Richa Shukla
ASTRA
VULNEX
2
1
IDEA - VULNEX
2
ASTRA
One workspace: from bug to a verifiable audit
Find
Scan pasted Solidity
Understand
Plain-English reasons
Fix
AI suggests safer code
Re-test
Instant re-scan
Compare
V1 vs V2 results
Certify
Hash saved on-chain
Verify
Anyone scans a QR
Problem
VULNEX answer
Too many tools
One workspace
Cryptic reports
Evidence + plain English
No fix guidance
AI tutor suggests fixes
Did the fix work?
Instant before/after re-scan
Forgeable PDFs
Audit hash on-chain
What makes it different
1
Rules detect, AI explains,
you decide
2
Only a hash goes on-chain,
never your code
3
One QR scan to verify,
no blind trust
ASTRA
TECHNICAL APPROACH
3
ASTRA
1
3
FRONTEND
What the user does & sees
▸ Pastes Solidity code
▸ Sees risky lines flagged
▸ Explores 2D call graph
▸ Views V1 vs V2 report
BACKEND
What the server computes
▸ Parses code into AST
▸ Runs Slither + rules
▸ Tags severity + evidence
▸ Diffs V1 vs V2 findings
AI LAYER
What the AI adds
▸ Gets rule findings only
▸ Explains why it is risky
▸ Suggests a safer fix
▸ Never overrules rules
BLOCKCHAIN
What gets proven
▸ SHA-256 hash of audit
▸ Hash stored on-chain
▸ Public page re-checks it
▸ Verified / Mismatch
Methodology
1 Rules detect
2 Evidence attached
3 AI explains
4 Fix & re-scan
5 Chain attests
1
ASTRA
4
HOW IT WORKS
PHASE 1 • Detect & understand
Paste code
Solidity in the editor
1
Static analysis
AST + Slither + rules
2
Findings
Exact risky lines + severity
3
2D explorer
Graph of calls & permissions
4
AI tutor
Plain-English why + fix idea
5
PHASE 2 • Fix & prove
Apply fix
Human reviews safer pattern
6
Re-scan
V1 vs V2: 4 High → 0
7
Hash
SHA-256 of audit report
8
Attest
Hash on testnet, never code
9
Verify
QR → Verified or Mismatch
10
ASTRA
ASTRA
FEASIBILITY AND VIABILITY
5
1
5
Risk → How we handle it
AI hallucination
AI only explains rule findings; fixes need review & re-scan
False positives / misses
Scope limited to 4 classes; honest claims
Over-claiming safety
Chain attests the record, not “safe code”
Cost & complexity
Hash-only, testnet, modular rule engine
Why it is feasible
✓
Focused on 4 vulnerability classes
✓
Existing LLM APIs, no custom model
✓
One small attestation contract
✓
Only a hash on-chain: cheap
✓
Full MVP in 24 hours
ASTRA
6
IMPACT AND BENEFITS
ASTRA
1
6
IMPACT
Present solutions
VULNEX
Manual audits: slow & costly
One-click scan, results in minutes
PDF reports can be forged
Hash on-chain, verified by QR scan
Fixes are never proven
Before/after re-scan shows proof
Trust the auditor blindly
“Don’t Trust, Verify”
BENEFITS
Present solutions
VULNEX
Many separate tools
One workspace, start to finish
Cryptic reports
Plain-English reasons + exact lines
No fix guidance
AI tutor suggests safer patterns
AI guesses, hard to trust
Rules detect, AI only explains
ASTRA
7
Slither: static analyzer for Solidity
github.com/crytic/slither
SWC Registry: smart contract weakness classification
swcregistry.io
Solidity docs: Security Considerations
docs.soliditylang.org
OpenZeppelin Contracts: ReentrancyGuard, AccessControl
docs.openzeppelin.com/contracts
Ethereum Attestation Service (attestation concept)
attest.org
NIST FIPS 180-4: SHA-256 hash standard
csrc.nist.gov
ASTRA
RESEARCH AND REFERENCES
1
7