Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
PluginCẩn thậnĐăng nhập & bảo mậtCần cài đặt chút

sage

gendigitalinc · gendigitalinc/sage

Plugin này hoạt động như một lớp bảo mật cho các tác nhân AI, chặn các lệnh gọi công cụ như lệnh shell, ghi tệp và yêu cầu web để bảo vệ chống lại các hành động nguy hiểm.

An toàn cho Agents — Phát hiện & Phản hồi Agent (ADR) cho các trợ lý mã hóa AI. Sage là một lớp bảo mật nhẹ bảo vệ các AI agent khỏi thực thi các hành động nguy hiểm. Nó chặn các lệnh gọi công cụ — lệnh shell, lấy URL, ghi tệp — và kiểm tra chúng qua nhiều lớp phát hiện mối đe dọa trước khi chúng chạy.

310 sao31Giấy phép: Apache-2.0Cập nhật tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Ngăn chặn tác nhân AI thực thi các lệnh shell độc hại.
  • Phát hiện và chặn quyền truy cập vào các URL chứa phần mềm độc hại hoặc lừa đảo do tác nhân khởi tạo.
  • Quét các plugin đã cài đặt để tìm các mối đe dọa tiềm ẩn khi bắt đầu phiên tác nhân.

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Đọc file chứa thông tin đăng nhập (SSH key, token cloud hoặc npm).skills/security-awareness/SKILL.md
  • ●Bảo agent tải và chạy một script từ xa.skills/security-awareness/SKILL.md

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

Sage

Safety for Agents — Agent Detection & Response for AI coding assistants


Sage is a lightweight security layer that protects AI agents from executing dangerous actions. It intercepts tool calls — shell commands, URL fetches, file writes — and checks them against multiple threat detection layers before they run.

Note: Sage may appear under a different product name (e.g., Norton Sage, Avast Sage) depending on how it was installed. See Branding for details.

Key Features

  • URL reputation — cloud-based detection of malware, phishing, and scam URLs
  • Local heuristics — 300+ YAML-based threat patterns for dangerous commands, suspicious URLs, credential exposure, and obfuscation
  • Prompt injection detection — two-tier defense (heuristics + fine-tuned ML model) against injected instructions in fetched content. See Prompt Injection
  • Package supply-chain checks — registry existence, file reputation, and age analysis for npm/PyPI packages
  • Plugin scanning — scans installed plugins for threats at session start
  • AMSI integration — Windows Antimalware Scan Interface support (Windows + WSL via PowerShell interop; no-op on macOS and non-WSL Linux)

Quick Start

Visit ai.gendigital.com/sage for the latest installation instructions, or use the platform-specific guides below.

Claude Code — install guide · requires Node.js >= 18

/plugin marketplace add https://github.com/gendigitalinc/sage.git
/plugin install sage@sage

Cursor — install guide · install the Gen Sage extension from the marketplace

VS Code — install guide · install the Gen Sage extension from the marketplace

OpenClaw — install guide · install from npm

openclaw plugins install @gendigital/sage-openclaw

OpenCode — install from npm by adding to ~/.config/opencode/opencode.json:

{
  "plugin": ["@gendigital/sage-opencode"]
}

See the User Guide for detailed instructions, configuration, and troubleshooting.

Privacy

For privacy considerations, please refer to Privacy.

Documentation

DocumentDescription
User GuideInstallation, usage, configuration, exceptions, platform guides, privacy, FAQ
Developer GuideArchitecture, development setup, testing, threat rule format
Prompt InjectionML + heuristic prompt injection detection
Package Protectionnpm/PyPI supply-chain checks
AMSI ScanningWindows antimalware scanning via AMSI
Plugin ScanningSession-start plugin scanning
Audit LogOn-disk JSONL schema (entries, signals, content)
MCP ServerShared MCP server architecture
Decision PipelineSignal sources, policy model, evaluation order
BrandingProduct name configuration

Contributing

See CONTRIBUTING.md for development setup, coding conventions, and the threat rule contribution process.

License

Copyright 2026 Gen Digital Inc.

Xem mã nguồn trên GitHub