Add vigil: Onchain security scanner for DeFi traders on Base#438
Open
vigilcodes wants to merge 4 commits into
Open
Add vigil: Onchain security scanner for DeFi traders on Base#438vigilcodes wants to merge 4 commits into
vigilcodes wants to merge 4 commits into
Conversation
The scripts called a REST API that doesn't exist (api.bankr.bot/vigil/...), so every command failed. Rewrite them against the live JSON-RPC endpoint (mcp.vigil.codes/tools/call) with a shared helper. - _vigil_lib.sh: strict 0x-address validation (anti shell-injection), chain validation, and vigil_call() that checks HTTP + JSON-RPC errors. - Rewrite token/honeypot/score/approvals/report to use vigil_call. - Add market, deployer, check-scam scripts for the new tools. - revoke + batch-revoke route signing through the Bankr agent. - report-scam: safe JSON escaping of the description. - SKILL.md: document 9 read-only tools; harden input validation and add an error-checked call helper across all steps. - Remove unused tokenomics reference. Verified live against $VIGIL and a real wallet.
Author
|
Pushed an update that makes the skill actually functional end-to-end. What changed
Verified live against $VIGIL and a real wallet — e.g. Ready for review — thanks! |
Author
|
Quick update for reviewers 🙏 VIGIL is now merged into the Aeon agent framework (aaronjmars/aeon#323) after a 3-round technical review — HTTPS endpoint, strict input validation, and verified end-to-end MCP calls all signed off. Two notes:
Ready for review whenever a maintainer has a moment. Happy to address any feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds VIGIL — an agent-based MCP security server for onchain DeFi protection on Base.
What It Does
BANKR_API_KEY+ explicit confirmation)The live endpoint now exposes 11 read-only tools (approvals, token scan, honeypot, safety score, wallet report, wallet monitor, market, deployer check, batch scan, scam check, sentinel status). Read-only scans need no API key.
MCP Integration
Runs as a standard MCP server (stdio/SSE). Compatible with Claude Desktop, Cursor, Aeon, and any MCP client. Plain JSON-RPC over
POST https://mcp.vigil.codes/tools/callis also supported for shell clients.Ecosystem
Files
SKILL.md— Full skill definition with task guidescripts/— shell scripts for CLI usage (hardened: strict^0x[0-9a-f]{40}$input validation, loud error handling)references/— API docs, contracts, tokenomics, Bankr integrationGitHub
https://github.com/vigilcodes/vigil-mcp
Website
https://vigil.codes