Skip to main content

Scaffold 0G Project

Initializes a new 0G dApp project with the correct SDKs, TypeScript setup, and boilerplate code for storage and compute interactions.

Install this skill

or
56/100

Security score

The Scaffold 0G Project skill was audited on Feb 25, 2026 and we found 20 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 167

Template literal with variable interpolation in command context

SourceSKILL.md
167console.log(`Available services: ${services.length}`);
medium line 24

Access to .env file

SourceSKILL.md
244. Create `.env` template and `.gitignore`
medium line 34

Access to .env file

SourceSKILL.md
34- Create `.env` with placeholder values (never real keys)
medium line 35

Access to .env file

SourceSKILL.md
35- Add `.env` to `.gitignore`
medium line 81

Access to .env file

SourceSKILL.md
81#### .env
low line 103

Access to .env file

SourceSKILL.md
103.env
low line 104

Access to .env file

SourceSKILL.md
104.env.local
low line 105

Access to .env file

SourceSKILL.md
105.env.*.local
low line 135

Access to .env file

SourceSKILL.md
135const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
low line 136

Access to .env file

SourceSKILL.md
136const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider);
low line 137

Access to .env file

SourceSKILL.md
137const indexer = new Indexer(process.env.STORAGE_INDEXER!);
low line 160

Access to .env file

SourceSKILL.md
160const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
low line 161

Access to .env file

SourceSKILL.md
161const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider);
low line 200

Access to .env file

SourceSKILL.md
200accounts: [process.env.PRIVATE_KEY!],
low line 205

Access to .env file

SourceSKILL.md
205accounts: [process.env.PRIVATE_KEY!],
medium line 246

Access to .env file

SourceSKILL.md
246| `PRIVATE_KEY not set` | Missing `.env` file | Create `.env` with credentials |
low line 85

External URL reference

SourceSKILL.md
85RPC_URL=https://evmrpc-testnet.0g.ai
low line 92

External URL reference

SourceSKILL.md
92STORAGE_INDEXER=https://indexer-storage-testnet-turbo.0g.ai
low line 198

External URL reference

SourceSKILL.md
198url: 'https://evmrpc-testnet.0g.ai',
low line 203

External URL reference

SourceSKILL.md
203url: 'https://evmrpc.0g.ai',
Scanned on Feb 25, 2026
View Security Dashboard