🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

yana-ai

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

yana-ai

Audits your AI coding agent setup before it can damage your repo. 55 hooks · 1989 skills · 101 agents · Claude Code + Codex compatible.

latest
Source
npmnpm
Version
0.43.1
Version published
Weekly downloads
32
10.34%
Maintainers
1
Weekly downloads
 
Created
Source

Yana AI

A safety firewall between your AI coding agent and your shell.

Built by Vũ Văn Tâm · 17 · Vietnam

English · 🇻🇳 Tiếng Việt · 🇰🇷 한국어 · 🇨🇳 中文

CI

Your agent tries something dangerous. Yana intercepts it, explains why, and logs it. Works with Claude Code, Cursor, Windsurf, Antigravity, Kiro, OpenCode, Zed, Gemini, GitHub Copilot, Aider, and more.

npm install -g yana-ai && npx yana-ai-install   # wire the hooks (60 seconds)

Then ask your agent to misbehave, and watch. Every example below is copy-pasted from a real, live-tested run of core/hooks/guard-destructive.sh on 2026-07-04, not aspirational copy (see Known Limitations for what this guard does not yet catch):

# Agent tries: git push --force origin main
Blocked: 'git push --force' (any flag spelling) is not allowed. The
orchestrator pushes branches; force-pushing risks overwriting shared history.

# Agent tries: rm -rf /some/path
Blocked: 'rm -rf' (recursive + force, any flag spelling) is irreversible.
Use targeted 'rm' with explicit paths, or ask the human to confirm first.

# Agent tries: git clean -f
Blocked: 'git clean -f' (any flag spelling) permanently deletes untracked
files. Ask the human to confirm before running this.

That is the whole pitch: deterministic rules, runs locally, no LLM in the decision path, nothing leaves your machine.

What it catches

Destructive git operations, rm outside the workspace, piping the internet into bash, and unvetted package installs, via 55 agent hooks backed by a Rust runtime (yana-rt). Under the hood: 101 specialist agents, 1,989 skills, and 70 enforced rules, checked 826 ways in CI. See the architecture reference for the full gate-by-gate breakdown.

Verify it's working

yana-ai doctor .      # checks hook wiring, config integrity, gate health
yana-ai audit .       # scans your repo's agent config for risky setup

Beyond the firewall

The engine also ships a CLI with a task router, mission dispatcher, and multi-agent launcher, a GitHub Action for scanning every PR, and Yana, a chat UI built on the same core.

Full documentation & demo · Architecture · Vision · Roadmap · Versioning

Honest limits

Rules are deterministic patterns: they catch known-dangerous shapes, not novel attacks. Full details, including what is documented policy versus what is actually wired today, live in Known Limitations. If a gate blocks too much or too little, open an issue; real-world reports are how the gates get sharper.

Vũ Văn Tâm · Vietnam · 17

Emailphamlongh230@gmail.com
Websiteyanacuti1121.github.io/Yana-AI
GitHubyanacuti1121/Yana-AI
Yanayanai-production.up.railway.app

Apache-2.0. Built on ideas, patterns, and tooling from the open-source community, including projects licensed under Apache 2.0, MIT, and other permissive licenses, all used in compliance with their respective licenses. Where specific projects directly influenced design decisions, they are credited in the relevant source files and rule documentation.

Keywords

ai-agent

FAQs

Package last updated on 05 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts