# ccashwell/evm-cortex — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `skills`
- Overall score: `3.4/5`
- Implementation check: `partial`
- Maturity: `early`
- Audited commit: `a53141f10a1b` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T05:51:29Z
- Repository: https://github.com/ccashwell/evm-cortex
- Radar entry: https://radar.alplab.co/#repo/ccashwell/evm-cortex
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `claude-code`, `solidity`, `security-audit`, `foundry`, `prompt-pack`, `defi`

## Summary

A curated prompt/knowledge pack — 50 agent definitions, 95 skills, 19 TypeScript hooks, and 15 rules — that installs an Ethereum/Solidity engineering and security-audit 'squad' into Claude Code, Codex CLI, Cursor, or OpenClaw via per-platform shell installers and an npm CLI.

## Implementation Check

All advertised content genuinely exists (50 files in agents/, 19 hooks in hooks/src/ plus prebuilt hooks/dist/, working smart_copy_dir installers in install.sh and bin/cli.mjs), but the '19 Hooks | Trigger' table overstates: package.json:13 ships hooks/hooks.json in files and bin/cli.mjs:125 copies it, yet no hooks.json or settings.json registration exists anywhere in the repo, so none of the hooks activate without undocumented manual wiring.

## When to Use

Use it if you do Solidity/Foundry work in Claude Code or Codex and want a deep, current, well-maintained library of agent prompts and audit/fuzzing pipelines (pashov, simao, fizz are substantive and vendored with VERSION pins); skip it for non-EVM work, and do not expect the hooks to fire until you register them in ~/.claude/settings.json yourself.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.0/5 |
| usability | 3.5/5 |
| reliability | 2.5/5 |
| security | 3.5/5 |
| integration | 3.5/5 |

## Code Evidence

agents/audit-orchestrator.md implements a full 6-phase audit pipeline with severity matrix and agent routing tables; skills/fizz/SKILL.md is a complete 11-step Echidna/Medusa fuzz-suite generator backed by real scripts (skills/fizz/scripts/run_medusa.js, generate_handlers.js, select_functions.js) and Solidity templates; hooks/src/credential-deny.ts implements fail-closed PreToolUse blocking of ~/.ssh, ~/.aws, .env and env-var dumps with layered path/keyword extraction; hooks/src/forge-compile-check.ts and hooks/src/slither-on-save.ts run execSync('forge build 2>&1') / 'slither . --filter-paths ...' as static commands (no interpolated input); hooks/src/shared/db-utils.ts uses better-sqlite3 with parameterized statements; install.sh smart_copy_file/smart_copy_dir implement add-only vs --update modes with backup and outdated-file reporting, matching README/UPGRADING.md claims; hooks/src/__tests__/plugin-check.test.ts and frontmatter.test.ts give real vitest coverage for shared utilities; .github/workflows/validate.yml runs frontmatter checks, shellcheck, and cd hooks && npm test.

## Issues Found

hooks/hooks.json is listed in package.json files and copied by bin/cli.mjs:125 but does not exist in the repo, and no settings.json template ships, so all 19 hooks are inert after install; hooks/src/shared/db-utils-pg.ts:37 hardcodes default postgres credentials postgresql://claude:claude_dev@localhost:5432/continuous_claude and db-utils-pg/memory-client depend on Python modules (coordination_pg.py, scripts.agentica.memory_factory) absent from this repo — vestigial cross-project code; hooks/src/session-start-continuity.ts getUnmarkedHandoffs() interpolates ${dbPath} into an execSync shell string unescaped, a local shell-injection vector if the project path contains metacharacters; .github/workflows/validate.yml uses ludeeus/action-shellcheck@master (floating ref) and all 12 actions are tag- not SHA-pinned; hooks run `forge build`/`slither` on every .sol save with 60-120s execSync timeouts, which can stall assistant tool calls on large projects.

## Key Risks

Product is agent-instruction markdown plus hooks — effectiveness depends on the host model, and nothing was executed so hook behavior is unverified at runtime. Hooks are the weak link: they install to ~/.claude/hooks/ but ship no registration (hooks.json referenced in package.json files list is absent), and several hooks silently depend on infrastructure from a different project that is not in this repo (hooks/src/shared/memory-client.ts imports scripts.agentica.memory_factory; session-start-continuity.ts points users at scripts/core/artifact_mark.py; db-utils-pg.ts calls coordination_pg.py) — all wrapped in try/catch that degrades to no-ops, so features quietly do nothing. Hook tests cover only 4 shared modules, not the 19 hooks themselves. Content is heavily vendored (pashov/skills, 0xsimao) — trust transits to those upstreams. Installing prompt packs means installing instructions your agent will follow; review content before use. Some hook messages are in Turkish (credential-deny.ts 'ENGELLENDI'), inconsistent with the English pack.

## Reviewed Files

- `README.md`
- `package.json`
- `plugin.json`
- `install.sh`
- `install-remote.sh`
- `install-codex.sh`
- `CLAUDE.md`
- `UPGRADING.md`
- `SECURITY.md`
- `bin/cli.mjs`
- `.github/workflows/validate.yml`
- `.github/workflows/claude-fix.yml`
- `.github/workflows/claude-review.yml`
- `hooks/package.json`
- `hooks/src/credential-deny.ts`
- `hooks/src/forge-compile-check.ts`
- `hooks/src/slither-on-save.ts`
- `hooks/src/sast-on-edit.ts`
- `hooks/src/session-start-continuity.ts`
- `hooks/src/shared/memory-client.ts`
- `hooks/src/shared/db-utils.ts`
- `hooks/src/shared/plugin-check.ts`
- `hooks/src/__tests__/plugin-check.test.ts`
- `hooks/src/__tests__/frontmatter.test.ts`
- `agents/audit-orchestrator.md`
- `skills/fizz/SKILL.md`
- `scripts/mcp/registry.py`
