Skip to content

Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups.

release: 1.0.2

Kam829321c83740
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 133fd48..41368cb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## Unreleased
+## 1.0.2 (2026-11-23)
+
+- README: GIFs of a real Next.js finding (a password behind `NEXT_PUBLIC_`) and of a clean scan of express.
+
## 1.0.1 (2026-11-22)
- README and package pages name XSS and SQL injection up front.
diff --git a/Cargo.lock b/Cargo.lock
index 2361b60..63c281c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -644,7 +644,7 @@ dependencies = [
[[package]]
name = "safe-anything"
-version = "1.0.1"
+version = "1.0.2"
dependencies = [
"clap",
"ignore",
diff --git a/Cargo.toml b/Cargo.toml
index 6934cf8..6c3ecd6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "safe-anything"
-version = "1.0.1"
+version = "1.0.2"
edition = "2024"
description = "Find vulnerabilities in any app, and in the AI agent setup that builds it. One fast command, 100% Rust."
license = "MIT"
diff --git a/README.md b/README.md
index 2dc285e..0311e86 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,12 @@ The full list is in [docs/rules.md](docs/rules.md).
| **Config** | Docker (unpinned base, root, secrets in `ENV`, `ADD <url>`), GitHub Actions (`pull_request_target`, `write-all`, actions on `@main`, script injection from PR titles), privileged containers, `hostNetwork`, open Terraform ingress, public buckets, nginx autoindex, TLS 1.0/1.1 |
| **Dependencies** | every locked version in `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, `Cargo.lock`, `requirements*.txt`, `poetry.lock`, `uv.lock`, `go.mod`, `Gemfile.lock` and `composer.lock`, checked against [OSV.dev](https://osv.dev), with the nearest fixed version |
+<p align="center">
+ <img src="docs/assets/nextjs-public-env.gif" alt="safe-anything on the with-mqtt-js example from the Next.js repository: 2 high findings, an MQTT password read from a NEXT_PUBLIC_ variable in app/page.tsx and environment.d.ts, which Next.js ships in the client bundle." width="820">
+ <br>
+ <sub>Of the 73 <a href="https://github.com/vercel/next.js/tree/canary/examples">Next.js examples</a> that come with env files, scanned one by one, the env checks flag one: a password behind <code>NEXT_PUBLIC_</code>.</sub>
+</p>
+
## For AI agents
safe-anything is also an MCP server, so your agent can scan before it commits, and before you
@@ -113,7 +119,7 @@ Tools: `scan` (path, offline, severity, include_tests) and `list_rules`. The ski
## In CI
```yaml
-- uses: erkamyaman/[email protected]
+- uses: erkamyaman/[email protected]
with:
fail-on: high
- uses: github/codeql-action/upload-sarif@v4
@@ -142,6 +148,12 @@ doing.
| [rust-anything](https://github.com/erkamyaman/rust-anything) | 3,134 | 6 | `innerHTML` in GIF demo pages (5), an action on `@master` |
| safe-anything itself | 53 | 0 | checked in CI on every push |
+<p align="center">
+ <img src="docs/assets/express-clean.gif" alt="safe-anything on expressjs/express: no problems found, 216 files scanned in 0.03 s." width="820">
+ <br>
+ <sub>Quiet on good code: expressjs/express, 216 files, no findings.</sub>
+</p>
+
The noisiest rule is `code.xss-inner-html`: it fires on any HTML built from a variable, and most of
those in local tooling are not reachable by an attacker. It stays on, because real XSS looks the
same. Status per family: [docs/STATUS.md](docs/STATUS.md).
diff --git a/action.yml b/action.yml
index ed5504d..fe22d22 100644
--- a/action.yml
+++ b/action.yml
@@ -8,7 +8,7 @@ inputs:
description: Folder to scan
default: "."
version:
- description: safe-anything version (a release tag such as v1.0.1, or latest)
+ description: safe-anything version (a release tag such as v1.0.2, or latest)
default: latest
severity:
description: Lowest severity to report (low, medium, high, critical)
diff --git a/docs/assets/express-clean.gif b/docs/assets/express-clean.gif
new file mode 100644
index 0000000..9725712
Binary files /dev/null and b/docs/assets/express-clean.gif differ
diff --git a/docs/assets/nextjs-public-env.gif b/docs/assets/nextjs-public-env.gif
new file mode 100644
index 0000000..f3d0cb6
Binary files /dev/null and b/docs/assets/nextjs-public-env.gif differ
diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json
index 2b6c9f0..d01abfb 100644
--- a/plugin/.claude-plugin/plugin.json
+++ b/plugin/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "safe-anything",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Find the holes before someone else does: scan code, secrets, mobile and cloud config, dependencies and the AI agent setup around them, from Claude Code over MCP.",
"author": {
"name": "Erkam Yaman",
diff --git a/server.json b/server.json
index aca013e..546903e 100644
--- a/server.json
+++ b/server.json
@@ -8,13 +8,13 @@
"source": "github"
},
"websiteUrl": "https://github.com/erkamyaman/safe-anything",
- "version": "1.0.1",
+ "version": "1.0.2",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "safe-anything",
- "version": "1.0.1",
+ "version": "1.0.2",
"runtimeHint": "npx",
"transport": {
"type": "stdio"