dumbtv
dumbtv가 ADB로 Fire TV에서 광고·추적·업데이트 알림을 제거, 루트·앱 변경 없이, 무료 오픈소스
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A 5-minute safety scanner for AI agent repos, MCP configs, local automation notes, and risky GitHub Actions permissions.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Read this in your language: English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português | Русский | العربية | हिन्दी | Bahasa Indonesia 5-minute safety scanner for AI agent repos, MCP configs, local automation notes, and risky GitHub Actions permissions. agent-secret-guard is a 5-minute safety check for agent-era repos. It looks for the places normal secret scanners often miss: MCP command args, AI coding rules, local automation notes, browser profile paths, credential store references, and over-permissive GitHub Actions workflows.README 전문 보기 ↗
Read this in your language: English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português | Русский | العربية | हिन्दी | Bahasa Indonesia
5-minute safety scanner for AI agent repos, MCP configs, local automation notes, and risky GitHub Actions permissions.
agent-secret-guard is a 5-minute safety check for agent-era repos. It looks for the places normal secret scanners often miss: MCP command args, AI coding rules, local automation notes, browser profile paths, credential store references, and over-permissive GitHub Actions workflows.
Use it before you publish an AI agent, share a local automation repo, ask a coding agent to work near real credentials, or open a pull request that touches CI/CD environment variables.
Need a quick asset map before sharing a repo? Start with docs/agent-surface-inventory.md.
Need a human launch-readiness check? I offer a focused AI Agent Repo Safety Audit for agent, MCP, GitHub Actions, and local automation repositories. See the sample report and outreach kit.
Good first checks:
npx agent-secret-guard scan . --fail-on high| Area | Details |
|---|---|
| For | Maintainers preparing AI-agent, MCP or local automation repositories for review or sharing. |
| Coverage | Secret-like values, MCP arguments, broad access, browser/credential references and GitHub Actions permissions. |
| Workflow | Run a local scan, inspect each finding and apply a targeted fix; use a severity threshold in CI. |
| Start | Quick start · Fix guide · Action wrapper |
AI coding agents and MCP servers make local automation faster, but they also move secrets into new places:
args, where they can leak into process listings and logs.agent-secret-guard turns those patterns into concrete findings with a short explanation and a safer replacement.
Run the local check:
npx agent-secret-guard scan
Fail CI when high or critical findings are present:
npx agent-secret-guard scan . --fail-on high
Print machine-readable output:
npx agent-secret-guard scan . --format json
Generate SARIF for GitHub Code Scanning:
npx agent-secret-guard scan . --format sarif --output agent-secret-guard.sarif --fail-on high
Prefer a copyable workflow? Use the dedicated agent-secret-guard-action wrapper for a short Marketplace setup path.
| Goal | Start here |
|---|---|
| Check a local repo before commit or PR | npx agent-secret-guard scan . --fail-on high |
| Add a short GitHub Actions setup | Use the agent-secret-guard-action wrapper or copy examples/ci/agent-secret-guard.yml. |
| See one safe example and one failing example | Start with examples/safe and examples/unsafe. |
| Compare it with broader secret scanners | Read docs/comparison.md. |
| Fix findings safely after a scan | Start with docs/remediation.md. |
Typical text output:
HIGH mcp-token-in-args .mcp.json:6
MCP args include --token. Move the value to an environment variable or secret store.
| Risk | Why it matters |
|---|---|
MCP tokens in args | Command-line args can leak through process listings, logs, shell history, and agent transcripts. |
| Hardcoded API keys and package tokens | Agent context, commits, package tarballs, and logs can spread the value further. |
| Broad filesystem roots | Giving an agent /, C:\, /Users, or C:\Users makes accidental data exposure more likely. |
| Dangerous shell commands | Agents may run copied setup commands without human-level caution. |
| Browser profile exposure | Personal profiles can contain cookies, sessions, history, and autofill data. |
| Credential store exposure | Local token stores can unlock services far outside the project. |
| GitHub Actions over-permission | Broad workflow tokens can turn a compromised build step into write access. |
Unsafe MCP config:
{
"mcpServers": {
"demo": {
"command": "npx",
"args": ["demo-mcp", "--token", "<real-service-token>"]
}
}
}
Safer config:
{
"mcpServers": {
"demo": {
"command": "npx",
"args": ["demo-mcp"],
"env": {
"DEMO_API_KEY": "${DEMO_API_KEY}"
}
}
}
}
The examples directory contains copyable safe patterns and intentionally unsafe fixtures:
examples/safe uses environment-variable injection and a scoped workspace path.examples/unsafe contains risky MCP args and agent instructions for scanner tests.examples/ci/agent-secret-guard.yml shows a minimal GitHub Actions integration.Try the safe fixture:
npx agent-secret-guard scan examples/safe --fail-on high
The unsafe fixture is excluded from normal repository scans. To test the failure path explicitly, override the exclusion:
npx agent-secret-guard scan examples/unsafe --fail-on critical --exclude never-match
Create .github/workflows/agent-secret-guard.yml:
name: Agent Secret Guard
on:
pull_request:
push:
branches: [main]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aolingge/[email protected]
with:
fail-on: high
To upload findings to GitHub Code Scanning:
name: Agent Secret Guard
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
security-events: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aolingge/[email protected]
with:
fail-on: high
format: sarif
output: agent-secret-guard.sarif
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: agent-secret-guard.sarif
Install pre-commit and add this to .pre-commit-config.yaml:
repos:
- repo: https://github.com/aolingge/agent-secret-guard
rev: v0.2.3
hooks:
- id: agent-secret-guard
Then run:
pre-commit install
By default, the CLI scans:
.env, .env.*.mcp.json, mcp.json, settings.json.cursor/mcp.json, .vscode/mcp.json, .claude/settings.json, .codex/config.toml.npmrc, .pypirc.cursorrules, .windsurfrules, .cursor/rules/*.mdcAGENTS.md, CLAUDE.md, GEMINI.md, CODEX.md, README.mddocker-compose.yml, docker-compose.yaml.github/workflows/*.yml, .github/workflows/*.yamlIt skips common generated folders such as .git, node_modules, dist, coverage, .next, .turbo, and .cache.
Create .agent-secret-guard.json to exclude known fixtures or generated examples:
{
"exclude": ["examples/unsafe/**"]
}
You can also pass exclusions at runtime:
npx agent-secret-guard scan . --exclude examples/unsafe/**
agent-secret-guard is not a replacement for GitHub Secret Scanning, GitGuardian, gitleaks, or TruffleHog. Use those too.
This tool focuses on agent-specific configuration risks that are easy to miss in normal secret scanning: MCP command args, browser profile exposure, credential store paths, broad filesystem roots, and dangerous automation instructions.
See docs/comparison.md for a practical comparison with other scanners.
The CLI scans local files and prints local reports. It does not call a remote service, upload findings, or verify credentials against providers. Findings are redacted where possible, but SARIF/JSON/text reports may still contain private file paths and surrounding evidence, so treat reports as sensitive artifacts.
See docs/privacy.md for the full data-handling note.
Found something? Start with docs/remediation.md. It explains how to rotate exposed tokens, move MCP secrets into environment variables, narrow filesystem access, and harden GitHub Actions permissions.
If you want to list what an agent can reach before it becomes a finding, use docs/agent-surface-inventory.md.
npm install
npm test
npm run build
npm run lint
Run the local build:
npm run build
node dist/cli.js scan examples/unsafe --fail-on high
Future npm releases are designed to run through GitHub Actions Trusted Publishing, so maintainers do not need to keep entering local npm 2FA prompts. See docs/publishing.md.
Maintainer automation, branch protection, Dependabot auto-merge, and repository health checks are documented in docs/github-maintenance.md.
Maintainers can use docs/launch-kit.md for release notes, X/LinkedIn/Reddit copy, and a short demo script. Chinese launch copy is available in docs/launch-kit.zh-CN.md.
Use docs/growth-checklist.md before a public launch. It keeps the repository page, npm page, demo, release notes, and community posts aligned around one narrow promise.
This repository includes a composite action for direct use from GitHub Actions. The dedicated Marketplace wrapper is aolingge/agent-secret-guard-action; see docs/marketplace-action.md for the wrapper layout and release checklist.
This tool reports suspicious values and tries to redact secret evidence. Do not paste full scan output into public issues if it contains private paths or unredacted material. See SECURITY.md.
MIT
Need the right path for feedback or fixes?
If this project saves you time, you can support future maintenance here: Buy Me a Coffee.