Phylax scans SKILL.md, manifests, onchain contracts, and x402 endpoints — then returns deterministic verdicts with evidence.
Each scanner runs independently. Findings merge, deduplicate, and feed into a single deterministic score.
Line-by-line regex scan of SKILL.md and manifest files. Detects injection prompts, secret exfiltration, hidden transfer instructions, and zero-width character obfuscation.
Fetches bytecode from Base (8453) via eth_getCode. Matches function selectors, detects proxy patterns, unverified contracts, honeypot signatures, and hidden mint capabilities.
Probes declared x402 payment endpoints. Validates HTTPS enforcement, 402 schema compliance, redirect chains, server errors, and price sanity against market medians.
Every rule is a YAML entry with severity, patterns, and description. No black boxes.
Score starts at 100. Each finding subtracts its severity weight. No subjective thresholds.
Skill passes all checks. Safe to install with standard caution.
Potential issues detected. Review findings before proceeding.
Critical security issues found. Do not install this skill.
Every finding includes the rule ID, severity, line-level evidence, and file reference. Machine-readable JSON output.
Import the audit function, pass your skill source and chain config. Get back a deterministic verdict with evidence in milliseconds.
One malicious skill can drain your wallet in seconds. Run Phylax before every install. It takes 200ms.
npm install phylax-skill-auditMIT License · Open Source · Base Chain Native