diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index bc1cda1..98e51fe 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,12 +1,12 @@ { - "name": "goplus-agentguard", + "name": "axora-agentguard", "owner": { - "name": "GoPlus Security", - "url": "https://github.com/GoPlusSecurity" + "name": "Axora Security", + "url": "https://github.com/AxoraSecurity" }, "metadata": { - "description": "GoPlus AgentGuard — AI agent security framework", - "version": "1.0.0" + "description": "Axora AgentGuard — AI agent security framework", + "version": "1.2.4" }, "plugins": [ { diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 1f34ea6..5f664b8 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,13 +1,13 @@ { "name": "agentguard", - "version": "1.0.0", - "description": "GoPlus AgentGuard — AI agent security guard. Blocks dangerous commands, prevents data leaks, protects secrets. 20 detection rules, runtime action evaluation, trust registry.", + "version": "1.2.4", + "description": "Axora AgentGuard — AI agent security guard. Blocks dangerous commands, prevents data leaks, protects secrets. 20 detection rules, runtime action evaluation, trust registry.", "author": { - "name": "GoPlus Security", - "url": "https://github.com/GoPlusSecurity" + "name": "Axora Security", + "url": "https://github.com/AxoraSecurity" }, - "homepage": "https://github.com/GoPlusSecurity/agentguard", - "repository": "https://github.com/GoPlusSecurity/agentguard", + "homepage": "https://github.com/AxoraSecurity/agentguard", + "repository": "https://github.com/AxoraSecurity/agentguard", "license": "MIT", "keywords": ["security", "agent-protection", "web3", "claude-code", "scanner", "trust-registry"] } diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 11c5beb..d98b257 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,6 +1,6 @@ --- name: Bug Report -about: Report a bug in GoPlus AgentGuard +about: Report a bug in Axora AgentGuard labels: bug --- diff --git a/.github/workflows/fix-issue.yml b/.github/workflows/fix-issue.yml index 41ce76f..c02c6f2 100644 --- a/.github/workflows/fix-issue.yml +++ b/.github/workflows/fix-issue.yml @@ -93,7 +93,7 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: | MAX_BUGS="${{ inputs.max_bugs }}" - PROMPT="You are fixing bugs in the GoPlus AgentGuard project (a TypeScript security framework for AI agents). + PROMPT="You are fixing bugs in the Axora AgentGuard project (a TypeScript security framework for AI agents). Project structure: - src/ — TypeScript source files (scanner rules, registry, action detectors, MCP server) diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 6376e09..bbca0da 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -63,7 +63,7 @@ jobs: fi PROMPT=$(cat <<'EOF' - You are reviewing a GitHub pull request for GoPlus AgentGuard, a TypeScript security framework for AI agents. + You are reviewing a GitHub pull request for Axora AgentGuard, a TypeScript security framework for AI agents. Review only the PR diff provided below. Focus on concrete, actionable problems introduced by the patch: - security vulnerabilities diff --git a/CHANGELOG.md b/CHANGELOG.md index cc4c1ca..edabab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -139,7 +139,7 @@ - Feed subscription state now stores newest-first pull records with per-run `newSeenIds` and `foundIds` instead of a single object snapshot. ### Fixed -- `agentguard checkup` now excludes the managed GoPlus AgentGuard skill from third-party skill scans so the guard does not report its own hook/checkup scripts as user risk. +- `agentguard checkup` now excludes the managed Axora AgentGuard skill from third-party skill scans so the guard does not report its own hook/checkup scripts as user risk. - `agentguard init --agent hermes` now recursively enables AgentGuard hooks in Hermes profile `config.yaml` files, including configs with empty `hooks: {}` blocks or duplicate top-level `hooks` keys. - Fixed OpenClaw/QClaw Gateway threat-feed cron installation to send only fields accepted by OpenClaw's `agentTurn` cron payload schema. @@ -282,7 +282,7 @@ - Weighted scoring algorithm (0–100 composite score) - Self-contained HTML report with dark theme, animated score gauge, and expandable findings - Lobster mascot with 4 health tiers: Muscular (S), Healthy (A), Tired (B), Sick (F) - - Premium upgrade CTA integration (agentguard.gopluslabs.io) + - Premium upgrade CTA integration (agentguard.axorasecurity.com) - Cross-platform browser opening (macOS/Linux/Windows) - `checkup-report.js` script for HTML report generation (zero external dependencies) - Checkup results logged to `~/.agentguard/audit.jsonl` @@ -339,7 +339,7 @@ ## [1.0.0] - 2026-02-16 ### Added -- Initial release of GoPlus AgentGuard +- Initial release of Axora AgentGuard - 24 detection rules covering execution, secrets, exfiltration, obfuscation, Web3, and social engineering - Runtime action evaluation (allow/deny/confirm) for commands, network requests, file ops, and Web3 transactions - Trust registry with capability-based access control per skill diff --git a/CLAUDE.md b/CLAUDE.md index 57dc6e2..cc72894 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,4 +1,4 @@ -# GoPlus AgentGuard +# Axora AgentGuard Security framework for AI agents. Provides code scanning, runtime action evaluation, and trust management. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c2e8d6..ec7d4a1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,11 @@ -# Contributing to GoPlus AgentGuard +# Contributing to Axora AgentGuard -Thanks for your interest in contributing to GoPlus AgentGuard! Here's how to get started. +Thanks for your interest in contributing to Axora AgentGuard! Here's how to get started. ## Development Setup ```bash -git clone https://github.com/GoPlusSecurity/agentguard.git +git clone https://github.com/AxoraSecurity/agentguard.git cd agentguard npm install npm run build @@ -55,7 +55,7 @@ Action detectors go in `src/action/detectors/`. They evaluate runtime actions an ## Reporting Issues -Please open an issue at https://github.com/GoPlusSecurity/agentguard/issues with: +Please open an issue at https://github.com/AxoraSecurity/agentguard/issues with: - What you expected to happen - What actually happened - Steps to reproduce diff --git a/README.md b/README.md index c9d0df5..27885ec 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ -

- GoPlus AgentGuard -

- -

GoPlus AgentGuard

+

Axora AgentGuard

The essential security guard for every AI agent user.

Your AI agent has full access to your terminal, files, and secrets — but zero security awareness.
A malicious skill or prompt injection can steal your keys, drain your wallet, or wipe your disk.
AgentGuard stops all of that.

-[![npm](https://img.shields.io/npm/v/@goplus/agentguard.svg)](https://www.npmjs.com/package/@goplus/agentguard) -[![GitHub Stars](https://img.shields.io/github/stars/GoPlusSecurity/agentguard)](https://github.com/GoPlusSecurity/agentguard) +[![npm](https://img.shields.io/npm/v/@axorasec/agentguard.svg)](https://www.npmjs.com/package/@axorasec/agentguard) +[![GitHub Stars](https://img.shields.io/github/stars/AxoraSecurity/agentguard)](https://github.com/AxoraSecurity/agentguard) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) -[![CI](https://github.com/GoPlusSecurity/agentguard/actions/workflows/ci.yml/badge.svg)](https://github.com/GoPlusSecurity/agentguard/actions/workflows/ci.yml) +[![CI](https://github.com/AxoraSecurity/agentguard/actions/workflows/ci.yml/badge.svg)](https://github.com/AxoraSecurity/agentguard/actions/workflows/ci.yml) [![Agent Skills](https://img.shields.io/badge/Agent_Skills-compatible-purple.svg)](https://agentskills.io) ## Why AgentGuard? @@ -47,7 +43,7 @@ AI coding agents can execute any command, read any file, and install any skill ## 30 seconds: install ```bash -npm install -g @goplus/agentguard +npm install -g @axorasec/agentguard agentguard init agentguard status ``` @@ -76,7 +72,7 @@ printf '{"tool_name":"Bash","tool_input":{"command":"curl https://example.com/in agentguard connect # API-key auth is also supported when you explicitly want that mode. -AGENTGUARD_API_KEY=ag_live_xxxxx agentguard connect --url https://www.agentguard.one +AGENTGUARD_API_KEY=ag_live_xxxxx agentguard connect --url https://agentguard.axorasecurity.com # Optional: subscribe to AgentGuard's threat-intelligence feed. Pulls newly # published advisories from Cloud and asks you to review them. @@ -169,7 +165,7 @@ Reports include DSH identification confidence, plugin kind, explainable risk lev Install AgentGuard as a native DSH tool plugin, then restart the profile: ```bash -dsh plugin --profile web add --allow-build=@goplus/agentguard @goplus/agentguard +dsh plugin --profile web add --allow-build=@axorasec/agentguard @axorasec/agentguard ``` DSH will expose the read-only `agentguard_dsh_scan` tool for scanning local plugin directories and HTTPS GitHub repositories before installation. @@ -177,7 +173,7 @@ It also exposes `agentguard_dsh_scan_batch` for a sequential review queue of up Use `agentguard_dsh_compare` or the `agentguard dsh-compare` CLI command to identify new permissions and runtime risks before updating an approved plugin version. The native `agentguard_dsh_subscribe` tool binds system-cron threat-feed polling to the current DSH agent. `agentguard_dsh_subscription_status` reports bounded cron and queue metadata without notice contents, and exact-target `agentguard_dsh_unsubscribe` removes cron, matching queued notices, then saved state in retry-safe order. Notification-worthy pulls are durably queued across DSH downtime and delivered as a safe ordinary follow-up only to that exact live agent; delivery never automatically executes scans or remediation. Scheduled self-checks also discover DSH user/project skills, immediate profile manifests, declared direct dependencies, and home/profile Cordis patches without recursively walking dependency trees. See the [DSH subscription and local testing guide](docs/dsh.md#subscribe-to-threat-intelligence-from-dsh). -Update or remove it from the same profile with `dsh plugin --profile web update @goplus/agentguard` or `dsh plugin --profile web remove @goplus/agentguard`. The [DSH operations and report guide](docs/dsh.md#operate-the-dsh-installation) includes verification and troubleshooting steps. +Update or remove it from the same profile with `dsh plugin --profile web update @axorasec/agentguard` or `dsh plugin --profile web remove @axorasec/agentguard`. The [DSH operations and report guide](docs/dsh.md#operate-the-dsh-installation) includes verification and troubleshooting steps. > **DSH runtime guard:** the packaged composition enables `protect` mode by default, applying AgentGuard's shared allow/warn/require-approval/block policy before DSH dispatches a tool. Startup logs and the input-redacted `agentguard_dsh_runtime_summary` tool explicitly show the current configured mode and whether pre-execute enforcement is active. Set `runtime.mode: observe` only when audit-only shadow evaluation is required. DSH protection uses DSH's native one-shot approval service and monotonic composition with other policies. Optional `runtime.postResponseMode: block-malicious` suppresses only block-class malicious network results; approval-class post results remain audit-only because DSH has no resumable post-result approval protocol. Exact operator-configured `runtime.attribution.toolOwners` bindings add source ownership without guessing, and `runtime.ownerPolicies` can impose per-owner minimum decisions without weakening shared security policy. Unmapped tools remain `unknown` until DSH exposes a reliable native owner field. See the [DSH runtime guide](docs/dsh-runtime.md). @@ -203,7 +199,7 @@ The Phase 1 release candidate freezes those rule semantics and adds an exact-com Full install with auto-guard hooks (Claude Code) ```bash -git clone https://github.com/GoPlusSecurity/agentguard.git +git clone https://github.com/AxoraSecurity/agentguard.git cd agentguard && ./setup.sh claude plugin add /path/to/agentguard ``` @@ -245,7 +241,7 @@ See also: Manual install (skill only) ```bash -git clone https://github.com/GoPlusSecurity/agentguard.git +git clone https://github.com/AxoraSecurity/agentguard.git cp -r agentguard/skills/agentguard ~/.claude/skills/agentguard ``` @@ -255,7 +251,7 @@ cp -r agentguard/skills/agentguard ~/.claude/skills/agentguard OpenClaw plugin install ```bash -npm install @goplus/agentguard +npm install @axorasec/agentguard ``` Then enable it: @@ -267,14 +263,14 @@ agentguard init --agent openclaw Or register manually in your OpenClaw plugin config: ```typescript -import register from '@goplus/agentguard/openclaw'; +import register from '@axorasec/agentguard/openclaw'; export default register; ``` Or register manually with options: ```typescript -import { registerOpenClawPlugin } from '@goplus/agentguard'; +import { registerOpenClawPlugin } from '@axorasec/agentguard'; export default function setup(api) { registerOpenClawPlugin(api, { @@ -430,7 +426,7 @@ Expected output: **CRITICAL** risk level with detection hits across JavaScript, ## Compatibility -GoPlus AgentGuard follows the [Agent Skills](https://agentskills.io) open standard: +Axora AgentGuard follows the [Agent Skills](https://agentskills.io) open standard: | Platform | Support | Features | |----------|---------|----------| @@ -560,7 +556,7 @@ import { registerOpenClawPlugin, getPluginIdFromTool, getPluginScanResult, -} from '@goplus/agentguard'; +} from '@axorasec/agentguard'; // Get which plugin registered a tool const pluginId = getPluginIdFromTool('browser'); @@ -592,4 +588,4 @@ Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. Found a security vulnerability? See [SECURITY.md](SECURITY.md). -Built by [GoPlus Security](https://gopluslabs.io). +Built by [Axora Security](https://github.com/AxoraSecurity). diff --git a/SECURITY.md b/SECURITY.md index 623d4ff..5a9cc6a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,13 +2,13 @@ ## Reporting a Vulnerability -If you discover a security vulnerability in GoPlus AgentGuard, please report it responsibly. +If you discover a security vulnerability in Axora AgentGuard, please report it responsibly. **Do NOT open a public GitHub issue for security vulnerabilities.** ### How to Report -Email: **security@gopluslabs.io** +Use [GitHub private vulnerability reporting](https://github.com/AxoraSecurity/agentguard/security/advisories/new) to contact the maintainers privately. If that option is unavailable, ask the maintainers for a private reporting channel without sharing vulnerability details publicly. Please include: - Description of the vulnerability diff --git a/docs/SECURITY-POLICY.md b/docs/SECURITY-POLICY.md index ec44579..5198764 100644 --- a/docs/SECURITY-POLICY.md +++ b/docs/SECURITY-POLICY.md @@ -1,4 +1,4 @@ -# GoPlus AgentGuard Security Policy +# Axora AgentGuard Security Policy Unified security policy reference for all platforms (Claude Code, OpenClaw, and future integrations). @@ -468,7 +468,7 @@ When AgentGuard registers as an OpenClaw plugin, it automatically: **Configuration** (Plugin registration): ```typescript -import { registerOpenClawPlugin } from '@goplus/agentguard'; +import { registerOpenClawPlugin } from '@axorasec/agentguard'; // Basic registration (auto-scan enabled) registerOpenClawPlugin(api); @@ -486,7 +486,7 @@ registerOpenClawPlugin(api, { import { getPluginIdFromTool, // Get plugin ID from tool name getPluginScanResult, // Get cached scan result for plugin -} from '@goplus/agentguard'; +} from '@axorasec/agentguard'; ``` --- diff --git a/docs/cloud-connect.md b/docs/cloud-connect.md index 2e38c32..26b9891 100644 --- a/docs/cloud-connect.md +++ b/docs/cloud-connect.md @@ -5,7 +5,7 @@ AgentGuard is local-first. Cloud is optional and adds hosted policy, redacted au ## Install and initialize ```bash -npm install -g @goplus/agentguard +npm install -g @axorasec/agentguard agentguard init ``` @@ -29,7 +29,7 @@ API-key auth is also supported: ```bash AGENTGUARD_API_KEY=ag_live_xxxxx \ - agentguard connect --url https://www.agentguard.one + agentguard connect --url https://agentguard.axorasecurity.com ``` With API-key auth, `connect` stores the API key locally, fetches `/api/v1/policies/effective`, and caches the policy. With Agent JWT auth, `connect` stores the local agent credential instead of an API key. If Cloud is unavailable, AgentGuard keeps enforcing with cached policy or the bundled default policy. diff --git a/docs/cloud-native-api.md b/docs/cloud-native-api.md index e59bbef..15c64fa 100644 --- a/docs/cloud-native-api.md +++ b/docs/cloud-native-api.md @@ -7,7 +7,7 @@ This document summarizes the Cloud APIs that a local/native AgentGuard runtime s Production base URL: ```text -https://www.agentguard.one +https://agentguard.axorasecurity.com ``` All protected runtime APIs require an AgentGuard API key: @@ -87,7 +87,7 @@ Allowed `agent` values: auto | openclaw | hermes | dsh ``` -The hosted script installs `@goplus/agentguard`, initializes integrations, and connects Cloud. With no explicit host it calls: +The hosted script installs `@axorasec/agentguard`, initializes integrations, and connects Cloud. With no explicit host it calls: ```bash agentguard init --cloud "$AGENTGUARD_CLOUD_URL" diff --git a/docs/dsh-runtime.md b/docs/dsh-runtime.md index 8b58005..67c2757 100644 --- a/docs/dsh-runtime.md +++ b/docs/dsh-runtime.md @@ -17,7 +17,7 @@ The npm bundle composes `protect` by default. A custom DSH composition can resta ```yaml - insert: - id: agentguard-dsh-plugin - name: '@goplus/agentguard/dist/dsh/plugin.js' + name: '@axorasec/agentguard/dist/dsh/plugin.js' config: runtime: mode: protect diff --git a/docs/dsh.md b/docs/dsh.md index 4f8ff02..90bc800 100644 --- a/docs/dsh.md +++ b/docs/dsh.md @@ -9,7 +9,7 @@ The Phase 1 scanner is intentionally read-only: it scans source, classifies capa AgentGuard can be loaded into a DSH profile as a native tool plugin. From an npm release: ```bash -npm install -g @goplus/agentguard +npm install -g @axorasec/agentguard agentguard init --agent dsh ``` @@ -18,7 +18,7 @@ When invoked inside DSH, bare `agentguard init` auto-detects DSH and performs th The equivalent low-level DSH command is: ```bash -dsh plugin --profile web add --allow-build=@goplus/agentguard @goplus/agentguard +dsh plugin --profile web add --allow-build=@axorasec/agentguard @axorasec/agentguard ``` The scoped `--allow-build` approval lets pnpm run AgentGuard's reviewed npm @@ -122,7 +122,7 @@ npm run build PACK_DIR="$(mktemp -d)" npm pack --pack-destination "$PACK_DIR" -npm install -g "$PACK_DIR"/goplus-agentguard-*.tgz +npm install -g "$PACK_DIR"/axorasec-agentguard-*.tgz dsh plugin --profile web add link:/absolute/path/to/agentguard ``` @@ -132,7 +132,7 @@ Verify both installation paths without requiring `realpath` or `rg`: ```bash CLI_PATH="$(command -v agentguard)" node -e 'console.log(require("node:fs").realpathSync(process.argv[1]))' "$CLI_PATH" -grep -F '"@goplus/agentguard"' "$HOME/.dsh/profiles/web/package.json" +grep -F '"@axorasec/agentguard"' "$HOME/.dsh/profiles/web/package.json" ``` The first command must resolve under the active Node/npm installation, not the @@ -167,17 +167,17 @@ DSH forwards plugin lifecycle commands to the profile package manager. Keep the dsh web --dump-config # Update an npm-installed release -dsh plugin --profile web update @goplus/agentguard +dsh plugin --profile web update @axorasec/agentguard # Remove AgentGuard from the profile -dsh plugin --profile web remove @goplus/agentguard +dsh plugin --profile web remove @axorasec/agentguard ``` Restart the DSH process after an add, update, or remove operation. For a local `link:` installation, rebuild the AgentGuard checkout with `npm run build`, then restart DSH; the link continues to point at the same checkout. Verification checklist: -1. `dsh web --dump-config` contains `id: agentguard-dsh-plugin` and the `@goplus/agentguard/dist/dsh/plugin.js` entry. +1. `dsh web --dump-config` contains `id: agentguard-dsh-plugin` and the `@axorasec/agentguard/dist/dsh/plugin.js` entry. 2. DSH exposes the `agentguard_dsh_scan`, `agentguard_dsh_scan_batch`, `agentguard_dsh_compare`, `agentguard_dsh_runtime_summary`, `agentguard_dsh_subscribe`, `agentguard_dsh_subscription_status`, and `agentguard_dsh_unsubscribe` tools. 3. A JSON scan contains `scanner.version`, `scanner.phase`, and `scanner.rulesBaseline`. Keep these fields with a saved report so later rescans can be compared to the same implementation. 4. `~/.agentguard/audit.jsonl` receives DSH events with `agentHost: "dsh"`. The default composition records pre-execute events with `runtimeMode: "protect"` and `enforcementApplied: true`; an explicit audit-only composition records `runtimeMode: "observe"` and does not apply pre-execute enforcement. @@ -329,7 +329,7 @@ import { renderDshHtml, renderDshMarkdown, type DshPluginScanReport, -} from '@goplus/agentguard'; +} from '@axorasec/agentguard'; const report: DshPluginScanReport = await scanDshPlugin('./plugin'); const pinned = await scanDshPlugin('https://github.com/owner/dsh-plugin', { ref: 'v1.2.3' }); diff --git a/docs/goplus-api.md b/docs/goplus-api.md index 9c06e59..249bd9a 100644 --- a/docs/goplus-api.md +++ b/docs/goplus-api.md @@ -1,6 +1,6 @@ # GoPlus API Integration -GoPlus AgentGuard optionally integrates with the [GoPlus Security API](https://gopluslabs.io/security-api) for enhanced Web3 security. +Axora AgentGuard optionally integrates with the [GoPlus Security API](https://gopluslabs.io/security-api) for enhanced Web3 security. ## Setup @@ -29,7 +29,7 @@ If the GoPlus API is unavailable or keys are not configured, AgentGuard falls ba ## External Scanner -GoPlus AgentGuard also integrates with [cisco-ai-defense/skill-scanner](https://github.com/cisco-ai-defense/skill-scanner) for additional scanning capabilities: +Axora AgentGuard also integrates with [cisco-ai-defense/skill-scanner](https://github.com/cisco-ai-defense/skill-scanner) for additional scanning capabilities: ```bash pip install cisco-ai-skill-scanner diff --git a/docs/hermes.md b/docs/hermes.md index 10d6e0d..4e98592 100644 --- a/docs/hermes.md +++ b/docs/hermes.md @@ -26,7 +26,7 @@ hermes plugins list The plugin starts one persistent local evaluator on demand and communicates over current-user IPC, avoiding a Node startup for every large prompt. Make sure -`agentguard` is on `PATH` (`npm i -g @goplus/agentguard`) or set +`agentguard` is on `PATH` (`npm i -g @axorasec/agentguard`) or set `AGENTGUARD_BIN`. See [`plugins/hermes/README.md`](../plugins/hermes/README.md) for IPC limits, environment variables, and failure policy. @@ -130,7 +130,7 @@ Hermes `pre_tool_call` supports allow or block. AgentGuard `deny` decisions are returned as: ```json -{"action":"block","message":"GoPlus AgentGuard: ..."} +{"action":"block","message":"Axora AgentGuard: ..."} ``` AgentGuard `confirm` decisions are also represented as blocks because Hermes diff --git a/docs/mcp-server.md b/docs/mcp-server.md index d57fb12..02871ec 100644 --- a/docs/mcp-server.md +++ b/docs/mcp-server.md @@ -5,7 +5,7 @@ AgentGuard still ships an MCP server for hosts that prefer MCP tools over hooks. ## Run ```bash -npx -y --package @goplus/agentguard agentguard-mcp +npx -y --package @axorasec/agentguard agentguard-mcp ``` If installed globally: diff --git a/docs/openclaw.md b/docs/openclaw.md index 390c67d..3d08012 100644 --- a/docs/openclaw.md +++ b/docs/openclaw.md @@ -13,7 +13,7 @@ agentguard init --agent openclaw This creates a local plugin under `~/.openclaw/plugins/agentguard`, installs the AgentGuard skill under `~/.openclaw/skills/agentguard`, and enables the plugin in `~/.openclaw/openclaw.json`. ```ts -import { registerOpenClawPlugin } from '@goplus/agentguard'; +import { registerOpenClawPlugin } from '@axorasec/agentguard'; export default function setup(api) { registerOpenClawPlugin(api, { @@ -119,4 +119,4 @@ capability boundaries outside AgentGuard's control. ## Docker demo -See `examples/openclaw-docker/` for a minimal Docker demo that installs `@goplus/agentguard`, runs `agentguard init --agent openclaw`, and provides a starter plugin. +See `examples/openclaw-docker/` for a minimal Docker demo that installs `@axorasec/agentguard`, runs `agentguard init --agent openclaw`, and provides a starter plugin. diff --git a/docs/privacy-boundary.md b/docs/privacy-boundary.md index 99a2355..7bd8cfe 100644 --- a/docs/privacy-boundary.md +++ b/docs/privacy-boundary.md @@ -18,7 +18,7 @@ uploaded to Cloud. ## AgentGuard-owned CLI results -Standalone `agentguard` commands and direct `npx @goplus/agentguard` commands +Standalone `agentguard` commands and direct `npx @axorasec/agentguard` commands pass through post-tool hooks without blocking or redaction, regardless of their output content or result shape. Simple `command`, `env`, and shell wrappers are recognized; an explicit executable path must resolve to this package's CLI. diff --git a/docs/sdk.md b/docs/sdk.md index c60f5bb..a819a9e 100644 --- a/docs/sdk.md +++ b/docs/sdk.md @@ -1,17 +1,17 @@ # SDK Usage -Use GoPlus AgentGuard as a library in your own project. +Use Axora AgentGuard as a library in your own project. ## Installation ```bash -npm install @goplus/agentguard +npm install @axorasec/agentguard ``` ## Quick Start ```typescript -import { createAgentGuard } from '@goplus/agentguard'; +import { createAgentGuard } from '@axorasec/agentguard'; const { scanner, registry, actionScanner } = createAgentGuard(); ``` @@ -75,7 +75,7 @@ console.log(result.effective_trust_level); // 'trusted' ## API Reference -See the TypeScript types exported from `@goplus/agentguard` for full API details: +See the TypeScript types exported from `@axorasec/agentguard` for full API details: - `SkillScanner` — Static analysis engine - `SkillRegistry` — Trust level management diff --git a/docs/superpowers/plans/2026-08-26-dsh-threat-feed-notification-delivery.md b/docs/superpowers/plans/2026-08-26-dsh-threat-feed-notification-delivery.md index 7f708e8..2228663 100644 --- a/docs/superpowers/plans/2026-08-26-dsh-threat-feed-notification-delivery.md +++ b/docs/superpowers/plans/2026-08-26-dsh-threat-feed-notification-delivery.md @@ -342,7 +342,7 @@ npm run build agentguard_pack_dir="$(mktemp -d)" npm pack --pack-destination "$agentguard_pack_dir" -npm install -g "$agentguard_pack_dir"/goplus-agentguard-*.tgz +npm install -g "$agentguard_pack_dir"/axorasec-agentguard-*.tgz dsh plugin --profile web add link:/absolute/path/to/agentguard ``` diff --git a/docs/trust-cli.md b/docs/trust-cli.md index e033c18..537fe88 100644 --- a/docs/trust-cli.md +++ b/docs/trust-cli.md @@ -1,6 +1,6 @@ # Trust Management -GoPlus AgentGuard includes a trust registry for managing skill permissions. +Axora AgentGuard includes a trust registry for managing skill permissions. ## Commands diff --git a/dsh.cordis.patch.yml b/dsh.cordis.patch.yml index 1e20855..812ecda 100644 --- a/dsh.cordis.patch.yml +++ b/dsh.cordis.patch.yml @@ -1,7 +1,7 @@ # DSH bundle patch: exposes AgentGuard's read-only DSH plugin scanner as a tool. - insert: - id: agentguard-dsh-plugin - name: '@goplus/agentguard/dist/dsh/plugin.js' + name: '@axorasec/agentguard/dist/dsh/plugin.js' config: runtime: mode: protect diff --git a/examples/openclaw-docker/Dockerfile b/examples/openclaw-docker/Dockerfile index 6ae1549..6ed9228 100644 --- a/examples/openclaw-docker/Dockerfile +++ b/examples/openclaw-docker/Dockerfile @@ -2,7 +2,7 @@ FROM node:22-slim WORKDIR /workspace -RUN npm install -g @goplus/agentguard +RUN npm install -g @axorasec/agentguard RUN agentguard init --agent openclaw COPY plugin.ts ./plugin.ts diff --git a/examples/openclaw-docker/README.md b/examples/openclaw-docker/README.md index 1b9d001..fa4aded 100644 --- a/examples/openclaw-docker/README.md +++ b/examples/openclaw-docker/README.md @@ -12,5 +12,5 @@ In a real OpenClaw workspace, register `plugin.ts` as a plugin. It uses `registe For Cloud policy and audit sync: ```bash -AGENTGUARD_API_KEY=ag_live_xxxxx agentguard connect --url https://www.agentguard.one +AGENTGUARD_API_KEY=ag_live_xxxxx agentguard connect --url https://agentguard.axorasecurity.com ``` diff --git a/examples/openclaw-docker/plugin.ts b/examples/openclaw-docker/plugin.ts index 268b253..61fe9cf 100644 --- a/examples/openclaw-docker/plugin.ts +++ b/examples/openclaw-docker/plugin.ts @@ -1,4 +1,4 @@ -import { registerOpenClawPlugin } from '@goplus/agentguard'; +import { registerOpenClawPlugin } from '@axorasec/agentguard'; export default function setup(api) { registerOpenClawPlugin(api, { diff --git a/examples/vulnerable-skill/README.md b/examples/vulnerable-skill/README.md index 207f136..4923e52 100644 --- a/examples/vulnerable-skill/README.md +++ b/examples/vulnerable-skill/README.md @@ -1,6 +1,6 @@ # Vulnerable Skill Demo -This directory contains intentionally vulnerable code for testing GoPlus AgentGuard security scanning. +This directory contains intentionally vulnerable code for testing Axora AgentGuard security scanning. **DO NOT use any code from this directory in production.** @@ -10,7 +10,7 @@ This directory contains intentionally vulnerable code for testing GoPlus AgentGu /agentguard scan examples/vulnerable-skill ``` -## What GoPlus AgentGuard Should Detect +## What Axora AgentGuard Should Detect ### JavaScript (`malicious-helper.js`) - `SHELL_EXEC` — child_process exec diff --git a/examples/vulnerable-skill/malicious-contract.sol b/examples/vulnerable-skill/malicious-contract.sol index de3b966..b9fd3a0 100644 --- a/examples/vulnerable-skill/malicious-contract.sol +++ b/examples/vulnerable-skill/malicious-contract.sol @@ -5,7 +5,7 @@ pragma solidity ^0.8.0; * DEMO: Vulnerable Smart Contract * * This contract contains intentionally vulnerable patterns - * for demonstrating GoPlus AgentGuard's Web3 security scanning. + * for demonstrating Axora AgentGuard's Web3 security scanning. * * DO NOT deploy this contract. Every pattern here is a security risk. * diff --git a/examples/vulnerable-skill/malicious-helper.js b/examples/vulnerable-skill/malicious-helper.js index 88b10b8..7b38a88 100644 --- a/examples/vulnerable-skill/malicious-helper.js +++ b/examples/vulnerable-skill/malicious-helper.js @@ -2,10 +2,10 @@ * DEMO: Vulnerable Skill Example * * This file contains intentionally vulnerable code patterns - * for demonstrating GoPlus AgentGuard's security scanning capabilities. + * for demonstrating Axora AgentGuard's security scanning capabilities. * * DO NOT use this code in production. Every pattern here is a - * security risk that GoPlus AgentGuard should detect. + * security risk that Axora AgentGuard should detect. * * Run: /agentguard scan examples/vulnerable-skill */ diff --git a/hooks/hooks.json b/hooks/hooks.json index 4bbf554..64bcdb5 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -9,7 +9,7 @@ "command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/agentguard/scripts/auto-scan.js\"", "timeout": 30, "async": true, - "statusMessage": "GoPlus AgentGuard: scanning installed skills..." + "statusMessage": "Axora AgentGuard: scanning installed skills..." } ] } @@ -22,7 +22,7 @@ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/agentguard/scripts/guard-hook.js\"", "timeout": 10, - "statusMessage": "GoPlus AgentGuard: checking command safety..." + "statusMessage": "Axora AgentGuard: checking command safety..." } ] }, @@ -33,7 +33,7 @@ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/agentguard/scripts/guard-hook.js\"", "timeout": 10, - "statusMessage": "GoPlus AgentGuard: checking file write safety..." + "statusMessage": "Axora AgentGuard: checking file write safety..." } ] }, @@ -44,7 +44,7 @@ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/agentguard/scripts/guard-hook.js\"", "timeout": 10, - "statusMessage": "GoPlus AgentGuard: checking network request..." + "statusMessage": "Axora AgentGuard: checking network request..." } ] } diff --git a/mcpb/manifest.json b/mcpb/manifest.json index c526d2e..9fa83e7 100644 --- a/mcpb/manifest.json +++ b/mcpb/manifest.json @@ -1,22 +1,22 @@ { "manifest_version": "0.3", "name": "agentguard", - "display_name": "GoPlus AgentGuard", + "display_name": "Axora AgentGuard", "version": "1.2.4", "icon": "icon.png", "description": "Security guard for AI agents — blocks malicious skills, prevents data leaks, protects secrets.", - "long_description": "GoPlus AgentGuard is an AI-agent security framework. It exposes MCP tools for scanning skills, looking up and managing a trust registry, evaluating runtime actions against policy, and simulating Web3 transactions. 20+ detection rules cover dangerous commands, secret exfiltration, and risky on-chain actions.", + "long_description": "Axora AgentGuard is an AI-agent security framework. It exposes MCP tools for scanning skills, looking up and managing a trust registry, evaluating runtime actions against policy, and simulating Web3 transactions. 20+ detection rules cover dangerous commands, secret exfiltration, and risky on-chain actions.", "author": { - "name": "GoPlus Security", - "url": "https://gopluslabs.io" + "name": "Axora Security", + "url": "https://github.com/AxoraSecurity" }, - "homepage": "https://github.com/GoPlusSecurity/agentguard", - "documentation": "https://github.com/GoPlusSecurity/agentguard#readme", - "support": "https://github.com/GoPlusSecurity/agentguard/issues", - "privacy_policies": ["https://www.agentguard.one/privacy"], + "homepage": "https://github.com/AxoraSecurity/agentguard", + "documentation": "https://github.com/AxoraSecurity/agentguard#readme", + "support": "https://github.com/AxoraSecurity/agentguard/issues", + "privacy_policies": ["https://agentguard.axorasecurity.com/privacy"], "repository": { "type": "git", - "url": "https://github.com/GoPlusSecurity/agentguard" + "url": "https://github.com/AxoraSecurity/agentguard" }, "license": "MIT", "keywords": ["security", "ai-agent", "web3", "scanner", "trust-registry", "mcp"], diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 1a20053..00b5c13 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -1,6 +1,6 @@ { "id": "agentguard", - "name": "GoPlus AgentGuard", + "name": "Axora AgentGuard", "description": "AI agent security framework — blocks dangerous commands, prevents data leaks, and protects secrets", "skills": ["./skills"], "activation": { diff --git a/package-lock.json b/package-lock.json index 0ba9c91..e912a5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@goplus/agentguard", + "name": "@axorasec/agentguard", "version": "1.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@goplus/agentguard", + "name": "@axorasec/agentguard", "version": "1.2.4", "hasInstallScript": true, "license": "MIT", diff --git a/package.json b/package.json index c708aaf..40142ca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@goplus/agentguard", + "name": "@axorasec/agentguard", "version": "1.2.4", - "description": "GoPlus AgentGuard — Security guard for AI agents. Blocks dangerous commands, prevents data leaks, protects secrets. 20 detection rules, runtime action evaluation, trust registry.", + "description": "Axora AgentGuard — Security guard for AI agents. Blocks dangerous commands, prevents data leaks, protects secrets. 20 detection rules, runtime action evaluation, trust registry.", "main": "dist/index.js", "types": "dist/index.d.ts", "openclaw": { @@ -18,8 +18,8 @@ } }, "bin": { - "agentguard": "./dist/cli.js", - "agentguard-mcp": "./dist/mcp-server.js" + "agentguard": "dist/cli.js", + "agentguard-mcp": "dist/mcp-server.js" }, "scripts": { "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"", @@ -49,18 +49,21 @@ "security", "ai-agent", "web3", - "goplus", + "axora", "claude-code", "codex", "scanner", "trust-registry", "hooks" ], - "author": "GoPlusSecurity", + "author": "AxoraSecurity", "license": "MIT", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", - "url": "git+https://github.com/GoPlusSecurity/agentguard.git" + "url": "git+https://github.com/AxoraSecurity/agentguard.git" }, "engines": { "node": ">=18.0.0" @@ -80,9 +83,9 @@ "@types/node": "22.19.15", "typescript": "5.7.3" }, - "homepage": "https://github.com/GoPlusSecurity/agentguard#readme", + "homepage": "https://github.com/AxoraSecurity/agentguard#readme", "bugs": { - "url": "https://github.com/GoPlusSecurity/agentguard/issues" + "url": "https://github.com/AxoraSecurity/agentguard/issues" }, "files": [ "dist", diff --git a/plugins/hermes/README.md b/plugins/hermes/README.md index 44ed915..5ebae25 100644 --- a/plugins/hermes/README.md +++ b/plugins/hermes/README.md @@ -1,8 +1,8 @@ -# GoPlus AgentGuard — Hermes plugin +# Axora AgentGuard — Hermes plugin A native [Hermes Agent](https://github.com/NousResearch/hermes-agent) plugin that observes supported main-loop model traffic and runs tool calls through the -[GoPlus AgentGuard](https://github.com/GoPlusSecurity/agentguard) decision engine. +[Axora AgentGuard](https://github.com/AxoraSecurity/agentguard) decision engine. It **blocks risky shell, file, and network actions** before they execute. Unlike the shell-hook integration (which you wire into `~/.hermes/config.yaml` by @@ -15,7 +15,7 @@ place. - Hermes Agent (with the plugin system). - The AgentGuard engine reachable as the `agentguard` CLI on `PATH` - (`npm i -g @goplus/agentguard`), or pointed at via `AGENTGUARD_BIN`. + (`npm i -g @axorasec/agentguard`), or pointed at via `AGENTGUARD_BIN`. ## Install diff --git a/plugins/hermes/__init__.py b/plugins/hermes/__init__.py index 66ca432..fc5221b 100644 --- a/plugins/hermes/__init__.py +++ b/plugins/hermes/__init__.py @@ -1,4 +1,4 @@ -"""GoPlus AgentGuard native plugin for Hermes Agent. +"""Axora AgentGuard native plugin for Hermes Agent. Hermes imports this package and calls :func:`register` at load time. """ diff --git a/plugins/hermes/bridge.py b/plugins/hermes/bridge.py index 177d9da..7a74698 100644 --- a/plugins/hermes/bridge.py +++ b/plugins/hermes/bridge.py @@ -77,7 +77,7 @@ # Hermes pre_tool_call has no native "ask"; AgentGuard's confirm maps to a block. _BLOCK_DECISIONS = frozenset({"block", "confirm"}) -_DEFAULT_BLOCK_MESSAGE = "GoPlus AgentGuard blocked this action" +_DEFAULT_BLOCK_MESSAGE = "Axora AgentGuard blocked this action" _IPC_VERSION = 1 _DEFAULT_MAX_REQUEST_BYTES = 1024 * 1024 _DEFAULT_MAX_RESPONSE_BYTES = 256 * 1024 @@ -164,7 +164,7 @@ def evaluate( # under fail-open): we can't evaluate what we can't read. missing = _validate_mapped_payload(tool_name, args or {}) if missing: - return _block("GoPlus AgentGuard: %s" % missing) + return _block("Axora AgentGuard: %s" % missing) if self._runner is None: try: @@ -187,7 +187,7 @@ def evaluate( if argv is None: return self._fail( phase, - "AgentGuard engine not found; install @goplus/agentguard or set " + "AgentGuard engine not found; install @axorasec/agentguard or set " "AGENTGUARD_BIN / AGENTGUARD_HERMES_HOOK", ) @@ -263,9 +263,9 @@ def run_cli(self, args: list) -> str: bin_path = os.environ.get("AGENTGUARD_BIN") or shutil.which("agentguard") if not bin_path: if _env_truthy("AGENTGUARD_HERMES_ALLOW_NPX") and shutil.which("npx"): - cmd = ["npx", "-y", "@goplus/agentguard", *args] + cmd = ["npx", "-y", "@axorasec/agentguard", *args] else: - return "AgentGuard CLI not found. Install @goplus/agentguard (or set AGENTGUARD_BIN)." + return "AgentGuard CLI not found. Install @axorasec/agentguard (or set AGENTGUARD_BIN)." else: cmd = [bin_path, *args] try: @@ -523,7 +523,7 @@ def _resolve_invocation(): # npx fetches an unpinned package over the network — unsafe for a # security gate, so it is opt-in only. if _env_truthy("AGENTGUARD_HERMES_ALLOW_NPX") and shutil.which("npx"): - return (["npx", "-y", "@goplus/agentguard", "protect"], "protect") + return (["npx", "-y", "@axorasec/agentguard", "protect"], "protect") return (None, None) @@ -552,7 +552,7 @@ def _fail(phase: str, reason: str) -> Optional[Dict[str, str]]: return None if _env_truthy("AGENTGUARD_HERMES_FAIL_OPEN"): return None - return _block("GoPlus AgentGuard: %s; blocking fail-closed" % reason) + return _block("Axora AgentGuard: %s; blocking fail-closed" % reason) def _remaining_timeout(deadline: float) -> float: @@ -776,7 +776,7 @@ def _format_reason(data: Dict[str, Any]) -> str: risk = data.get("riskScore") level = data.get("riskLevel") verb = "requires confirmation for" if data.get("decision") == "confirm" else "blocked" - base = "GoPlus AgentGuard %s this Hermes tool call (risk: %s/100, level: %s)." % ( + base = "Axora AgentGuard %s this Hermes tool call (risk: %s/100, level: %s)." % ( verb, risk, level, ) if titles: diff --git a/plugins/hermes/plugin.py b/plugins/hermes/plugin.py index 12ccffe..e2aae5a 100644 --- a/plugins/hermes/plugin.py +++ b/plugins/hermes/plugin.py @@ -1,4 +1,4 @@ -"""GoPlus AgentGuard — native Hermes Agent plugin. +"""Axora AgentGuard — native Hermes Agent plugin. Registers Hermes lifecycle hooks that route tool calls through the AgentGuard decision engine (see :mod:`bridge`), plus a ``/agentguard`` slash command. @@ -40,7 +40,7 @@ def register(ctx: Any, bridge: Optional[AgentGuardBridge] = None) -> None: register_command( "agentguard", _make_status_command(guard), - description="Show GoPlus AgentGuard status, recent audit report, or run a checkup.", + description="Show Axora AgentGuard status, recent audit report, or run a checkup.", ) @@ -62,7 +62,7 @@ def pre_api_request(**kwargs: Any): _warn_observer_decision("request", request_id, result) except Exception as exc: logger.warning( - "GoPlus AgentGuard Hermes request observer failed; model request remains observe_only: %s", + "Axora AgentGuard Hermes request observer failed; model request remains observe_only: %s", exc, ) return None @@ -78,7 +78,7 @@ def post_api_request(**kwargs: Any): _warn_observer_decision("response", request_id, result) except Exception as exc: logger.warning( - "GoPlus AgentGuard Hermes response observer failed; response remains observe_only: %s", + "Axora AgentGuard Hermes response observer failed; response remains observe_only: %s", exc, ) return None @@ -90,7 +90,7 @@ def _warn_observer_decision(kind: str, request_id: Any, result: Optional[Dict[st if not result or result.get("policyDecision") not in {"block", "require_approval"}: return logger.warning( - "GoPlus AgentGuard observed a Hermes model %s policy violation " + "Axora AgentGuard observed a Hermes model %s policy violation " "(request_id=%s, enforcement=would_block); the Hermes API hook is observe_only", kind, request_id or "unknown", diff --git a/plugins/hermes/plugin.yaml b/plugins/hermes/plugin.yaml index 34f1594..8518ee4 100644 --- a/plugins/hermes/plugin.yaml +++ b/plugins/hermes/plugin.yaml @@ -1,15 +1,15 @@ -# GoPlus AgentGuard — native Hermes Agent plugin manifest. +# Axora AgentGuard — native Hermes Agent plugin manifest. # # Installed to ~/.hermes/plugins/agentguard/ by `agentguard init --agent hermes`, # then enabled with `hermes plugins enable agentguard`. name: agentguard -version: "1.1.28" +version: "1.2.4" description: >- - GoPlus AgentGuard security guardrails for Hermes. Observes supported main-loop + Axora AgentGuard security guardrails for Hermes. Observes supported main-loop model requests and responses, and blocks risky shell, file, and network actions at pre_tool_call using the AgentGuard decision engine. -author: GoPlusSecurity -homepage: https://github.com/GoPlusSecurity/agentguard +author: AxoraSecurity +homepage: https://github.com/AxoraSecurity/agentguard license: MIT provides_hooks: - pre_llm_call diff --git a/plugins/hermes/tests/test_block.py b/plugins/hermes/tests/test_block.py index 298df1f..daadfb6 100644 --- a/plugins/hermes/tests/test_block.py +++ b/plugins/hermes/tests/test_block.py @@ -33,6 +33,6 @@ def test_action_type_is_passed_explicitly(): def test_hook_mode_block_is_passed_through(): from helpers import make_hook_runner - ctx, _ = register_with(make_hook_runner(block=True, message="GoPlus AgentGuard: nope"), mode="hook") + ctx, _ = register_with(make_hook_runner(block=True, message="Axora AgentGuard: nope"), mode="hook") result = ctx.hooks["pre_tool_call"]("write_file", {"path": "/etc/passwd"}) - assert result == {"action": "block", "message": "GoPlus AgentGuard: nope"} + assert result == {"action": "block", "message": "Axora AgentGuard: nope"} diff --git a/plugins/hermes/tests/test_llm_response.py b/plugins/hermes/tests/test_llm_response.py index e6afe85..61307c7 100644 --- a/plugins/hermes/tests/test_llm_response.py +++ b/plugins/hermes/tests/test_llm_response.py @@ -109,7 +109,7 @@ def transport(request): assert response_result is None assert tool_result == { "action": "block", - "message": "GoPlus AgentGuard blocked this action", + "message": "Axora AgentGuard blocked this action", } assert [call["action"]["actionType"] for call in calls] == ["llm_response", "shell"] diff --git a/scripts/test-dsh-package.mjs b/scripts/test-dsh-package.mjs index 865609c..816ab5d 100644 --- a/scripts/test-dsh-package.mjs +++ b/scripts/test-dsh-package.mjs @@ -76,16 +76,16 @@ try { assert.ok(![...archiveFiles].some(path => path.startsWith('package/dist/tests/')), 'tarball contains compiled tests'); await dsh(['plugin', '--profile', 'web', 'install', '--lockfile-only']); - const tarballBuildKey = `@goplus/agentguard@file:${relative(await realpath(profileDir), tarball).replaceAll('\\', '/')}`; + const tarballBuildKey = `@axorasec/agentguard@file:${relative(await realpath(profileDir), tarball).replaceAll('\\', '/')}`; await dsh(['plugin', '--profile', 'web', 'add', `--allow-build=${tarballBuildKey}`, tarball]); const installedManifest = JSON.parse(await readFile(join(profileDir, 'package.json'), 'utf8')); - assert.ok(installedManifest.dependencies?.['@goplus/agentguard']); - assert.ok(installedManifest.dsh?.profile?.bundles?.includes('@goplus/agentguard')); + assert.ok(installedManifest.dependencies?.['@axorasec/agentguard']); + assert.ok(installedManifest.dsh?.profile?.bundles?.includes('@axorasec/agentguard')); const { stdout: composed } = await dsh(['web', '--dump-config']); assert.match(composed, /id:\s*agentguard-dsh-plugin/); assert.match(composed, /runtime:\s*\n\s+mode:\s*protect/); - const installedPlugin = join(profileDir, 'node_modules/@goplus/agentguard/dist/dsh/plugin.js'); + const installedPlugin = join(profileDir, 'node_modules/@axorasec/agentguard/dist/dsh/plugin.js'); const plugin = await import(`${pathToFileURL(installedPlugin).href}?package=${Date.now()}`); const registeredTools = []; const runtimeEvents = []; @@ -131,13 +131,13 @@ try { await dsh(['plugin', '--profile', 'web', 'update', tarball]); const updatedManifest = JSON.parse(await readFile(join(profileDir, 'package.json'), 'utf8')); - assert.ok(updatedManifest.dependencies?.['@goplus/agentguard']); - assert.ok(updatedManifest.dsh?.profile?.bundles?.includes('@goplus/agentguard')); + assert.ok(updatedManifest.dependencies?.['@axorasec/agentguard']); + assert.ok(updatedManifest.dsh?.profile?.bundles?.includes('@axorasec/agentguard')); - await dsh(['plugin', '--profile', 'web', 'remove', '@goplus/agentguard']); + await dsh(['plugin', '--profile', 'web', 'remove', '@axorasec/agentguard']); const removedManifest = JSON.parse(await readFile(join(profileDir, 'package.json'), 'utf8')); - assert.equal(removedManifest.dependencies?.['@goplus/agentguard'], undefined); - assert.ok(!removedManifest.dsh?.profile?.bundles?.includes('@goplus/agentguard')); + assert.equal(removedManifest.dependencies?.['@axorasec/agentguard'], undefined); + assert.ok(!removedManifest.dsh?.profile?.bundles?.includes('@axorasec/agentguard')); console.log(JSON.stringify({ tarball: packResult[0].filename, diff --git a/scripts/test-dsh-plugin-e2e.mjs b/scripts/test-dsh-plugin-e2e.mjs index 412053e..6d9f3dd 100644 --- a/scripts/test-dsh-plugin-e2e.mjs +++ b/scripts/test-dsh-plugin-e2e.mjs @@ -11,7 +11,7 @@ const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..'); const dshBin = resolve(process.env.DSH_E2E_BIN ?? join(repoRoot, '.dsh-runtime/node_modules/.bin/dsh')); const dshHome = resolve(process.env.DSH_E2E_HOME ?? join(repoRoot, '.dsh-home')); const profileDir = join(dshHome, 'profiles/web'); -const installedPlugin = join(profileDir, 'node_modules/@goplus/agentguard/dist/dsh/plugin.js'); +const installedPlugin = join(profileDir, 'node_modules/@axorasec/agentguard/dist/dsh/plugin.js'); const safeFixture = join(repoRoot, 'src/tests/fixtures/dsh-eval/safe-theme'); const localLoaderFixture = join(repoRoot, 'src/tests/fixtures/dsh-eval/data-local-loader'); const vendoredLibraryFixture = join(repoRoot, 'src/tests/fixtures/dsh-eval/vendored-static-library'); @@ -36,7 +36,7 @@ const dumped = spawnSync(dshBin, ['web', '--dump-config'], { }); assert.equal(dumped.status, 0, dumped.stderr || dumped.stdout); assert.match(dumped.stdout, /id:\s*agentguard-dsh-plugin/); -assert.match(dumped.stdout, /@goplus\/agentguard\/dist\/dsh\/plugin\.js/); +assert.match(dumped.stdout, /@axorasec\/agentguard\/dist\/dsh\/plugin\.js/); assert.match(dumped.stdout, /runtime:\s*\n\s+mode:\s*(?:observe|protect)/); const plugin = await import(`${pathToFileURL(installedPlugin).href}?e2e=${Date.now()}`); diff --git a/scripts/test-dsh-plugin-lifecycle.mjs b/scripts/test-dsh-plugin-lifecycle.mjs index 8bb7d4d..d69ac3b 100644 --- a/scripts/test-dsh-plugin-lifecycle.mjs +++ b/scripts/test-dsh-plugin-lifecycle.mjs @@ -28,15 +28,15 @@ try { await dsh(['plugin', '--profile', 'web', 'add', `link:${repoRoot}`]); const installedManifest = JSON.parse(await readFile(join(profileDir, 'package.json'), 'utf8')); - assert.equal(installedManifest.dependencies?.['@goplus/agentguard'], `link:${repoRoot}`); - assert.ok(installedManifest.dsh?.profile?.bundles?.includes('@goplus/agentguard')); + assert.equal(installedManifest.dependencies?.['@axorasec/agentguard'], `link:${repoRoot}`); + assert.ok(installedManifest.dsh?.profile?.bundles?.includes('@axorasec/agentguard')); const { stdout: composed } = await dsh(['web', '--dump-config']); assert.match(composed, /id:\s*agentguard-dsh-plugin/); - assert.match(composed, /@goplus\/agentguard\/dist\/dsh\/plugin\.js/); + assert.match(composed, /@axorasec\/agentguard\/dist\/dsh\/plugin\.js/); assert.match(composed, /runtime:\s*\n\s+mode:\s*protect/); - const installedPlugin = join(profileDir, 'node_modules/@goplus/agentguard/dist/dsh/plugin.js'); + const installedPlugin = join(profileDir, 'node_modules/@axorasec/agentguard/dist/dsh/plugin.js'); await access(installedPlugin); const plugin = await import(`${pathToFileURL(installedPlugin).href}?lifecycle=${Date.now()}`); const registeredTools = []; @@ -62,10 +62,10 @@ try { const batchResult = await registeredBatch.execute({ targets: [{ target: safeFixture }] }); assert.equal(batchResult.succeeded, 1); - await dsh(['plugin', '--profile', 'web', 'remove', '@goplus/agentguard']); + await dsh(['plugin', '--profile', 'web', 'remove', '@axorasec/agentguard']); const removedManifest = JSON.parse(await readFile(join(profileDir, 'package.json'), 'utf8')); - assert.equal(removedManifest.dependencies?.['@goplus/agentguard'], undefined); - assert.ok(!removedManifest.dsh?.profile?.bundles?.includes('@goplus/agentguard')); + assert.equal(removedManifest.dependencies?.['@axorasec/agentguard'], undefined); + assert.ok(!removedManifest.dsh?.profile?.bundles?.includes('@axorasec/agentguard')); const { stdout: removedComposition } = await dsh(['web', '--dump-config']); assert.doesNotMatch(removedComposition, /agentguard-dsh-plugin/); diff --git a/setup.sh b/setup.sh index c2bc570..fa7f1d7 100755 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -# GoPlus AgentGuard — One-click setup +# Axora AgentGuard — One-click setup # Supports: Claude Code, OpenClaw, ClawHub # Auto-detects the agent platform; use --target or --scope for custom paths. # @@ -57,14 +57,14 @@ done set -- "${POSITIONAL[@]+"${POSITIONAL[@]}"}" echo "" -echo " GoPlus AgentGuard — AI Agent Security Guard" +echo " Axora AgentGuard — AI Agent Security Guard" echo " =============================================" echo "" # ---- Pre-check: Node.js ---- if ! command -v node &>/dev/null; then echo " ERROR: Node.js is not installed." - echo " GoPlus AgentGuard requires Node.js >= $MIN_NODE_VERSION." + echo " Axora AgentGuard requires Node.js >= $MIN_NODE_VERSION." echo " Install from: https://nodejs.org" exit 1 fi @@ -72,7 +72,7 @@ fi NODE_MAJOR=$(node -e "console.log(process.versions.node.split('.')[0])") if [ "$NODE_MAJOR" -lt "$MIN_NODE_VERSION" ]; then echo " ERROR: Node.js v$(node -v) is too old." - echo " GoPlus AgentGuard requires Node.js >= $MIN_NODE_VERSION." + echo " Axora AgentGuard requires Node.js >= $MIN_NODE_VERSION." echo " Install from: https://nodejs.org" exit 1 fi @@ -206,7 +206,7 @@ echo "" # ---- Uninstall mode ---- if [ "$UNINSTALL" = true ]; then - echo " Uninstalling GoPlus AgentGuard..." + echo " Uninstalling Axora AgentGuard..." rm -rf "$SKILLS_DIR" 2>/dev/null && echo " Removed skill from $SKILLS_DIR" || true # Also clean up other possible locations rm -rf "$HOME/.claude/skills/agentguard" 2>/dev/null || true @@ -215,13 +215,13 @@ if [ "$UNINSTALL" = true ]; then rm -rf "$OPENCLAW_PLUGIN_DIR" 2>/dev/null || true rm -rf "$AGENTGUARD_DIR" 2>/dev/null && echo " Removed config from $AGENTGUARD_DIR" || true echo "" - echo " GoPlus AgentGuard has been uninstalled." + echo " Axora AgentGuard has been uninstalled." echo "" exit 0 fi # ---- Step 1: Build the project ---- -echo "[1/5] Building GoPlus AgentGuard..." +echo "[1/5] Building Axora AgentGuard..." if [ -f "$SCRIPT_DIR/package.json" ]; then cd "$SCRIPT_DIR" npm install --ignore-scripts 2>/dev/null @@ -295,7 +295,7 @@ NODE cat > "$OPENCLAW_PLUGIN_DIR/openclaw.plugin.json" <<'JSON' { "id": "agentguard", - "name": "GoPlus AgentGuard", + "name": "Axora AgentGuard", "description": "AI agent security framework — blocks dangerous commands, prevents data leaks, and protects secrets", "configSchema": { "type": "object", @@ -380,7 +380,7 @@ JSON cat > "$QCLAW_PLUGIN_DIR/openclaw.plugin.json" <<'JSON' { "id": "agentguard", - "name": "GoPlus AgentGuard", + "name": "Axora AgentGuard", "description": "AI agent security framework — blocks dangerous commands, prevents data leaks, and protects secrets" } JSON @@ -497,7 +497,7 @@ fi # ---- Done ---- echo "" -echo " ✅ GoPlus AgentGuard is installed!" +echo " ✅ Axora AgentGuard is installed!" echo "" echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo " NEXT STEPS" diff --git a/skills/agentguard/README.md b/skills/agentguard/README.md index 0453852..4adb5e0 100644 --- a/skills/agentguard/README.md +++ b/skills/agentguard/README.md @@ -1,4 +1,4 @@ -# GoPlus AgentGuard +# Axora AgentGuard AI Agent Security Guard — protect your AI agents from dangerous commands, data leaks, and malicious skills. @@ -33,8 +33,8 @@ skill into `HERMES_HOME` or `~/.hermes` and merge the hook entries into `config.yaml`. The `hermes-hooks.yaml` file remains available for manual setups. The hook runner is `scripts/hermes-hook.js`. It uses the published -`@goplus/agentguard` package, so run `npm install` inside this skill directory -or install `@goplus/agentguard` globally if the package is not already present. +`@axorasec/agentguard` package, so run `npm install` inside this skill directory +or install `@axorasec/agentguard` globally if the package is not already present. ## Agent Health Checkup 🦞 @@ -72,4 +72,4 @@ The report opens automatically in your browser. It includes a shareable image yo ## Author -Built by [GoPlus Security](https://gopluslabs.io) — the leading Web3 security infrastructure provider. +Built by [Axora Security](https://github.com/AxoraSecurity). diff --git a/skills/agentguard/SKILL.md b/skills/agentguard/SKILL.md index eb7a598..1dc72c4 100644 --- a/skills/agentguard/SKILL.md +++ b/skills/agentguard/SKILL.md @@ -1,10 +1,10 @@ --- name: agentguard -description: GoPlus AgentGuard — AI agent security guard. Run /agentguard checkup for a full security health check, scans all installed skills, checks credentials, permissions, and network exposure, then delivers an HTML report directly to you. Also use for scanning third-party code, blocking dangerous commands, preventing data leaks, evaluating action safety, and running daily security patrols. +description: Axora AgentGuard — AI agent security guard. Run /agentguard checkup for a full security health check, scans all installed skills, checks credentials, permissions, and network exposure, then delivers an HTML report directly to you. Also use for scanning third-party code, blocking dangerous commands, preventing data leaks, evaluating action safety, and running daily security patrols. license: MIT compatibility: Requires Node.js 18+. Optional GoPlus API credentials for enhanced Web3 simulation. metadata: - author: GoPlusSecurity + author: AxoraSecurity version: "1.1" optional_env: "GOPLUS_API_KEY, GOPLUS_API_SECRET (for Web3 transaction simulation only)" filesystem-access: @@ -34,9 +34,9 @@ allowed-tools: Read, Write, Grep, Glob, Bash(node *trust-cli.js *) Bash(node *ac argument-hint: "[scan|action|patrol|subscribe|trust|report|config|checkup|cli] [args...] [--format sarif|json] [--output ]" --- -# GoPlus AgentGuard — AI Agent Security Framework +# Axora AgentGuard — AI Agent Security Framework -You are a security auditor powered by the GoPlus AgentGuard framework. Route the user's request based on the first argument. +You are a security auditor powered by the Axora AgentGuard framework. Route the user's request based on the first argument. ## Important: Resolving Script Paths @@ -164,13 +164,13 @@ the shared runtime protection path and syncs pre-tool decisions to Cloud. 1. Resolve the AgentGuard skill directory using the "Important: Resolving Script Paths" rules above. 2. Confirm that dependencies are available. If `node scripts/hermes-hook.js` - cannot load `@goplus/agentguard`, tell the user to run: + cannot load `@axorasec/agentguard`, tell the user to run: ```bash cd && npm install ``` or install the published package globally: ```bash - npm install -g @goplus/agentguard + npm install -g @axorasec/agentguard ``` 3. Prefer `agentguard init --agent hermes --force` to install and merge the hook entries automatically. @@ -351,7 +351,7 @@ Record the git context result (`committed` / `not-ignored` / `gitignored` / `no- ### Output Format ``` -## GoPlus AgentGuard Security Scan Report +## Axora AgentGuard Security Scan Report **Target**: **Risk Level**: CRITICAL | HIGH | MEDIUM | LOW @@ -512,7 +512,7 @@ Always combine script results with the policy-based checks (webhook domains, sec ### Output Format ``` -## GoPlus AgentGuard Action Evaluation +## Axora AgentGuard Action Evaluation **Action**: **Decision**: ALLOW | DENY | CONFIRM @@ -664,7 +664,7 @@ Check for expired, stale, or over-privileged trust records. ### Patrol Report Format ``` -## GoPlus AgentGuard Patrol Report +## Axora AgentGuard Patrol Report **Timestamp**: **Agent Roots**: @@ -725,7 +725,7 @@ Generate and show the OpenClaw cron registration command: ```bash openclaw cron add \ --name "agentguard-patrol" \ - --description "GoPlus AgentGuard daily security patrol" \ + --description "Axora AgentGuard daily security patrol" \ --cron "" \ --tz "" \ --session "isolated" \ @@ -823,7 +823,7 @@ Show the current patrol state. ## Subcommand: trust -Manage skill trust levels using the GoPlus AgentGuard registry. +Manage skill trust levels using the Axora AgentGuard registry. ### Trust Levels @@ -987,7 +987,7 @@ If scripts are not available, help the user inspect `data/registry.json` directl ## Subcommand: config -Set the GoPlus AgentGuard protection level. +Set the Axora AgentGuard protection level. ### Protection Levels @@ -1016,7 +1016,7 @@ If no level is specified, read and display the current config. ## Subcommand: report -Display recent security events from the GoPlus AgentGuard audit log. +Display recent security events from the Axora AgentGuard audit log. ### Log Location @@ -1038,7 +1038,7 @@ The `initiating_skill` field is present when the action was triggered by a skill ### Output Format ``` -## GoPlus AgentGuard Security Report +## Axora AgentGuard Security Report **Events**: **Blocked**: @@ -1111,7 +1111,7 @@ Run these checks in parallel where possible. These are **universal agent securit For **every** discovered skill, **run `/agentguard scan `** using the scan subcommand logic (24 detection rules). Do NOT skip any skill regardless of how many are found. Record for each skill: name, risk_level, and exact findings list (rule, severity, file, line). - Also discover installed DSH plugins under the resolved DSH home: use the non-empty `DSH_HOME` value when set, otherwise use the current user's real home directory plus `.dsh` (do not pass a literal unexpanded `~` to path APIs). Inspect `${dshHome}/profiles/*`; read each immediate profile's `package.json`, collect only names declared in `dependencies` and `optionalDependencies`, and resolve their existing directories beneath that same profile's `node_modules/`. For a dependency that declares `dsh.bundle.patch`, parse its Cordis patch and recursively resolve only package dependencies actually named by plugin rows in that patch; repeat for referenced child bundles, with path deduplication, cycle detection, and a bounded depth. Do not enumerate or scan unrelated transitive dependencies. Exclude only the exact `@goplus/agentguard` dependency coordinate declared by the profile or referenced by a bundle; never trust an installed plugin's self-reported package name for this exclusion. For **every** discovered direct or bundle-referenced plugin, run `agentguard dsh-scan --format json` and record its name, path, `riskLevel`, and exact findings list (`ruleId`, severity, file, line), normalized to the raw-facts schema below. A failed DSH plugin scan must not prevent the remaining checks from completing; record it in `dsh_plugins` with `risk_level: "high"` and one finding `{ "rule": "DSH_SCAN_FAILED", "severity": "HIGH", "file": "", "line": 0 }`. + Also discover installed DSH plugins under the resolved DSH home: use the non-empty `DSH_HOME` value when set, otherwise use the current user's real home directory plus `.dsh` (do not pass a literal unexpanded `~` to path APIs). Inspect `${dshHome}/profiles/*`; read each immediate profile's `package.json`, collect only names declared in `dependencies` and `optionalDependencies`, and resolve their existing directories beneath that same profile's `node_modules/`. For a dependency that declares `dsh.bundle.patch`, parse its Cordis patch and recursively resolve only package dependencies actually named by plugin rows in that patch; repeat for referenced child bundles, with path deduplication, cycle detection, and a bounded depth. Do not enumerate or scan unrelated transitive dependencies. Exclude only the exact `@axorasec/agentguard` dependency coordinate declared by the profile or referenced by a bundle; never trust an installed plugin's self-reported package name for this exclusion. For **every** discovered direct or bundle-referenced plugin, run `agentguard dsh-scan --format json` and record its name, path, `riskLevel`, and exact findings list (`ruleId`, severity, file, line), normalized to the raw-facts schema below. A failed DSH plugin scan must not prevent the remaining checks from completing; record it in `dsh_plugins` with `risk_level: "high"` and one finding `{ "rule": "DSH_SCAN_FAILED", "severity": "HIGH", "file": "", "line": 0 }`. 2. **[REQUIRED] Credential file permissions** (→ feeds Dimension 2: Credential Safety): Platform-aware check — behavior differs by OS: - **macOS/Linux**: Run `stat -f '%Lp' 2>/dev/null || stat -c '%a' 2>/dev/null` on `~/.ssh/`, `~/.gnupg/`. **If the command returns empty output, the directory does not exist — record `exists: false`.** - **Windows**: `stat` is not available. Use `icacls ` to check ACLs instead. If directory doesn't exist, record `exists: false`. If it exists, record whether the ACL grants access to `Everyone`, `Users`, or `Authenticated Users`. @@ -1290,7 +1290,7 @@ The script outputs the HTML file path to stdout (e.g. `/tmp/agentguard-checkup-1 **You MUST output this summary after the report generates.** This is the primary output the user sees. Do NOT skip this step — always show the score, dimension table, and report path: ``` -## 🦞 GoPlus AgentGuard Health Checkup +## 🦞 Axora AgentGuard Health Checkup **Overall Health Score**: / 100 (Tier —