vuln-web3-modern

Automate Foundry PoC template provisioning for DeFi vulnerability scanners.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill vuln-web3-modern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuln-web3-modern
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/scode/vuln-web3-modern
Command: npx skills add https://github.com/n4igme/randscript --skill vuln-web3-modern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Shared PoC templates streamline vulnerability testing for modern DeFi projects by providing ready-to-run Foundry setups and sample exploit patterns for authorized assessments.

Core Features & Use Cases

  • Foundry-based PoC templates: Ready-to-run Solidity test scaffolds for common DeFi vulnerabilities.
  • Scenario coverage: Templates for restaking, account abstraction, L2 bridges, and cross-chain intents.
  • Fork-ready workflows: Guidance for mainnet forks and reproducible dev environments.

Quick Start

Run the PoC templates against a local Foundry project to initialize the scan workspace.

Frequently Asked Questions about vuln-web3-modern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Foundry PoC template for DeFi vulnerabilities?

To create a Foundry PoC template for DeFi vulnerabilities, use this Skill to automate provisioning of ready-to-run Solidity test scaffolds. It generates fork-ready setups for authorized security assessments of modern DeFi smart contracts.

Can I test restaking and account abstraction exploits using Foundry scaffolds?

Yes, you can test restaking and account abstraction exploits using Foundry scaffolds. The Skill provides scenario coverage for these specific modern DeFi mechanisms along with L2 bridges and cross-chain intents.

Do I need a local Foundry project to run DeFi security testing templates?

Yes, you need a local Foundry project to run DeFi security testing templates. The Quick Start specifies running the provided Solidity templates against your local Foundry workspace to initialize the scan environment.

What is the best way to set up mainnet forks for DeFi exploit reproduction?

The best way to set up mainnet forks for DeFi exploit reproduction is using fork-ready workflows. This Skill provides guidance for establishing reproducible dev environments compatible with Foundry and common dev stacks.

Does this Skill support cross-chain intent vulnerability testing?

Yes, this Skill supports cross-chain intent vulnerability testing. It includes specific PoC templates and test scaffolds designed for analyzing and validating vulnerabilities in cross-chain intent protocols.

What limitations exist when using shared Solidity templates for DeFi security assessments?

Shared Solidity templates for DeFi security assessments are limited to providing sample exploit patterns and ready-to-run setups. They serve as foundational scaffolds for authorized assessments and do not replace comprehensive manual vulnerability analysis.