HALLUX
Check that a package, module or DOI exists before an agent installs, imports or cites it.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"hallux": {
"url": "https://api.blvkware.dev/hallux/mcp"
}
}
}원격 엔드포인트
https://api.blvkware.dev/hallux/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟢hallux_check_command(command, model)
Call this BEFORE running any command that installs or runs a dependency: npm/yarn/pnpm/bun install, npx, pip/uv/poetry/pipx, cargo add, go get, dotnet add package, gem install, composer require, dart pub add, docker pull/run, git clone. Language models invent plausible package names that have never existed, and attackers register those names because they can predict them (slopsquatting). Installing one runs attacker code. You cannot tell by looking at the name. Pass the command exactly as you intend to run it. Decision: ALLOW (run it), REVIEW (tell the user about the risk signals first), BLOCK (do not run; use `successor` if given, otherwise tell the user), UNVERIFIED (registry unreachable; do not treat as safe).
입력 스키마
{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "The shell command, verbatim. Example: pip install requests requests-oauth2-helper"
},
"model": {
"type": "string",
"description": "Optional: the model that produced these names (e.g. claude-opus-5-5). Accepted for compatibility; check tools never write to the public ledger. To attest absent names, call hallux_report."
}
},
"required": [
"command"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"namespace": {
"type": "string"
},
"value": {
"type": "string"
},
"version": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": "string",
"enum": [
"exists",
"deprecated",
"absent",
"phantom",
"squat",
"unknown"
]
},
"confidence": {
"type": "number"
},
"reason": {
"type": "string"
},
"recommendation": {
"type": "string"
},
"risk": {
"type": "object",
"additionalProperties": true,
"properties": {
"level": {
"type": "string"
},
"signals": {
"type": "array"
}
}
},
"successor": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "object",
"additionalProperties": true
}
}
}
},
"summary": {
"type": "object",
"additionalProperties": true,
"properties": {
"proceed": {
"type": "integer"
},
"review": {
"type": "integer"
},
"blocked": {
"type": "integer"
},
"unknown": {
"type": "integer"
}
}
},
"safeToProceed": {
"type": "boolean"
},
"filename": {
"type": "string"
},
"identifiersFound": {
"type": "array"
},
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK",
"UNVERIFIED",
"NO_IDENTIFIERS"
]
},
"receipt": {
"type": "object",
"additionalProperties": true
},
"billing": {
"type": "object",
"additionalProperties": true,
"properties": {
"tier": {
"type": "string"
},
"charged": {
"type": "integer"
},
"remaining": {
"type": [
"integer",
"null"
],
"description": "Credits or free identifiers left; null on Team and Feed, which are not metered."
}
}
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}🟢hallux_check(identifiers, model)
Does this identifier actually exist, and is it safe? Call before acting on any name you recalled rather than read: a package to install, a module to import, a Docker image, a GitHub Action or repo, a DOI to cite. Verdicts: exists (proceed, but read `risk`), deprecated (use `successor`), absent (not in the registry; do not proceed), phantom (absent AND models repeatedly invent it), squat (a name models invent that someone has since registered; treat as hostile), unknown (could not verify; never treat as permission). For names that exist, `risk` flags typosquats, LLM-style name conflations, brand-new packages and names registered after agents looked them up.
입력 스키마
{
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"namespace",
"value"
],
"properties": {
"namespace": {
"type": "string",
"description": "Covered: pkg.npm, pkg.pypi, pkg.crates, pkg.go, pkg.maven (group:artifact), pkg.nuget, pkg.rubygems, pkg.packagist (vendor/name), pkg.hex, pkg.pub, img.docker, repo.github (owner/repo), cite.doi. Other dotted namespaces return verdict unknown with reason namespace_unsupported and are not charged."
},
"value": {
"type": "string",
"description": "Exactly as written, e.g. requests, @types/node, github.com/spf13/cobra, org.slf4j:slf4j-api, 10.1038/nature12373"
},
"version": {
"type": "string",
"description": "Optional exact version to verify. Models invent versions too."
}
}
},
"description": "Up to 100 identifiers."
},
"model": {
"type": "string",
"description": "Optional: the model that produced these names (e.g. claude-opus-5-5). Accepted for compatibility; check tools never write to the public ledger. To attest absent names, call hallux_report."
}
},
"required": [
"identifiers"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"namespace": {
"type": "string"
},
"value": {
"type": "string"
},
"version": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": "string",
"enum": [
"exists",
"deprecated",
"absent",
"phantom",
"squat",
"unknown"
]
},
"confidence": {
"type": "number"
},
"reason": {
"type": "string"
},
"recommendation": {
"type": "string"
},
"risk": {
"type": "object",
"additionalProperties": true,
"properties": {
"level": {
"type": "string"
},
"signals": {
"type": "array"
}
}
},
"successor": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "object",
"additionalProperties": true
}
}
}
},
"summary": {
"type": "object",
"additionalProperties": true,
"properties": {
"proceed": {
"type": "integer"
},
"review": {
"type": "integer"
},
"blocked": {
"type": "integer"
},
"unknown": {
"type": "integer"
}
}
},
"safeToProceed": {
"type": "boolean"
},
"filename": {
"type": "string"
},
"identifiersFound": {
"type": "array"
},
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK",
"UNVERIFIED",
"NO_IDENTIFIERS"
]
},
"receipt": {
"type": "object",
"additionalProperties": true
},
"billing": {
"type": "object",
"additionalProperties": true,
"properties": {
"tier": {
"type": "string"
},
"charged": {
"type": "integer"
},
"remaining": {
"type": [
"integer",
"null"
],
"description": "Credits or free identifiers left; null on Team and Feed, which are not metered."
}
}
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}🟢hallux_check_manifest(filename, content, model)
Call after writing or editing a dependency file and before committing or installing. Checks every dependency in one pass, including dev and optional groups, where an invented name usually arrives. Exact pinned versions are verified too. Supported: package.json, requirements.txt, pyproject.toml, Pipfile, Cargo.toml, go.mod, Gemfile, composer.json, *.csproj / packages.config, pubspec.yaml, mix.exs, Dockerfile, .github/workflows/*.yml.
입력 스키마
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"description": "e.g. package.json. Only the base name is used to pick a parser."
},
"content": {
"type": "string",
"description": "The file contents."
},
"model": {
"type": "string",
"description": "Optional: the model that produced these names (e.g. claude-opus-5-5). Accepted for compatibility; check tools never write to the public ledger. To attest absent names, call hallux_report."
}
},
"required": [
"filename",
"content"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"namespace": {
"type": "string"
},
"value": {
"type": "string"
},
"version": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": "string",
"enum": [
"exists",
"deprecated",
"absent",
"phantom",
"squat",
"unknown"
]
},
"confidence": {
"type": "number"
},
"reason": {
"type": "string"
},
"recommendation": {
"type": "string"
},
"risk": {
"type": "object",
"additionalProperties": true,
"properties": {
"level": {
"type": "string"
},
"signals": {
"type": "array"
}
}
},
"successor": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "object",
"additionalProperties": true
}
}
}
},
"summary": {
"type": "object",
"additionalProperties": true,
"properties": {
"proceed": {
"type": "integer"
},
"review": {
"type": "integer"
},
"blocked": {
"type": "integer"
},
"unknown": {
"type": "integer"
}
}
},
"safeToProceed": {
"type": "boolean"
},
"filename": {
"type": "string"
},
"identifiersFound": {
"type": "array"
},
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK",
"UNVERIFIED",
"NO_IDENTIFIERS"
]
},
"receipt": {
"type": "object",
"additionalProperties": true
},
"billing": {
"type": "object",
"additionalProperties": true,
"properties": {
"tier": {
"type": "string"
},
"charged": {
"type": "integer"
},
"remaining": {
"type": [
"integer",
"null"
],
"description": "Credits or free identifiers left; null on Team and Feed, which are not metered."
}
}
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}🟡hallux_watch(callbackUrl, identifiers)
Register identifiers for a signed webhook when their verdict changes: phantom -> squat (someone registered a name models invent) or absent -> exists. Use for a name that came back absent/phantom which the user still intends to use, or a dependency set worth monitoring. Requires an API key; costs 25 credits ($0.02) per identifier per 30 days.
입력 스키마
{
"type": "object",
"properties": {
"callbackUrl": {
"type": "string",
"description": "Public https URL to POST transitions to."
},
"identifiers": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"namespace",
"value"
],
"properties": {
"namespace": {
"type": "string",
"description": "Covered: pkg.npm, pkg.pypi, pkg.crates, pkg.go, pkg.maven (group:artifact), pkg.nuget, pkg.rubygems, pkg.packagist (vendor/name), pkg.hex, pkg.pub, img.docker, repo.github (owner/repo), cite.doi. Other dotted namespaces return verdict unknown with reason namespace_unsupported and are not charged."
},
"value": {
"type": "string",
"description": "Exactly as written, e.g. requests, @types/node, github.com/spf13/cobra, org.slf4j:slf4j-api, 10.1038/nature12373"
},
"version": {
"type": "string",
"description": "Optional exact version to verify. Models invent versions too."
}
}
}
}
},
"required": [
"identifiers",
"callbackUrl"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"watchId": {
"type": "string"
},
"secret": {
"type": "string",
"description": "Shown once. HMAC key for X-Hallux-Signature."
},
"callbackUrl": {
"type": "string"
},
"identifiers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"charged": {
"type": "integer"
},
"paidUntil": {
"type": "string"
},
"renews": {
"type": "string"
},
"credits": {
"type": "integer"
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}🟢hallux_report(identifiers, model, promptClass)
Report identifiers a model produced that turned out not to exist. HALLUX verifies each against its registry and records only absent ones as attestations in the public hallucination ledger, which is how names graduate to `phantom` and get watched for squatting. Requires an API key.
입력 스키마
{
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"namespace",
"value"
],
"properties": {
"namespace": {
"type": "string",
"description": "Covered: pkg.npm, pkg.pypi, pkg.crates, pkg.go, pkg.maven (group:artifact), pkg.nuget, pkg.rubygems, pkg.packagist (vendor/name), pkg.hex, pkg.pub, img.docker, repo.github (owner/repo), cite.doi. Other dotted namespaces return verdict unknown with reason namespace_unsupported and are not charged."
},
"value": {
"type": "string",
"description": "Exactly as written, e.g. requests, @types/node, github.com/spf13/cobra, org.slf4j:slf4j-api, 10.1038/nature12373"
},
"version": {
"type": "string",
"description": "Optional exact version to verify. Models invent versions too."
}
}
}
},
"model": {
"type": "string"
},
"promptClass": {
"type": "string",
"enum": [
"install",
"import",
"cite",
"codegen",
"chat",
"agent",
"unspecified"
]
}
},
"required": [
"identifiers",
"model"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"recorded": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"ignored": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"namespace": {
"type": "string"
},
"value": {
"type": "string"
},
"version": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": "string",
"enum": [
"exists",
"deprecated",
"absent",
"phantom",
"squat",
"unknown"
]
},
"confidence": {
"type": "number"
},
"reason": {
"type": "string"
},
"recommendation": {
"type": "string"
},
"risk": {
"type": "object",
"additionalProperties": true,
"properties": {
"level": {
"type": "string"
},
"signals": {
"type": "array"
}
}
},
"successor": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "object",
"additionalProperties": true
}
}
}
},
"billing": {
"type": "object",
"additionalProperties": true,
"properties": {
"tier": {
"type": "string"
},
"charged": {
"type": "integer"
},
"remaining": {
"type": [
"integer",
"null"
],
"description": "Credits or free identifiers left; null on Team and Feed, which are not metered."
}
}
},
"note": {
"type": "string"
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}🟢hallux_account
Show remaining credits for the API key in use (or free-tier status), pricing, and where to buy credits with PayPal.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"tier": {
"type": "string"
},
"status": {
"type": "string"
},
"keyPrefix": {
"type": "string"
},
"credits": {
"type": "integer"
},
"note": {
"type": "string"
},
"buy": {
"type": "string"
}
},
"additionalProperties": true
}커뮤니티
증거