Hao Li
Queen's University · 2 papers here · 6 ideas from their work
View on OpenAlex ORCID 0000-0003-1404-5202
Ideas from their papers
- ToolDoc Gatekeeper: Behavioral Admission Screening for Tool Registries
An admission-control gate for MCP server registries and tool marketplaces that screens every submitted or edited tool in two stages: a fast automated code scan for the eight documented MCP vulnerability classes, then a behavioral test in a shadow agent that measures whether the tool wins selection for tasks outside the purpose implied by its actual code. Tools that fail either stage are quarantined for human review before going live, while the benign majority publishes in minutes.
- ContextJanitor: repo-verified staleness detection and refactoring for AGENTS.md/CLAUDE.md
A cleaner that treats agent context files as what the data shows they are — configuration code that accretes through frequent small additions — and verifies every instruction against the live repository, quarantining stale commands and file references, merging duplicates, and flagging contradictions. One command keeps the file the agent reads accurate and readable.
- OneFile: compile one canonical instruction source into every coding agent's context file
OneFile is a small compiler plus CI sync that maintains one version-controlled, structured instruction source per repository and auto-generates each coding agent's native context file from it (CLAUDE.md, AGENTS.md, .cursor/rules, copilot-instructions.md), flagging out-of-band edits so parallel files never drift. New evidence sharpens the stakes: guidance-level interventions — enforcing project conventions and restricting agent behavior — are the single largest category of human effort on agent-authored pull requests (58.02%), and harness-engineering results show instruction content measurably drives agent performance and transfers across model families. OneFile's wedge is upstream authoring and fan-out compilation for multi-agent repos — not cleaning stale files or auto-writing guardrail content.
- MCP-Lint: CI-time bug-pattern and code-smell linter for MCP server publishers
A CI linter for developers who build MCP servers — the plug-ins that let AI agents use external tools — that automatically flags the nine documented bug patterns and code smells found across the ecosystem, with fix suggestions, before the server ships.
- ContextGuard: auto-generated security and performance guardrails for agent context files
A CI tool that scans a repository's stack and writes the missing security and performance instruction sections into its AGENTS.md/CLAUDE.md files — the guardrails that today appear in only 14.8% and 14.5% of real-world context files. Every generated rule is grounded in the repo's actual security tooling and commands, and a coverage check keeps the gap from reopening.
- MCP-VulnDB: a CVE-style vulnerability database and advisory feed for MCP-specific flaws
A standalone, machine-readable vulnerability database for the MCP ecosystem: standardized IDs and detection signatures for MCP-specific flaw classes like tool poisoning, plus a live advisory feed of affected servers that security vendors, registries, and enterprise security teams subscribe to.
Related ideas
Close to their work, not derived from it.
- MCP Compass: retrieval and routing layer for large MCP tool fleets
A drop-in retrieval service that indexes tools across an organization's MCP (Model Context Protocol) servers and, per query, retrieves a compact task-relevant tool subset with suggested compositions — targeting the tool-retrieval errors that cause roughly half of agent failures.