
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
Audits your AI coding agent setup before it can damage your repo. 55 hooks · 1989 skills · 101 agents · Claude Code + Codex compatible.
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 · 🇰🇷 한국어 · 🇨🇳 中文
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.
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.
yana-ai doctor . # checks hook wiring, config integrity, gate health
yana-ai audit . # scans your repo's agent config for risky setup
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
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
| phamlongh230@gmail.com | |
| Website | yanacuti1121.github.io/Yana-AI |
| GitHub | yanacuti1121/Yana-AI |
| Yana | yanai-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.
FAQs
Audits your AI coding agent setup before it can damage your repo. 55 hooks · 1989 skills · 101 agents · Claude Code + Codex compatible.
The npm package yana-ai receives a total of 27 weekly downloads. As such, yana-ai popularity was classified as not popular.
We found that yana-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.