Find the holes before someone else does. A fast, 100% Rust vulnerability scanner: XSS, SQL injection, leaked secrets, dependency CVEs and AI agent setups.
Rust ai-agentsclaude-codeclaude-code-pluginclicodexcursordevsecopsmcposvowasprustsastsecret-scanningsecretssecuritysecurity-scannersql-injectionvulnerabilityvulnerability-scannerxss
Changelog
Unreleased
- Secrets:
secret.dockerhub-token,secret.groq-key,secret.perplexity-key,secret.mailgun-key,secret.sendgrid-key, andsecret.digitalocean-tokennow report tokens that come right after an escaped newline, tab or carriage return in a quoted string ("line\ndckr_pat_...","line\ngsk_...", etc.) (#252, #253, #254, #256, #257, #258, #261 by @OnurrUgur). - Code:
code.sql-injectionnow reads each string literal to its real closing quote in JavaScript, TypeScript, PHP, Ruby and Go, so"... WHERE name = '" + name + "'"and PHP'... WHERE id = \'' . $id . '\''are reported. It also reports Ruby+concatenation, Go concatenation outsideQuery/Exec(db.Prepare, gormRaw), PHP(string)$xcasts, and concatenated clauses passed towhereRaw,where,literal,rawand the like. Placeholders, constants, numeric casts (Number(),parseInt(),.to_i,strconv.Itoa), Go%dand known quoting helpers (escapeIdentifier,escapeId,quoteIdentifier,quote_column_name,pq.QuoteIdentifier) stay quiet. - SARIF:
code.evalrules are also tagged with the parent CWE-94 andcode.insecure-randomwith CWE-330, next to CWE-95 and CWE-338.--list-rules --jsonhas them ascwe_parent;cweis unchanged. - Secrets:
secret.rubygems-tokennow reports a key that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nrubygems_..."). - Secrets:
secret.grafana-tokennow reports a token that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nglsa_..."). - Secrets:
secret.supabase-tokennow reports a token that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nsbp_..."). - Secrets:
secret.pulumi-tokennow reports a token that comes right after an escaped newline, tab or carriage return in a quoted string ("line\npul-..."). - Secrets:
secret.npm-tokennow reports a token that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nnpm_..."). - Code:
code.sql-injectionnow also reports Scala triple-quoted interpolations on one line (s"""SELECT id FROM users WHERE id = $id"""), whilesql"""..."""stays quiet. - Agent:
agent.mcp-insecure-urlnow also checks Gemini CLI'shttpUrlfield and plain WebSocket (ws://) URLs, strips RFC 3986 userinfo (user:pass@) before checking the host so URLs likehttp://localhost:[email protected]andhttp://[::1]@evil.exampledo not look local, and treatslocalhostcase-insensitively and before?or#. - Config:
config.remote-scriptnow reports a download piped into a shell that is named by its path or started throughenv(| /bin/bash,| /usr/bin/env bash,| env sh), includingsudo /bin/bash. - Config:
config.remote-scriptnow reports process substitution into a shell (bash <(curl ...),source <(curl ...),. <(wget ...)), whilediff <(curl ...),cat <(curl ...)andbash <(cat ...)stay quiet. - Config:
config.remote-scriptnow reportsiex (irm ...),Invoke-Expression (Invoke-RestMethod ...)andiex ((New-Object System.Net.WebClient).DownloadString(...)), whileiex (Get-Content ...)stays quiet. - Code:
code.sql-injectionnow reports Scalasandfinterpolations in a query (s"SELECT id FROM users WHERE id = $id",${id}), in.scalaand.scfiles only. Thesql"..."interpolator (Slick, doobie), which binds its holes as parameters, and an escaped\$stay quiet. - Secrets:
secret.linear-api-keynow reports a key that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nlin_api_..."). - Secrets:
secret.prefect-api-keynow reports a key that comes right after an escaped newline, tab or carriage return in a quoted string ("line\npnu_..."). - Secrets:
secret.sentry-tokennow reports a token that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nsntryu_..."), as the OpenRouter and New Relic rules already did. - Dependencies: a binary
bun.lockbis no longer named when a textbun.locksits beside it in the same folder; the text lockfile was already read, so the old binary one is not an unchecked dependency. - Dependencies: a binary
bun.lockb(bun before 1.2) is now named in the report (Not checked, binary lockfile: bun.lockb. Run bun install --save-text-lockfile to write bun.lock.). It used to be skipped without a word, which read like a clean result. - Secrets:
secret.openrouter-keynow reports a key that comes right after an escaped newline, tab or carriage return in a quoted string ("line\nsk-or-v1-..."). - Code:
code.sql-injectionnow reports Kotlin string templates in a query ("SELECT id FROM users WHERE id = $id",${id}), in.ktand.ktsfiles only. A positional placeholder ($1) and an escaped\$are not templates and stay quiet. - Code:
code.sql-injectionnow reports a Go query concatenated insidedb.Query,QueryRoworExecwith an escaped newline, tab or carriage return before the next keyword (db.Query("SELECT id\nFROM users WHERE id = " + id)), as thefmt.Sprintfform already did. - Code:
code.sql-injectionnow reports a Ruby query with an escaped newline, tab or carriage return before the next keyword ("SELECT id\nFROM users WHERE id = #{id}"). - Code:
code.sql-injectionnow reports a PHP query with an escaped newline, tab or carriage return before the next keyword ("SELECT id\nFROM users WHERE id = $id"), in the interpolated and the concatenated form. - Code:
code.sql-injectionnow reports a C# interpolated query with an escaped newline, tab or carriage return before the next keyword ($"SELECT Id\nFROM Users WHERE Id = {id}"), as the concatenation form already did. - Config:
config.remote-scriptno longer reports a trailing#comment that shows a| shshortcut after a safe command (curl ... -o install.sh # or: curl ... | sh), while still reporting#inside quotes or words (https://example.com/i.sh#v1) and comments after the pipe. - Config:
config.remote-scriptno longer reports a#comment line in shell and PowerShell scripts, Dockerfiles and Makefiles (# Usage: curl -fsSL https://example.com/install.sh | bash), as it already did in workflows. - Secrets:
secret.env-fileandsecret.env-example-valueno longer report file paths starting with/,./,../or~/on variables ending in_FILE,_PATHor_DIRor namedPWD(POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password,PRIVATE_KEY_PATH=./certs/server.key,PWD=/srv/app/releases/current), while still reporting non-path values and/-prefixed secrets on other secret variables. - Code:
code.sql-injectionno longer reports JavaScript and TypeScript tagged templates (sql`SELECT * FROM users WHERE id = ${id}`,Prisma.sql,prisma.$queryRaw,sql<Row[]>`...`). The tag receives the values apart from the query text and binds them. An untagged template literal and a raw tag (String.raw,sql.raw,sql.unsafe) are still reported. - Dependencies:
bun.lock(bun's text lockfile, bun 1.2 and later) is read. A repository with only that lockfile used to report0 packages checked against OSV.dev. Workspace, git, file and tarball entries are skipped, like in the other lockfiles. - Secrets:
secret.hardcoded-passwordno longer lets a placeholder-like value elsewhere on the line hide a real password. The placeholder check now only looks at the value right after the matched name, soconnect(user="testuser", password="...")and{"env": "none", "password": "..."}are reported, while a placeholder in the password's own value stays quiet. - Secrets:
secret.hardcoded-passwordnow also matches names where the secret word follows_-separated words (db_password,ADMIN_PWD,stripe_api_key). The word still has to end the name, sopassword_hashandapi_keys_countstay quiet. It no longer runs on.envand.env.*files, whichsecret.env-fileandsecret.env-example-valuealready cover, so a committed.envis reported once and placeholders in.env.examplestay quiet (#188, #195 by @pranavarya007). - Secrets:
secret.env-fileandsecret.env-example-valuenow also match variable names wherePASSorPWDis a whole_-separated word (DB_PASS,SMTP_PASS,PASS_FILE,MYSQL_PWD), while keeping names likePASSPORT_ID,BYPASS_CACHEandCOMPASS_URLquiet. - Secrets: new rule
secret.prefect-api-key(critical) for Prefect API keys (pnu_followed by 36 letters and digits). - Secrets: new rule
secret.openrouter-key(critical) for OpenRouter API keys (sk-or-v1-followed by 64 lower-case hex characters). - Secrets: new rule
secret.newrelic-key(critical) for New Relic user API keys (NRAK-followed by 27 upper-case letters and digits). - Secrets: new rule
secret.flyio-token(critical) for Fly.io access tokens (fo1_followed by 43 letters, digits,_or-). - Report: the summary line says
Scanned 1 fileand1 package checked against OSV.devfor a count of one; other counts stay plural. - Code: the JavaScript and Python patterns in
code.sql-injectionnow also match escaped newlines, tabs and carriage returns (\n,\t,\r) inside quoted query strings (db.query("SELECT id\nFROM users WHERE id = " + id),cur.execute("SELECT id\nFROM users WHERE id = %s" % uid)). - Code: the Java, Kotlin and C# concatenation patterns in
code.sql-injectionnow also match escaped newlines, tabs and carriage returns (\n,\t,\r) inside quoted query strings ("SELECT id\nFROM users WHERE id = " + id). - Code: the Go
fmt.Sprintfpattern incode.sql-injectionnow uses the same SQL clause keyword check (SELECT ... FROM,INSERT INTO,UPDATE ... SET,DELETE FROM) as the other SQL injection rules and also matches raw backtick query strings and escaped newlines or tabs ("SELECT id\nFROM users WHERE id = %s"), so ordinary messages starting with words like"updated: %d nodes","selection is larger than %d bytes","Deletes %s"or"update check returned %d"are no longer reported.UPDATEin every SQL injection rule now also matches schema-qualified tables and aliases (UPDATE public.users u SET). - Secrets: new rule
secret.heroku-key(critical) for Heroku API keys (HRKU-AAfollowed by 58 letters, digits,_or-). - Secrets: new rule
secret.notion-token(critical) for Notion integration tokens (ntn_followed by 11 digits and 35 letters or digits). - Secrets: new rule
secret.perplexity-key(critical) for Perplexity API keys (pplx-followed by 48 letters and digits). - Secrets: new rule
secret.dockerhub-token(critical) for Docker Hub personal access tokens (dckr_pat_followed by 27 letters, digits,_or-). - Secrets: new rule
secret.age-key(critical) for age private keys (AGE-SECRET-KEY-1and post-quantumAGE-SECRET-KEY-PQ-1followed by 58 upper-case Bech32 characters), which decrypt every file encrypted to them, SOPS files included. - Secrets: when a line holds more than one secret or more than one finding, all secrets on that
line are now masked in every finding on it (two tokens of one kind, tokens of different kinds, a
token beside a
NEXT_PUBLIC_orVITE_secret, another rule's finding on the same line such ascode.eval, and MCP configs with several keys or JSON-escaped values on one line). Findings on such lines get a new baseline hash and show once as new; run--write-baselineagain. - Secrets: new rule
secret.databricks-token(critical) for Databricks personal access tokens (dapifollowed by 32 lowercase hex characters, optionally followed by-and one digit such as-2). - Secrets:
secret.env-fileandsecret.env-example-valuenow catch values followed by an inline#comment (quoted or unquoted), leaving the comment out of the masked snippet. A#inside an unquoted value with no space before it stays part of the value, and placeholders followed by a comment (your-key-here # set me,**************** # masked) remain quiet. - Secrets:
secret.gitlab-tokenalso finds GitLab deploy tokens (gldt-and 20 letters, digits,_or-) and pipeline trigger tokens (glptt-and 40 lowercase hex). - Secrets:
secret.slack-tokenalso finds Slack app-level tokens (xapp-1-A0123...-1234567890123-and lowercase letters and digits), which let a Socket Mode app connect as the app. A barexapp-stays quiet. - Secrets:
secret.env-fileandsecret.env-example-valuestay on one line instead of matching across line breaks, so an empty assignment likeAPI_KEY=followed by another variable is no longer reported, a blank line above a placeholder likeyour-placeholder-key-hereno longer breaks placeholder skipping, and a real secret after a blank line is reported on its own line instead of the blank line above it. - Config and agent files:
remote-scriptalso reports a shell option with a value before-c(bash -o pipefail -c "$(curl ...)",sh -e -o nounset -c ...) and sudo flags combined with a value flag in one word (curl ... | sudo -Eu root bash,sudo -HEu "$USER" bash,sudo -ED"/tmp/build dir" sh).curl ... | sudo -uroot; bashis no longer reported, since thatbashis a separate command. - Config:
config.gha-script-injectionskips a commented-out workflow line like# - run: echo "${{ github.event.pull_request.title }}". A#line inside arun: |orscript: |block is still reported, since the expression is filled in before the shell sees the comment. - Config:
config.gha-script-injectionalso checksworkflow_runworkflows, sogithub.event.workflow_run.head_branch,.display_title,.head_commit.messageand the head commit's author and committer name and email pasted into arun:step are reported. Fields the triggering run can't set, likeworkflow_run.id,.conclusionor.repository.name, are not. - Dependencies: a lockfile over 2 MB is read again (up to 64 MB) instead of being skipped with "0 packages
checked". A larger one is named in the report (
lockfiles_too_largein JSON). npm, Composer and Pipfile lockfiles are also read in one pass, whatever their key order: 0.12 s instead of 4.3 s for a 3 MB package-lock.json, 0.5 s for 60 MB. - Config:
config.weak-tls-versionreads Apache'sSSLProtocolsigns, soall -SSLv3 -TLSv1 -TLSv1.1is no longer reported, whileall -SSLv3(TLS 1.0 still on) and+TLSv1.1still are. A plain name replaces the set so far, as Apache does, soTLSv1.2 TLSv1is reported andTLSv1 TLSv1.2is not. A line that names an old version and goes on after a backslash, uses a${VAR}or has an unknown word is still reported. - Secrets:
secret.linear-api-keyfinds Linear API keys (lin_api_and 40 letters and digits) andsecret.postman-api-keyfinds Postman API keys (PMAK-, 24 hex,-, 34 hex). Both are critical. - Secrets: new rule
secret.pulumi-token(critical) for Pulumi access tokens (pul-followed by 40 lowercase hex characters). - Config and agent:
remote-scriptalso reportscurl ... | sudo -E bash(sudo with flags, as in NodeSource's install line) and a shell run on a downloaded script,bash -c "$(curl ...)"and its backtick form.sudo teeand a$(curl ...)only assigned to a variable stay quiet, as doessudo -E tee bash(tee runs, not bash). PowerShell'siwr,Invoke-WebRequest,irm,Invoke-RestMethod,iexandInvoke-Expression, and itscurlandwgetaliases, match in any case, soirm https://... | iexis reported. - Build: the pinned
cookie(0.18.3) andtime(0.3.47) crates are updated for RUSTSEC-2026-0594 and RUSTSEC-2026-0009. Neither was reachable from a scan. - Secrets: four new critical rules.
secret.sentry-tokenfinds Sentry user auth tokens (sntryu_and 64 lowercase hex),secret.supabase-tokenSupabase access tokens (sbp_and 40 lowercase hex),secret.grafana-tokenGrafana service account tokens (glsa_, 32 letters or digits,_, 8 hex) andsecret.doppler-tokenDoppler personal tokens (dp.pt.and 43 letters or digits). - Secrets: new rule
secret.rubygems-token(critical) for RubyGems API keys (rubygems_followed by 48 lowercase hex characters).
1.1.0 (2026-11-25)
- Agent:
agent.mcp-plaintext-secretalso checks theheadersandhttp_headersof remote MCP servers in JSON configs.AuthorizationandProxy-Authorizationalways count. Inenvand headers alike, a value is judged after its auth scheme and with its variables taken out:Bearer ${API_TOKEN}anduser:${PASSWORD}are skipped,admin:<password>@${DB_HOST}and${TOKEN:-sk_live_...}are reported. - Agent:
agent.unrestricted-shellnow readspermissions.allowin.claude/settings*.jsoninstead of matching"Bash"anywhere in the file, so entries indeny,ask, or hook matchers are no longer flagged. - Agent: more agent files are read:
.clinerules(a file or a folder),.windsurf/rules/,.github/instructions/*.instructions.md,.github/prompts/*.prompt.md,.roo/rules/and.kiro/steering/for instructions, and Windsurf'smcp_config.json,cline_mcp_settings.json, and Zed's.zed/settings.jsonand.config/zed/settings.json(context_servers) for MCP servers. - Agent:
agent.mcp-unpinnedskips the value of flags like--python(uvx,pipx run) and--useror--platform(docker run,podman run), souvx --python 3.12 pkg==1.0no longer reports3.12anddocker run -u 1000:1000 acme/mcpreportsacme/mcp. An emptydocker runargument is skipped. - Secrets:
secret.env-not-ignoredis reported at the.envfile when the project has no.gitignoreat all. Example files like.env.examplealone no longer trigger it. - Secrets:
secret.env-not-ignoredreads.gitignorethe way git does, so only a line that really ignores.envcounts..envrc,.env.local,.env/,# .envor a later!.envno longer hide it. - Secrets:
secret.env-fileandsecret.env-example-valuenow catch base64 values ending in=padding and passwords with!@#$%^&*. A value that is only*characters or starts with$(a reference like$POSTGRES_PASSWORD) is skipped. - Secrets:
secret.public-env-secretnow replaces everything after the variable name on its line with****, so its finding no longer prints the value, however it is written (=,:,=>,||,ENV NAME value, ...). Before, the whole line was printed as is. Masking now keeps at most a third of a secret, so a short value is not printed whole. - Agent: an MCP config whose
npx(orpnpm dlx) argument is empty or starts with a non-ASCII character no longer crashes the scan. - Scan: minified bundles, source maps,
.jsonland.logfiles, and images, fonts, archives, media and compiled files (png,woff2,zip,mp4,class, ...) are skipped by name without being opened. Other binary files are left after their first 8 KB instead of being read in full. - Agent:
agent.mcp-plaintext-secretno longer takes an env key for a secret when its credential word is only part of an ordinary word, soPATH,PYTHONPATH,NODE_PATH,DISPATCH_MODE,AUTHOR,MONKEY_PATCHandKEYCHAIN_PROFILEare not reported.GITHUB_PAT,githubPat,OPENAI_APIKEY,daemonKey,patHashandclientSecretstill are. - Agent:
agent.mcp-insecure-urlnow reads a bracketed IPv6 host up to its closing](only[::1]counts as local) and matcheshttp://without regard to case. - Dependencies:
pubspec.lockis read, so Dart and Flutter packages are checked against OSV.dev (Pubecosystem). Packages from thesdksource, likeflutter, are skipped. - Secrets: new rule
secret.gitlab-token(critical) for GitLab personal access tokens (glpat-followed by 20 characters). - Secrets: new rule
secret.huggingface-token(critical) for Hugging Face access tokens (hf_followed by 34 letters). - Secrets: new rule
secret.npm-token(critical) for npm access tokens (npm_followed by 36 letters or digits). - Secrets: new rule
secret.mailgun-key(critical) for Mailgun private API keys (key-followed by 32 lowercase hex characters). - Secrets: new rule
secret.telegram-bot-token(high) for Telegram bot tokens (8 to 10 digits, a colon, then 35 letters, digits,_or-). - Secrets: new rule
secret.aws-secret-key(critical) for AWS secret access keys: a 40-character value assigned to a name withawsandsecretin it (aws_secret_access_key = ...,AWS_SECRET_ACCESS_KEY=...,"awsSecretAccessKey": "..."). Values that can't be a random key are skipped: the AWS docs example key, hashes, paths, words likeTestSecretKey...,000...and other repeats. - Secrets: new rule
secret.twilio-api-key(critical) for Twilio API keys (SKfollowed by 32 lowercase hex characters). - Secrets: new rule
secret.digitalocean-token(critical) for DigitalOcean tokens (dop_v1_,doo_v1_ordor_v1_followed by 64 lowercase hex characters). - Secrets: new rule
secret.shopify-token(critical) for Shopify access tokens (shpat_,shpca_,shppa_orshpss_followed by 32 hex characters). - Secrets: new rule
secret.pypi-token(critical) for PyPI upload tokens (pypi-AgEIcHlwaS5vcmcfollowed by 50 or more characters). - Secrets: new rule
secret.sendgrid-key(critical) for SendGrid API keys (SG., 22 characters, a dot, then 43 characters). - Secrets: new rule
secret.discord-webhook(high) for Discord webhook URLs (discord.com/api/webhooks/ordiscordapp.com/api/webhooks/, a 17 to 20 digit id, then a token of 60 or more characters). - Secrets: new rule
secret.slack-webhook(high) for Slack incoming webhook URLs (hooks.slack.com/services/T…/B…/and a 24-character token). The docs placeholder withT00000000orXXXXXXXXis skipped. - Config: new rule
config.tf-public-access-block(medium) forblock_public_policy = falseorrestrict_public_buckets = falsein anaws_s3_bucket_public_access_blockoraws_s3_account_public_access_block. - Secrets: new rule
secret.groq-key(critical) for Groq API keys (gsk_followed by 52 letters or digits). - Code: new rule
code.open-redirect(medium) for redirects built straight from request input (res.redirect(req.query.next),redirect(request.args.get("next"))); a redirect to a fixed path stays unflagged. - CLI:
--sarif-file <FILE>writes SARIF to a file from the same scan that prints the report and sets the exit code. The GitHub Action uses it, so it scans (and asks OSV.dev) once instead of twice. - Config: new rules
config.tf-public-database(high) forpublicly_accessible = trueandconfig.tf-unencrypted-storage(medium) forstorage_encrypted = falsein Terraform files.publicly_accessible = false,storage_encrypted = trueand commented-out lines stay unflagged. - Config:
config.remote-scriptalso checks GitHub Actions workflows, so arun:step (or a line in arun: |block) that pipescurlorwgetinto a shell is reported.curl -o file URL, a stepname:and a commented-out line are not. - Code:
code.sql-injectionalso catches Go queries built by concatenation indb.Query,db.QueryRow,db.Execand theirContextvariants (db.Query("SELECT * FROM t WHERE id=" + id)). A query with a placeholder stays unflagged. - Code:
code.ssrfalso covers Go (http.Get,http.Head,http.Postwithr.FormValue(...)orr.URL.Query().Get(...)) and PHP (file_get_contents,curl_init,fopenwith$_GET,$_POSTor$_REQUEST). A fixed URL stays unflagged. - Code:
code.open-redirectnow also matches a status code first, sores.redirect(301, req.query.next)is reported; a redirect to a fixed path stays unflagged. - Dependencies:
uv.lockentries whosesourceiseditable,virtualorpath(the project itself or a local package) are no longer counted or looked up on PyPI. - Dependencies:
Gemfile.lockgems fromGITandPATHsections (a git repository or a local folder) are no longer counted or looked up on RubyGems. Only gems inGEMsections are. - Secrets:
secret.url-credentialsskips a connection string whose password is an angle-bracket placeholder such asmongodb+srv://<username>:<password>@host/db, the form MongoDB Atlas shows in its docs. - Secrets:
secret.private-keyalso finds a key written with\nescapes inside a string, the way a Google service-account JSON file stores it. The whole key body is masked in the output. - Dependencies:
pnpm-lock.yamlis read again. A blank line ended thepackages:section, and pnpm writes one right after it, so every pnpm project reported 0 packages checked. - Agent: new rule
agent.mcp-auto-approve(high) for"enableAllProjectMcpServers": truein.claude/settings*.json, which starts every MCP server in the project's.mcp.jsonwithout asking about each one. - CLI:
safe-anything:ignoretakes an optional list of rule ids (// safe-anything:ignore code.weak-hash, code.eval) and then silences only those rules on that line and the next. An unknown id silences nothing. A bare marker still silences every rule. - CLI:
--write-baseline <file>records the current findings (rule, path and a SHA-256 of the line, no code or secrets), and--baseline <file>hides them, wherever the line moved to, and says how many it hid, so CI can fail only on new findings. The action has abaselineinput for it. - CLI:
--sarifwrites paths from the working directory, not from the scanned folder, sosafe-anything app --sarif(or the action'spath: app) givesapp/src/x.jsand code scanning finds the file. The terminal and--jsonreports keep paths relative to the scanned folder. - CLI: SARIF rules have a
fullDescriptionand ahelptext (the fix, the CWE and OWASP category, and the link), so a GitHub code scanning alert shows the fix in its side panel.--list-rules --jsonand the MCPlist_rulestool include each rule'sfix. - CLI:
safe-anything --helpnow shows a few examples, includingsafe-anything mcp, and how to ignore a finding (safe-anything:ignoreor.safe-anything-ignore). - Secrets: new rule
secret.google-oauth-secret(high) for Google OAuth client secrets (GOCSPX-followed by 28 letters, digits,_or-). - Dependencies:
Pipfile.lockis read, so Pipenv projects are checked against OSV.dev (PyPIecosystem),defaultanddeveloppackages alike. Entries from git, a path or an editable install are skipped.
Thanks to everyone who contributed to this release: @OnurrUgur, @ghozali25, @Prashaxt, @MaxonT, @gasparoff, @sniwas, @lyn1dev, @brixtonpham, @jay23606, @tridev-tej, @pethapixels-create and @PrajsRamteke.
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.
- Issue templates (false positive or missed finding, bug, new rule) and a pull request template.
1.0.0 (2026-11-22)
- First release. One command scans a repository:
safe-anything . - 72 rules in six families: code (SQL and command injection, XSS, eval, SSRF, path traversal,
unsafe deserialization, weak crypto, TLS checks off, JWT
none, template injection, debug mode), secrets (provider keys, private keys, passwords, credentials in URLs,.envfiles and examples, a.gitignoremissing.env, secrets behind public env prefixes likeNEXT_PUBLIC_), agent setups (skipped permissions, pre-approved shell, unpinned MCP servers, plaintext MCP tokens, remote MCP over HTTP,curl | shin hooks and skills, prompt-injection text, credential file access, invisible Unicode), mobile (Android manifest, WebView, iOS ATS, tokens in plain storage), config (Docker, GitHub Actions, Kubernetes, Terraform, nginx) and dependencies (nine lockfile formats checked against OSV.dev, with the nearest fixed version). - Every finding has a file, a line, a severity, a CWE, an OWASP category, a fix and a link to read more. Secrets are redacted in the output.
- Terminal report,
--json, and--sariffor GitHub code scanning;--severity,--fail-on,--offline,--include-tests,--list-rules. safe-anything mcpservesscanandlist_rulesto AI agents over MCP (stdio), with a Claude Code plugin and an agent skill.- A GitHub Action that installs the release binary, scans, and writes SARIF.
safe-anything:ignoresilences one line;.safe-anything-ignoreskips paths.