safe-anything, an MIT-licensed command-line scanner that checks code, secrets, config, dependencies and AI agent setups for known vulnerability patternssafe-anything, 코드 · 비밀 값 · 설정 · 의존성과 AI 에이전트 설정에서 알려진 취약 패턴을 찾는 MIT 라이선스 명령줄 스캐너
safe-anything is an MIT-licensed scanner whose single command looks for code vulnerabilities, leaked secrets, risky mobile and cloud config, vulnerable dependencies and risky AI agent setups, and shows the line, the reason and the fix. It runs on macOS, Linux and Windows, and its only network call is the dependency check, which sends package names, ecosystems and versions from lockfiles to OSV.dev and can be turned off with --offline. The README says it finds known patterns and that a clean scan does not mean the code is safe.safe-anything은 명령 하나로 코드 취약점, 새어 나간 비밀 값, 위험한 모바일 · 클라우드 설정, 취약한 의존성, AI 에이전트 설정을 훑어 줄과 까닭과 고치는 법을 보여 주는 MIT 라이선스 스캐너입니다. macOS · Linux · Windows에서 돌고, 네트워크로 나가는 것은 잠금 파일의 패키지 이름 · 생태계 · 버전을 OSV.dev에 보내는 의존성 확인 하나이며 --offline으로 끌 수 있습니다. README는 알려진 패턴을 찾는 도구이고, 깨끗한 결과가 코드가 안전하다는 뜻은 아니라고 적었습니다.
- Checked확인일
safe-anything is an MIT-licensed scanner whose single command looks for code vulnerabilities such as SQL injection and XSS, leaked secrets, risky mobile and cloud config, vulnerable dependencies and risky AI agent setups, and shows the line, the reason and the fix. It executes nothing; its only network call, the dependency check, sends package names, ecosystems and versions from lockfiles to the OSV.dev API run by Google, with no code, paths or file contents, and --offline turns it off.safe-anything은 명령 하나로 코드의 SQL 주입 · XSS 같은 취약점, 새어 나간 비밀 값, 위험한 모바일 · 클라우드 설정, 취약한 의존성, AI 에이전트 설정을 훑어 줄과 까닭과 고치는 법을 보여 주는 MIT 라이선스 스캐너입니다. 아무것도 실행하지 않고, 하나 있는 네트워크 호출인 의존성 확인은 잠금 파일의 패키지 이름 · 생태계 · 버전을 OSV.dev API(Google 운영)에 보내고 코드 · 경로 · 파일 내용은 보내지 않습니다. --offline이 이 호출을 끕니다.
There are native binaries for macOS, Linux and Windows, it runs with cargo install safe-anything or npx safe-anything ., and it needs no config, account or upload. It exits with 1 when something high or critical is found, so it works as a pre-commit or CI check, and the secrets it finds are redacted in terminal, JSON, SARIF and MCP output. The README says it finds known patterns and does not trace data through a program, and that a clean scan means none of its listed problems were found, not that the code is safe.macOS · Linux · Windows용 네이티브 실행 파일이 있고 cargo install safe-anything이나 npx safe-anything .으로 돌리며, 설정 · 계정 · 업로드는 필요 없습니다. high나 critical이 나오면 종료 코드 1을 내 커밋 전 검사나 CI에 넣을 수 있고, 찾은 비밀 값은 터미널 · JSON · SARIF · MCP 출력에서 가려집니다. README는 알려진 패턴을 찾는 도구라 데이터가 프로그램을 흐르는 길은 따라가지 않고, 깨끗한 결과는 정해진 문제가 없었다는 뜻이지 코드가 안전하다는 뜻이 아니라고 적었습니다.
Code rules cover JS/TS, Python, Go, Java, Kotlin, PHP, Ruby, C# and SQL, looking for injection, XSS, eval, path traversal, SSRF, unsafe deserialization, TLS checks turned off and more. Secrets include AWS, GitHub, Slack, Stripe, OpenAI, Anthropic and Google keys, private keys, passwords in code, committed .env files and values behind public prefixes such as NEXT_PUBLIC_ or VITE_ that ship in the client bundle. In agent setups it looks at bypassPermissions, pre-approved Bash, unpinned MCP servers, MCP tokens in plain text, curl | sh in hooks and skills, skills that read ~/.ssh or cloud credentials, invisible Unicode and more.코드 규칙은 JS/TS · Python · Go · Java · Kotlin · PHP · Ruby · C#과 SQL에서 주입, XSS, eval, 경로 조작, SSRF, 안전하지 않은 역직렬화, 꺼진 TLS 확인 등을 찾습니다. 비밀 값은 AWS · GitHub · Slack · Stripe · OpenAI · Anthropic · Google 키와 개인 키, 코드 속 비밀번호, 커밋된 .env, NEXT_PUBLIC_ · VITE_ 같은 공개 접두사 뒤에서 클라이언트에 실려 나가는 값 등입니다. 에이전트 설정은 bypassPermissions, 미리 허락한 Bash, 버전을 고정하지 않은 MCP 서버, 평문 MCP 토큰, 훅과 스킬의 curl | sh, ~/.ssh나 클라우드 자격 증명을 읽는 스킬, 보이지 않는 Unicode 등을 봅니다.
It matches the locked versions in files such as package-lock.json, Cargo.lock and go.mod against OSV.dev and names the nearest fixed version, and also scans Docker, GitHub Actions, Kubernetes, Terraform, nginx, Android and iOS settings. The --json flag gives a machine-readable report, --sarif feeds GitHub code scanning and --fail-on sets the severity that stops a run. As an MCP server it lets an agent scan before it commits and before someone else’s skill or MCP server is installed, and there is also a Claude Code plugin with a skill for triaging and fixing findings, and a GitHub Action.package-lock.json · Cargo.lock · go.mod 등에 적힌 버전을 OSV.dev와 맞춰 가장 가까운 고친 버전을 알려 주고, Docker · GitHub Actions · Kubernetes · Terraform · nginx와 Android · iOS 설정도 훑습니다. --json은 기계가 읽는 보고, --sarif는 GitHub 코드 스캔용, --fail-on은 멈출 등급을 정합니다. MCP 서버로 붙이면 에이전트가 커밋 전이나 남의 스킬 · MCP 서버를 깔기 전에 훑을 수 있고, 결과를 가려내고 고치는 스킬이 든 Claude Code 플러그인과 GitHub Action도 있습니다.

