
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Claude Code, Codex CLI, Gemini CLI, Grok Build 및 Antigravity에 대한 Skarn 플러그인 : 감사 기술, 가드 훅 및 MCP는 AI 코딩 세션의 비밀과 자격 증명을 찾는 선언 ...
개요
Skarn 가드는 pre-execution 후크입니다. 에이전트가 쉘 명령을 실행하기 전에, 패치를 적용하고, URL을 쓰기, MCP 도구를 호출, 또는 프롬프트를 보내, Skarn 검출 엔진은 deny를 반환, 요청, 또는 허용. 그것은 로컬로 스캔하고 네트워크 통화를하지 않고 인쇄 할 수 없습니다. skarn 바이너리를 먼저 설치; 모든 후크는 PATH에 skarn 가드를 호출합니다. 단추는 국부적으로 MCP 서버를 추가합니다; 테이블은 감시를 설치합니다. 두 버튼은 skarn로 서버를 등록하고 PATH에서 skarn mcp를 실행하므로 먼저 바이너리를 설치하십시오. 설치하지 않을 경우, pinned launcher form은 Node Present: Cursor 또는 VS Code와 함께 작동합니다. 처음 실행중인 @skarn-security/[email protected]을 다운로드하고 npx cache afterward를 재사용합니다. 새로운 Skarn은 더 새로운 링크가 필요합니다. 둘 다 감시 플러그인은 skarn-audit 기술을 나릅니다.
개요(AI 번역)
Skarn 가드는 pre-execution 후크입니다. 에이전트가 쉘 명령을 실행하기 전에, 패치를 적용하고, URL을 쓰기, MCP 도구를 호출, 또는 프롬프트를 보내, Skarn 검출 엔진은 deny를 반환, 요청, 또는 허용. 그것은 로컬로 스캔하고 네트워크 통화를하지 않고 인쇄 할 수 없습니다.
설치
skarn 바이너리를 먼저 설치; 모든 후크 호출 skarn guard PATH에.
단추는 국부적으로 MCP 서버를 추가합니다; 테이블은 감시를 설치합니다.
버튼 모두 skarn로 서버를 등록하고 PATH에서 skarn mcp]를 실행하므로 먼저 이진을 설치하십시오. 설치하지 않을 경우, pinned launcher 양식은 Node present: Cursor 또는 VS Code - 첫 번째 실행에 @skarn-security/[email protected]을 다운로드하고 npx 캐시를 재사용합니다. 더 새로운 Skarn은 더 새로운 링크를 필요로합니다.
| 호스트 | 명령 | 동굴 |
인포메이션
| 클로드 코드 | [T5] claude plugin install skarn-guard@skarn | 후크는 다음 세션에 살고, 실행되지 않습니다. ·
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Skarn guard: agent plugins
The Skarn guard is a pre-execution hook: before your agent runs a shell command, applies a patch, writes a file, fetches a URL, calls an MCP tool, or sends a prompt, the Skarn detection engine returns deny, ask, or allow. It scans locally, makes no network call, and prints no raw secret.
Install
Install the skarn binary first; every hook calls skarn guard on PATH.
brew install skarn-security/tap/skarn
The buttons add the local MCP server; the table installs the guard.
Both buttons register the server as skarn and run skarn mcp from your PATH, so install the binary first. If you would rather not install it, the pinned launcher form works with only Node present: Cursor or VS Code - it downloads @skarn-security/[email protected] on first run and reuses the npx cache afterward; a newer Skarn needs a newer link.
| Host | Commands | Caveat |
|---|---|---|
| Claude Code | claude plugin marketplace add skarn-security/agent-guard``claude plugin install skarn-guard@skarn |
The hooks are live in your next session, not the running one. |
| Codex CLI | codex plugin marketplace add skarn-security/agent-guard``codex plugin add skarn-guard-codex@skarn |
Choose “Trust all and continue” at the “Hooks need review” prompt, or the hooks stay off. A hook change asks again. |
| Gemini CLI | gemini extensions install https://github.com/skarn-security/agent-guard |
The root is itself the Gemini extension, because Google’s installer reads the manifest there, and carries the same hooks, skill, and MCP server. Install asks for consent and folder trust; answer both. |
| Antigravity CLI | git clone https://github.com/skarn-security/agent-guard``agy plugin install agent-guard/antigravity |
Fails closed; see Safety. |
설치
npx -y @skarn-security/[email protected] mcp설정
{
"mcpServers": {
"skarn": {
"command": "skarn",
"args": ["mcp"]
}
}
}