New: hackmyagent check <package> — scan npm packages
hackmyagent check express
hackmyagent check @modelcontextprotocol/server-filesystem
hackmyagent check lodash --json
Registry-first flow
- Queries OpenA2A Registry for existing trust data
- If fresh (< 3 days), shows registry results instantly
- If stale or missing, downloads and runs full HMA+NanoMind analysis
- Offers to share results with the community
Also accepts
- Local paths:
hackmyagent check ./my-agent/
- Skill identifiers:
hackmyagent check @publisher/skill
Flags
--json — machine-readable output for CI
--offline — skip registry, scan locally only
--verbose — show all findings (default: top 15)
Scan quality improvements (from 0.14.2)
- MCP server detection:
@modelcontextprotocol/sdk correctly detects as mcp
- Test file exclusion:
__tests__/, *.test.ts no longer produce false AST-GOV findings
- Project-type filter: web-app checks suppressed for non-web projects