Ex-smart contract auditor (4+ years) advancing blockchain security via machine learning. Currently mastering linear algebra and matrix operations to build AI-na

Security to ML
Joined December 2009
RAG System โ”œโ”€โ”€ Data Ingestion โ”‚ โ”œโ”€โ”€ PDF / DOCX / PPT / Notion / Web โ”‚ โ”œโ”€โ”€ Chunking strategies โ”‚ โ”œโ”€โ”€ Cleaning and deduplication โ”‚ โ”œโ”€โ”€ Metadata tagging โ”‚ โ””โ”€โ”€ Versioning โ”œโ”€โ”€ Embeddings โ”‚ โ”œโ”€โ”€ OpenAI / Cohere / BGE / Instructor โ”‚ โ”œโ”€โ”€ Vector normalization โ”‚ โ”œโ”€โ”€ Domain adaptation โ”‚ โ””โ”€โ”€ Re-embedding strategy โ”œโ”€โ”€ Vector Database โ”‚ โ”œโ”€โ”€ Pinecone / Weaviate / Qdrant / FAISS โ”‚ โ”œโ”€โ”€ Index types (HNSW, IVF, Flat) โ”‚ โ”œโ”€โ”€ Filtering and metadata search โ”‚ โ””โ”€โ”€ Sharding and scaling โ”œโ”€โ”€ Retrieval โ”‚ โ”œโ”€โ”€ Semantic search โ”‚ โ”œโ”€โ”€ Hybrid retrieval (BM25 + vector) โ”‚ โ”œโ”€โ”€ Re-ranking (cross-encoders) โ”‚ โ”œโ”€โ”€ Query rewriting โ”‚ โ””โ”€โ”€ Multi-hop retrieval โ”œโ”€โ”€ Prompt and Context Engineering โ”‚ โ”œโ”€โ”€ System, user and tool prompts โ”‚ โ”œโ”€โ”€ Context window management โ”‚ โ”œโ”€โ”€ Citation and grounding โ”‚ โ”œโ”€โ”€ Answer style control โ”‚ โ””โ”€โ”€ Safety and refusal rules โ”œโ”€โ”€ LLM Layer โ”‚ โ”œโ”€โ”€ GPT / Claude / Mistral / Llama โ”‚ โ”œโ”€โ”€ Temperature and decoding โ”‚ โ”œโ”€โ”€ Function calling and tools โ”‚ โ””โ”€โ”€ Cost and latency optimization โ”œโ”€โ”€ Generation โ”‚ โ”œโ”€โ”€ Context injection โ”‚ โ”œโ”€โ”€ Structured output (JSON) โ”‚ โ”œโ”€โ”€ Multi-step reasoning โ”‚ โ””โ”€โ”€ Tool-calling agents โ”œโ”€โ”€ Evaluation โ”‚ โ”œโ”€โ”€ Retrieval metrics (Recall@K, MRR) โ”‚ โ”œโ”€โ”€ Answer quality (faithfulness, relevance) โ”‚ โ”œโ”€โ”€ LLM-as-a-Judge โ”‚ โ””โ”€โ”€ Regression testing โ”œโ”€โ”€ Feedback Loop โ”‚ โ”œโ”€โ”€ User ratings โ”‚ โ”œโ”€โ”€ Click-through โ”‚ โ”œโ”€โ”€ Failure logging โ”‚ โ””โ”€โ”€ Data refresh triggers โ”œโ”€โ”€ Caching โ”‚ โ”œโ”€โ”€ Query caching โ”‚ โ”œโ”€โ”€ Embedding caching โ”‚ โ””โ”€โ”€ LLM response caching โ”œโ”€โ”€ Security and Guardrails โ”‚ โ”œโ”€โ”€ Prompt injection protection โ”‚ โ”œโ”€โ”€ Data isolation โ”‚ โ”œโ”€โ”€ PII filtering โ”‚ โ””โ”€โ”€ Tool permissioning โ”œโ”€โ”€ Observability โ”‚ โ”œโ”€โ”€ Token usage โ”‚ โ”œโ”€โ”€ Latency per step โ”‚ โ”œโ”€โ”€ Retrieval quality โ”‚ โ””โ”€โ”€ Hallucination tracking โ”œโ”€โ”€ Orchestration โ”‚ โ”œโ”€โ”€ LangChain / LlamaIndex / custom pipelines โ”‚ โ”œโ”€โ”€ Async flows โ”‚ โ””โ”€โ”€ Retry and fallback models โ”œโ”€โ”€ Infrastructure โ”‚ โ”œโ”€โ”€ API gateway โ”‚ โ”œโ”€โ”€ Vector DB hosting โ”‚ โ”œโ”€โ”€ Model routing โ”‚ โ””โ”€โ”€ Cost tracking โ””โ”€โ”€ Programming Language โ””โ”€โ”€ Python or TypeScript (start here) AI generated !!
36
338
12
2,320
156,643
Running an LLM locally? Your PC might choke on memory. Quantization saves the day! But what is it? Letโ€™s demystify it with examples. ๐Ÿงต๐Ÿ‘‡ #LLM #Web3
1
1
189
Got a messy data table? SVD is your magic lens ๐Ÿ” It breaks data into hidden patterns โ€” like โ€œsecurity-focusedโ€ vs โ€œgas-optimizedโ€ code styles. No labels needed. Just math that finds structure. ๐Ÿงฉ
1
1
2
193
Meet PyTorch โ€” the LEGO set for neural nets ๐Ÿงฑ You snap layers together like blocks, run them on GPU, and train however you want. Itโ€™s the go-to toolkit for LLMs, image models, and yes โ€” even AI that reads your Solidity code. ๐Ÿ’ก
1
1
2
190
Letโ€™s quantize a real example together. ๐Ÿงฎ Start with weights: [0.1, -0.5, 2.3, -1.8] In float32 โ†’ 16 bytes. Goal: shrink to int8 (just 4 bytes). How? Two magic numbers: scale and zero_point. ๐Ÿ”‘ Step by step ๐Ÿ‘‡
2
2
1
380
๐Ÿ‘จโ€๐Ÿ’ป On the edge of Solidity and ML/DL. V0.03 LLMs donโ€™t just guess โ€” they can reason. ๐Ÿง  Like a dev reading code line by line, they now break down logic step by step. Not magic โ€” itโ€™s Chain-of-Thought in action. Letโ€™s see how it helps you. ๐Ÿงต
1
1
4
165
Zaevlad retweeted
Big AI security issue! ChatGPT vulnerability in Connectors can leak your API keys + "memory" with 0 clicks! AgentFlayer, demoed at BlackHat, shows an injected prompt in a doc can force an image to render that exfiltrates data through a malicious URL. Really simple to do too:
13
18
14
115
23,950
A1 โ€” an agentic system that uses LLMs to automatically generate working exploit proofs for DeFi vulnerabilities Not just detection. Not just analysis. It reproduces real attacks, executes them in simulation, and extracts value! arxiv.org/abs/2507.05558v2
1
1
2
243
Think of an LLM like a junior dev who already knows Python basics ๐Ÿง‘โ€๐Ÿ’ป Fine-tuning is teaching them your code style โ€” like how you name functions, structure logic, or write SQL for your DB. Itโ€™s not starting from scratch. Itโ€™s mentorship. ๐Ÿ› 
1
1
1
165
Not all gradient descents are the same. ๐Ÿ”„ There are 3 main flavours: Batch, Stochastic (SGD), and Mini-batch. Same goal โ€” minimize loss. But each walks the mountain differently. ๐Ÿ” Letโ€™s compare them ๐Ÿ‘‡ #ML #AI #Web3
1
1
2
171
๐Ÿ”ฅ Fact: 80% of "smart" LLM failures in audits trace back to matrix ops nobody checked. Your model's "attention" is just a fancy dot productโ€”time to master it. Here's how matrix math silently breaks or fixes your smart contract auditor โ†“ #Web3 #MachineLearning
2
1
4
228
How does an AI model learn? ๐Ÿค” Not by magic. By gradient descent. Imagine walking down a foggy mountain. ๐Ÿ”๏ธ You canโ€™t see the valley โ€” but you feel the slope under your feet. Thatโ€™s gradient descent: step by step, toward lower error. ๐Ÿ‘‡
1
1
1
189
Learn how LLMs work under the hood! This is the best interactive website to learn how LLMs work. It combines clear, step-by-step explanations with dynamic 3D visualizations for an intuitive learning experience.
8
112
5
481
34,606
EOF (EVM Object Format): Full Guide Everything you need to know as a Web3 Builder in 30 mins: โžก๏ธ (0:00) Intro โžก๏ธ (0:41) Why EOF โžก๏ธ (2:20) Current EVM vs EOF EVM โžก๏ธ (4:31) EOF example โžก๏ธ (10:53) Stack too Deep Error Solved โžก๏ธ (13:21) EOF Advantages โžก๏ธ (24:50) Disadvantages โžก๏ธ (26:48) Community Against EOF โžก๏ธ (29:18) Conclusion Like & RT โค๏ธ
21
83
12
478
84,632
ANNOUNCING: FOUNDRY v1.0! Every major DeFi protocol and smart contract developer who wants secure and gas-efficient code uses Foundry. Today, Foundry is officially stable, and here for the long run. Congratulations to everyone on today's huge milestone. `foundryup`! A lot of exciting updates in the thread.
168
383
84
1,891
229,960
Would you like to know what helped me give a huge step into Web3 Security? Check it out on the forth part of learning about SC auditing โ€œWeek 4โ€” Blockchain trilemma, Tokens, Mastering Ethereum.โ€ medium.com/@bloqarl/learn-abโ€ฆ
1
9
1
57
4,278
I've added three more challenges to practice you auditing skills! Now we have over 50 tasks for you! Btw, at any time you can add your own challenge for the community! Check them out here: auditprofile.xyz/challenges.โ€ฆ
2
1
26
925
Cyfrin CodeHawks is dedicated to transparent and fair prize pools. Weโ€™ve made the decision to never host tiered prize pools in their current form on our platform. Hereโ€™s why ๐Ÿ‘‡
4
13
4
125
26,949