The README measurements come from a build with --offline on an Apple M4 on 2026-11-22, with every finding read by hand. OWASP Juice Shop, vulnerable on purpose, gave 67 findings in 1,195 files (2 to 3 false positives), expressjs/express 0 in 216 and pallets/flask 2 in 231, both false positives in practice.README의 측정은 Apple M4에서 2026-11-22에 --offline 릴리스 빌드로 하고 결과를 손으로 다 읽은 것입니다. 일부러 취약하게 만든 OWASP Juice Shop은 파일 1,195개에서 67건(오탐 2~3건), expressjs/express는 216개에서 0건, pallets/flask는 231개에서 2건(둘 다 실제로는 오탐)이었습니다.
The code is under the MIT License and comes from crates.io and npm. It respects .gitignore, takes more paths to skip in .safe-anything-ignore, and a safe-anything:ignore comment silences that line or the next one.코드는 MIT 라이선스이고 crates.io와 npm에서 받습니다. .gitignore를 따르고 .safe-anything-ignore에 더 뺄 경로를 적으며, 주석의 safe-anything:ignore는 그 줄이나 다음 줄을 조용하게 합니다.
Folders such as node_modules, vendor, dist and build, files over 2 MB (lockfiles included), minified JS, *.map, *.jsonl and *.log files and binary files are never scanned, and *.lock files get only the dependency check. In tests and fixtures, only real provider keys and private keys count unless --include-tests is passed. The noisiest rule is code.xss-inner-html, which fires on any HTML built from a variable.node_modules · vendor · dist · build 같은 폴더, 2 MB를 넘는 파일(잠금 파일 포함), 최소화한 JS, *.map · *.jsonl · *.log, 바이너리 파일은 훑지 않고 *.lock 파일은 의존성 확인만 합니다. 테스트와 견본에서는 --include-tests 없이는 실제 제공자 키와 개인 키만 셉니다. 가장 시끄러운 규칙은 변수로 만든 HTML마다 걸리는 code.xss-inner-html입니다.
HREN


