← Back to Skills Marketplace
shaiss

Near Name Service

by shaiss · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1063
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install near-name-service
Description
Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.
Usage Guidance
What to consider before installing: - Functionality: The skill actually implements NEAR RPC calls and runs the NEAR CLI (via shell exec), which fits its stated purpose. - Missing declarations: The registry metadata does not list required binaries, but you need Node.js and the NEAR CLI installed and configured locally. Expect it to use your NEAR CLI keys/signers when performing registrations. - Review & test: Inspect the included script (scripts/nameservice.js) yourself (it’s short) and test on testnet first. The code defaults to testnet (isTestnet = true) — that’s safer for initial testing. - Potential bug: The register command builds the contract call argument as '{"account_id":"<fullName>"}', which appears to set the name itself as the account_id rather than the target account; this looks like a logic bug and could cause unintended behavior during registration. Ask the author to clarify or fix before using on mainnet. - Trust & keys: Because the script calls your NEAR CLI, it will use whatever keys your NEAR CLI has access to. Only run it if you trust the skill author and you understand which account will be charged for registration. - If you want lower risk: require the author to update metadata to declare Node/NEAR CLI requirements, provide an install spec or explicit instructions, and fix the registration argument logic. After that, the package would be closer to 'benign'.
Capability Analysis
Type: OpenClaw Skill Name: near-name-service Version: 1.0.0 The skill is classified as suspicious due to a critical shell injection vulnerability in `scripts/nameservice.js`. The `registerName` function directly interpolates user-provided `name` and `accountId` (from `process.argv` or `process.env.NEAR_ACCOUNT`) into a `child_process.exec` command without proper sanitization. This allows an attacker to execute arbitrary commands on the host system by crafting malicious input for the `name` or `accountId` parameters, despite the skill's stated purpose being benign.
Capability Assessment
Purpose & Capability
The skill's name, description, SKILL.md, and scripts all implement NEAR Name Service operations (RPC queries and invoking near CLI). However the registry metadata declares no required binaries or env vars while the README and SKILL.md explicitly expect NEAR CLI and Node to be present — this mismatch is unexpected and should have been declared.
Instruction Scope
Runtime instructions only use NEAR RPC and the NEAR CLI to query and register names. The SKILL.md does not instruct reading unrelated files or sending data to external endpoints outside NEAR RPC/CLI. The code does execute shell commands (near call), which is expected for this purpose.
Install Mechanism
There is no install spec despite a Node script and package.json being present. The skill will require a Node runtime and NEAR CLI on the host to function; neither are declared in the skill metadata. Lack of an install or declared runtime is a delivery/compatibility omission and increases risk of surprises at runtime.
Credentials
The skill declares no required env vars, but SKILL.md recommends setting NEAR_ACCOUNT and the script reads process.env.NEAR_ACCOUNT. Registration uses the local NEAR CLI signer (local keys) implicitly. These are proportional to the task, but the skill does not declare or explain the need for NEAR CLI-managed credentials or how keys/signers are used.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent platform privileges. It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install near-name-service
  3. After installation, invoke the skill by name or use /near-name-service
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of NEAR Name Service CLI skill: - Check availability of .near domain names - Register .near domains to a NEAR account - Resolve .near domains to associated account IDs - List all .near domains owned by an account - Simple, user-friendly command-line interface
Metadata
Slug near-name-service
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Near Name Service?

Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names. It is an AI Agent Skill for Claude Code / OpenClaw, with 1063 downloads so far.

How do I install Near Name Service?

Run "/install near-name-service" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Near Name Service free?

Yes, Near Name Service is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Near Name Service support?

Near Name Service is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Near Name Service?

It is built and maintained by shaiss (@shaiss); the current version is v1.0.0.

💬 Comments