Repository navigation
v0.13.0
evnx v0.13.0
Read this first: what changes for scripts and CI. Each item has its own
entry below with the details and how to migrate.
.envexpansion is top to bottom, as Compose does it. A forward
${VAR}is an error naming the line to move.evnx validateon 0.12.0
already lists every affected line asexpansion_order.- Keys with
.,-,[,], a leading digit or non-ASCII letters are
read; outputs that cannot hold them refuse them by name. evnx scan --format jsonisschema_version: 2:severity(how bad)
is separate fromconfidence(how sure).--severitynow filters on risk;
the old meaning is--confidence. SARIFruleIdis the stable rule id.- More findings: 63 built-in rules (13 in 0.12.0), names checked inside
YAML, JSON and TOML. A--severity highgate may start failing; a
baseline (evnx scan --update-baseline) or allow markers adopt existing findings. - Cloud commands exit 10–15 by failure class (table below), not 1 or 2.
migrate --to gcp-secret-managernames secretsdb-url, as
convertdoes; a project migrated with 0.12 gets new secrets beside the old.- Clerk and UploadThing
sk_live_keys have their own rule ids, no
longerstripe-live-secret-key: update baselines and allow markers on them. convert --to vercelmarks secretssensitive(production and
preview only),evnx addexits 4 when declined, and
backup/restore --output -are refused.
New: evnx remove; scan rule files, packs from
evnx-rules (gitleaks,
betterleaks) and a Betterleaks importer; allow markers and baselines;
scan --staged and scan hook; provider and category on every rule;
repeatable --vault on cloud run and cloud pull; reasons on refused cloud
requests; cloud audit names removed members.
evnx auth, evnx vault, evnx org and evnx cloud now exit with a code that says what failed,
so a pipeline can tell "sign in again" from "the server is down" without reading the message:
| Code | Meaning |
|---|---|
| 10 | not signed in, or the session / EVNX_TOKEN was refused |
| 11 | forbidden (role too low, not a member, token scope), or email not verified |
| 12 | plan limit reached |
| 13 | server unreachable, or answered by something that is not evnx (proxy, firewall, captive portal) |
| 14 | conflict (someone else pushed first), or account locked |
| 15 | server error, or rate limited |
- Any script that tested for exactly
1or2after a cloud command needs to accept these.
Other failures (bad arguments, local errors, a 404, a rejected request body) keep their code. evnx cloud run/evnx runstill return the child's own code once it has started; 10–15 can
only come from a failure before that.- A 403 now explains why when the server says (needs the
<role>role, not a member, API token
restricted to another vault); aRetry-Afteris shown as "Try again in N s."; an HTML error page
from a proxy is reported as "not from evnx" instead of as a server error. All of this works
against servers that do not send the new fields yet.
evnx migrate --to gcp-secret-manager now creates db-url where 0.12 created DB_URL
(I-098, RM-62). convert --to gcp-secrets has always lowercased names and written _ as -;
migrate kept the .env name, so the two commands named the same variable differently. Both
(and cloud export --to gcp-secrets, which renders through convert) now take the name from one
function, so they cannot drift.
- A project migrated with 0.12 gets new secrets beside the old ones:
DB_URLstays,db-urlis
added. Point the app at the new names, then delete the old upper-case secrets
(gcloud secrets delete DB_URL --project=my-project). A_Banda_bbecoming onea-bis refused by name, as inconvert.
convert --to vercel writes "type": "sensitive" for secret-looking variables (RM-65,
experimental). They were all "plain". A variable whose name or value looks secret
(DB_PASSWORD, a token, a URL with a password) now gets "target": ["production", "preview"]:
Vercel's API rejects a Sensitive variable in development, so it is not set there, and evnx says
how many on stderr (the JSON is unchanged otherwise). Other variables stay "plain" for all three
targets. migrate --to vercel adds --sensitive to vercel env add for those variables, except
when the environment is development.
- Three more built-in rules, 63 in all (C12, RM-92):
gitlab-job-token(glcbt-, medium),
flyio-token(FlyV1 fm2_/fm2_, critical) andazure-devops-pat(the 84-character PAT
with the fixedAZDOsignature, high), each only where the provider's own docs state the
format. A GCP service-account key file ("private_key": "-----BEGIN PRIVATE KEY-----\n…") was
already reported byprivate-key; a test now locks that in.
CLERK_SECRET_KEY=sk_live_… and UPLOADTHING_SECRET=sk_live_… change rule id (C10,
RM-92, CV-2). Clerk and UploadThing reuse Stripe's sk_live_ prefix, so both were reported
as stripe-live-secret-key and sent you to Stripe's dashboard. Two new rules, clerk-secret-key
(Clerk, auth) and uploadthing-secret-key (UploadThing, saas), both critical, fire when the
variable (or YAML/JSON/TOML key) has Clerk's or UploadThing's name; 60 built-in rules, up
from 58. Under any other name, or in plain text, the value stays stripe-live-secret-key.
- Update baselines and
evnx:allow stripe-live-secret-keymarkers on those lines to the new
ids; the old ones no longer match, so the finding reappears until you do. - New optional rule field
names(regexes matched against the variable/key name) for your own
rule files and packs: the rule never fires on text with no name, and beats an unconstrained
rule matching the same value. An invalidnamesexpression is a load error naming the file
and rule.evnx scan rules testchecks a rule's value shape and ignoresnames.
Every built-in scan rule names its provider and a category (C11, RM-90). Additive: no
rule, id or existing JSON field changes.
rules.tomlgives all 58 rules aproviderand acategoryfrom a fixed list:cloud,
source-ci,ai,payments,databases-backends,auth,messaging-email,
observability,infra-secrets,saas,keys-certificates,generic. A test fails
for a built-in without both.- Both fields are optional in your own rule files and packs. An unknown
categoryis a
load error naming the file, the rule and the allowed list.evnx scan rules testwarns
(never fails) for a rule missing either. evnx scan rules listgroups by category and shows each provider; unset ones list last
as "uncategorised".--category <name>filters (an unknown name exits 2 with the list).
--jsonaddsproviderandcategory(null when unset).
evnx scan knows 22 more providers: 58 built-in rules, up from 36 (C3, second wave).
Each prefix was checked against the provider's own documentation (or, for Atlassian, a
statement from its staff), and each rule has fixtures that must match and near misses that
must not. Across evnx-web, evnx-server and evnx-app the new rules report nothing.
- AI billing (critical): Groq
gsk_, xAIxai-, Replicater8_, Perplexitypplx-. - Infrastructure and secrets (critical): HCP Terraform
….atlasv1.…, Pulumipul-,
Dopplerdp.st./dp.pt./dp.ct./dp.sa., Supabasesbp_andsb_secret_, age
AGE-SECRET-KEY-1. - Source and CI (high): GitLab runner
glrt-, deploygldt-and triggerglptt-tokens;
GitHub refresh tokensghr_join the existing GitHub Token rule. - SaaS (high): Stripe webhook signing secrets
whsec_, Databricksdapi, Atlassian API
tokensATATT3…/ATCTT3…, Bitbucket app passwordsATBB(medium confidence), New Relic
NRAK-, Grafanaglsa_andglc_, PostmanPMAK-, Notionntn_. - A
--severity highgate now fails on these.[scan] disabletakes each by name, listed in
evnx scan --help.
.env references now expand top to bottom, as Docker Compose does (P1,
D10). A ${VAR} reads the value assigned above it; until now evnx read each
variable's last value in the file. Measured with Docker Compose v5.7.0, which now
agrees on every case below. 0.12.0 warned about each affected line
(expansion_order); that warning is gone because the difference is.
B=1,A=${B},B=2givesA=1(was2).- A forward reference fails:
A=${B}aboveB=1is an error that names the
line to move ("${B}is assigned below it, on line 2 … move that line above
line 1"). It was1. A=1, thenA=${A}3, gives13. It was a circular-expansion error, so no
working file depended on it. Circular and too-deep expansion can no longer
happen: every reference reads a value already settled.- A forward bare
$B(no braces) keeps the text$B, as any undefined bare
reference does; it was the value from below.validatereports it as the new
forward_referencewarning. Compose reads it as empty. validate's duplicate-key warning no longer advises removing an earlier
assignment that a line in between reads.- Migrate: run
evnx validateon each env file before upgrading; with 0.12.0
every line that changes is already listed asexpansion_order. Move each
definition above the lines that use it.--ignore expansion_orderis still
accepted and does nothing.
., -, [, ], a leading digit and non-ASCII letters
(P1, D12). The parser now reads the names Docker Compose reads (measured, v5.7.0),
such as spring.datasource.url, my-key, 1FOO and a[0]; a file holding one
was refused outright. /, @, +, $, spaces, quotes and braces are still
refused, and the message says what a key may hold.
validatewarns that a shell cannotexportsuch a name (not_shell_name).evnx runandevnx cloud runpass it to the process unchanged.- Each
convertformat andmigratedestination that cannot hold a name refuses
it by name, writing or sending nothing:shell, GitHub Actions, Vercel,
Heroku, Doppler, Railway and Infisical take letters, digits and_;
Kubernetes takes.and-; Terraform takes-; GCP and Azure take-.
JSON, YAML, Docker Compose and AWS Secrets Manager take any of them.
--excludeleaves a name out. Every name evnx read before still passes. ${my.key}resolves (Compose itself refuses that template). A bare$my.key
stops at the., as in Compose, and${my-key}is${my}with the default
key, as in Compose and the shell.- In
.evnx.toml, a dotted name must be quoted:[vars."spring.datasource.url"].
Unquoted, TOML reads nested tables, andvalidatenow says so. strictmode still requires uppercase:MY.KEYpasses,my.keydoes not.- Library:
ParseError::ForwardReferenceis new;parser::is_env_keyis the
parser's rule, andis_valid_keystays the shell rule.Documentno longer has
order_differences.
evnx add exits 4 when you answer no (R1). Saying no to "Add these
variables to …?" (or pressing Esc there) wrote nothing and exited 0, the
same code as a write, so a script could not tell the two apart. It now exits
4, as restore, cloud pull and remove do for a declined confirmation.
Esc at an earlier question (picking an id, add custom's questions) still
exits 0. Migrate: a wrapper that treats any non-zero exit from an interactive
add as a failure should accept 4 as "cancelled".
evnx scan: severity and confidence are now two things (C2, RM-49,
RM-50). A finding had one level, high/medium/low, which was confidence
(how sure evnx is), and --severity filtered on it. A Google Maps browser key
could not be described: its shape is certain, and it is meant to ship in a web
page. Every finding now has a severity (how bad it is if real: critical,
high, medium, low) and keeps its confidence.
--severityfilters on severity. The new--confidence(and
[scan] confidence) filters on certainty; both must pass.
--severity highkeeps almost exactly what it kept before, since the rules
that were high-confidence are high- or critical-risk.⚠️ A short value under a secret-like name (API_TOKEN=abcd1234) was medium
confidence and is now high severity, so a--severity highgate now fails
on it. Add--confidence highfor the old behaviour.⚠️ A[[scan.patterns]]rule with noseverityis medium, so a
--severity highgate no longer fails on it. Give the rule
severity = "high"(or"critical") to keep the gate.- The JSON carries
schema_version: 2, and each finding arule_idand a
severity;summary.severitycounts by severity.confidenceand the
existing counts are unchanged. Migrate: JSON consumers that read
confidenceas severity should readseverity. ⚠️ SARIFruleIdis now the rule's stable id (aws-access-key, was
secret/aws-access-key;stripe-live-secret-key, was
secret/stripe-secret-key-live), andlevelcomes from severity. GitHub
code scanning will see existing alerts as new rules once. The terminal and
--format githubshow severity.- The Google API key rule is now high confidence, low severity.
evnx scan's entropy fallback is measured, and catches most random keys
(C4, RM-53). The fallback for secrets with no provider prefix reported a value of
32+ characters with entropy above 4.8. Measured over a corpus
(docs/scan-thresholds.md), that caught only 2–4% of random 32-character keys
and 40–48% of 40-character ones, since a random string's entropy is capped by
its length. It is now 4.3, applied only to values made of base64 or URL-safe
characters that are not npm sha512- integrity hashes: 95%+ of 32-character and
all 40+ character keys are reported, and no hash, SHA, checksum, UUID or source
token in the corpus is. On real repositories this lowers the count: evnx-web
went from 847 entropy findings (lockfile hashes) to 7. Values in a variable
named like a public key (PUBLIC_KEY) are not judged by entropy. Hex keys are
still never reported this way (their entropy is that of a SHA). The AWS
secret-key check uses the same 4.3 (was 4.5). Entropy is now computed per
character, not per byte, which raised it for non-ASCII text.
Added
evnx cloud runandevnx cloud pulltake--vaultmore than once (RM-59, GitHub #128).
evnx cloud run --vault acme/shared --vault acme/prod -- ./deploy.shopens every vault with one
master-password unlock and merges them left to right: the first vault's keys, then each later
vault's new keys.- A key held by two or more of the vaults is an error (exit 2) before the command runs or a file is
written:DATABASE_URL is in both acme/shared and acme/prod.--allow-overridelets the later
vault win instead; each overlap is named on stderr (key and winning vault, never a value). --versionselects a version of one vault, so it is refused with more than one--vault.
--include/--excludeand--file/--env-nameapply to the merged result; a merged pull
writes.envunless told otherwise. One--vault, or none, behaves exactly as before.
- A key held by two or more of the vaults is an error (exit 2) before the command runs or a file is
- Rule packs:
evnx scan rules add | update | remove, and a lock file
(C7; S2, S4, S6).evnx scan rules add <name | url | path> [--format gitleaks] [--personal]
writes.evnx/rules/<name>.tomland records its sha256 in
.evnx/rules.lock; commit both. A name comes from the catalogue,
evnx-rules (gitleaks, 221
rules), and the download must match the sha256 its index lists.
EVNX_RULES_CATALOGUEpoints at a mirror.- ⛔ A scan refuses a pack whose bytes no longer match the lock, or that is
missing, and namesupdateandremove. A scan never downloads
anything. Hand-written rule files have no lock entry and are not checked. update [<name>] [-y]fetches again, shows the rule counts and the ids
added and removed, and asks before replacing.remove <name>deletes a
pack and its lock entry, never a hand-written file.--format gitleaksconverts on import: ids get the pack name in front
(gitleaks-…), Go's ASCII\w/\d/\sbecome explicit classes, and
keywords, entropy, the secret group and allowlists (regexes and
stopwords) carry over. Rules that cannot convert are listed with the
reason, never dropped silently.- It also reads Betterleaks, the gitleaks fork (C13):
confidence
carries over,valueGroupis the secret group, rules markedskipReport
(parts of a composite) are skipped and listed, and the leading
entropy(finding["secret"]) < Nclause of a CELfilterbecomes the
rule's entropy floor. The rest of a filter, and a composite's
components, cannot be expressed; those rules are counted in the pack
header, as lost allowlists are. - Downloads need the
netfeature (in every prebuilt binary) and are
https only, or plain http to this machine.
- Rule files gain
keywords(the rule is tried only on text holding one, so
hundreds of rules stay fast),secret_group(the part that is the secret:
judged, reported and masked), andallow/allow_line(expressions that
drop a match).evnx scan rules testsummarises rules with no fixtures in
one line. evnx scan --stagedandevnx scan hook(C9; S11, S12).--stagedscans what the next commit records, read from the git index
with onegit cat-file --batch, never from disk: a secret staged and then
edited out on disk is still found, and an unstaged one is not. Paths limit
it to staged files under them. Staged files are scanned whatever
.gitignoresays. Nothing staged exits 0 ("nothing staged, nothing
scanned"); outside a repository exits 2. Findings carry"git": "staged",
and the next steps saygit restore --staged, nevergit filter-repo.evnx scan hook install | uninstall | statusadds a managed block that
runsevnx scan --stagedto the repository'spre-commithook
(core.hooksPathhonoured). The hook's own lines are kept, a reinstall
replaces the block, anduninstallremoves only the block. A hook that
pre-commit or prek generated is left alone, with the
.pre-commit-config.yamlsnippet to add instead. The commit is blocked
when secrets are staged, when the scan cannot run, and⚠️ when evnx is not
onPATH.git config hooks.evnx-scan falseturns it off;
git commit --no-verifyskips it once. No secret is printed in full..pre-commit-hooks.yamlgainsevnx-scan-installed(language: system):
the evnx onPATH, no first-run build. CI runs it under pre-commit and
prek.- A folder literally named
hookis now scanned asevnx scan ./hook.
- Scan rule files you write, and
evnx scan rules(C6; S3, S5). Rules in
the same format as evnx's own load from.evnx/rules/*.toml(committed, so
the team and CI share them), your personal~/.config/evnx/rules/*.toml
(or$EVNX_CONFIG_DIR/rules), and each--rules <file>, after evnx's own.
⛔ They only add: an id evnx or another file already uses is an error
naming both, never an override. A scan always says when personal rules
apply. Caps: 2 MiB and 5,000 rules per file. A broken personal folder is a
warning; a broken project file stops the scan.[[scan.patterns]]keeps
working.evnx scan rules list [--json]: every rule, with its id, source,
severity and confidence.evnx scan rules new <id> [--personal]: a rule file to fill in.evnx scan rules test [<file>]: each rule against its ownpositiveand
near_missvalues, every failure reported; exit 1 on any.- A folder literally named
rulesis now scanned asevnx scan ./rules. .evnx/rulesand.evnx/baseline.jsonare found beside the.evnx.toml
in force, so a scan from a subfolder uses the project's.
evnx commands --jsongives each commandsubcommand_required: whether it
needs a subcommand (evnx auth) or also runs alone (evnx scan).evnx:allowmarkers and a baseline forevnx scan(C5, RM-54).# evnx:allow <rule-id> — reasonon a finding's line or the line above
silences that rule there, in any comment style. A marker without a reason
works and is warned about; a bareevnx:allow, or one naming another
rule, allows nothing and says so.--update-baselinewrites this run's findings to.evnx/baseline.json
(or--baseline <file>) and exits 0; from then on a matching finding is
known. The fingerprint is BLAKE3 of the rule, the file and the variable
or line text, so a line inserted above keeps it and a changed value is new.
⛔ The baseline holds no value or preview, so it is safe to commit.- Allowed and known findings do not count towards the exit code. They are
in the JSON'sallowedandknownarrays, every finding carries a
status(new,known,allowed) and afingerprint, the summary
counts them, and-vlists them.findingsandsummary.totalremain
exactly what fails the run.
evnx scanknows 23 more providers, and every rule is tested (C3,
RM-51/52). New rules: Stripe restricted keys, Azure storage account keys
and SAS tokens, Twilio, SendGrid, Mailgun, DigitalOcean, npm, PyPI, Docker
Hub, Shopify, HashiCorp Vault, GitLab, Hugging Face, Heroku (2024 format),
Sentry DSNs (low severity: they ship in client code) and auth tokens,
Linear, Discord and Telegram bot tokens, Slack webhooks and Google OAuth
client secrets. OpenSSH private keys are named as such, and OpenAI
service-account and admin keys are recognised. 36 rules in all. A rule needs
a documented fixed prefix, or a fixed length and charset ordinary values do
not share: Postmark, Cloudflare and Datadog keys and Heroku's legacy UUID
keys are left out on purpose (src/assets/rules.tomlsays why). Every rule
has fixtures intests/fixtures/rules/that must match and near misses that
must not, checked in.envand YAML; a rule without fixtures fails the
suite. On evnx-web, evnx-server and evnx-app (9,315 files) the new rules
report nothing.- PKCS#12 keystores (
.p12,.pfx) are reported (C3), by their content,
aspkcs12-keystore, critical. A folder walk used to skip them as binary. evnx scanchecks names in YAML, JSON and TOML (C8). A structured file
was read as plain text, so only provider formats and the long-random-value
fallback applied:password: <a real password>inconfig.ymlscanned
clean. Each string value is now checked by its key and its value, and
reported with its line and key path (./config.yml:12 (db.password)), while
the line rules still run, comments included. A value both paths find is one
finding. A file that does not parse (a Helm template with{{- if }}) is read
as text, never an error:-vsays so, and the JSONfiles[]gives
read_as: "text"withnote: "did not parse as yaml". Parsed files report
read_as: "structured"(additive underschema_version: 2). References
(${VAR}) and non-strings are skipped, as in a.env, and a whole sentence
or script is not judged by entropy: on a real repository's 633 structured
files this added no findings except named secrets.- Rules as data (C2). The 13 built-in rules moved to
src/assets/rules.toml, compiled into the binary, each with a stableid.
[[scan.patterns]]rules take an optionalid,severityandentropy
(drop matches below that Shannon entropy). A rule that re-rates a built-in
by name keeps its id and severity.[scan] disableaccepts ids too. evnx remove(aliasrm): take a variable out safely (R1). Until now a
variable could only be removed by hand, from up to four places, and a partial
removal passedvalidateandspec checksilently.evnx remove NAME
removes it from the env file (--env-name, else[defaults] env_name, else
.env) and then lists where it still is, with the flag that clears each
place:--template,--contract(the[vars.NAME]entry in.evnx.toml,
table or inline form) or--all(every environment file, the template and
the contract). After--all,validate,spec check,sync --checkand
diffall agree.- Entries are found with evnx's own parser, so multiline values,
export,
duplicates (every one goes, each line reported), CRLF, a BOM and a missing
final newline are handled. Every other byte stays as it was, and the
one-line descriptionaddandinitwrite above a variable goes with it;
group headers and longer comment blocks stay. - Safe by default: the resolved file is printed with where its name came
from; it asks first (--yesskips, and no terminal means exit 2, never a
guess);--dry-runwrites nothing; each env file is kept as.bakfirst
(--no-backupneeds--yesand is refused for a file git tracks). Every
file is planned and checked before any is written, a file that changed
while the command ran is not overwritten, and a failure part-way puts back
the files already changed and names them. - A glob (
'TEST_*') that matches every variable in a file needs--yes.
An argument that is an existing file name is refused, as a shell-expanded
glob. - No value is printed in any mode, including
--json(needs--yesor
--dry-run). Exit codes: 0 removed; 2 could not run, including a name that
is not there (--ignore-missingmakes that 0); 4 you answered no. - A run ends by saying that removal is not rotation: the value is still in
git history, older vault versions and the.bakcopy.
- Entries are found with evnx's own parser, so multiline values,
Changed
sync's "sync only adds" hint namesevnx remove NAME --templateinstead
of "by hand", andadd's next steps mentionevnx remove.toml_editis now always compiled in, not only with thecloudfeature:
remove --contractneeds it. No crate is added to any build:tomlalready
depends on it.- Scanner internals (C1, RM-45), no change in output. The detection
engine has one entry point,core::secretscan::engine::scan_text; the
built-in rules and heuristics moved fromutils::patterns(deleted) to
core::secretscan::rulesandheuristic, leaving oneConfidencetype;
file decoding moved fromscan/runner.rstoscan/walk.rs. Every scan
golden and the behaviour lock are unchanged. For anyone using evnx as a
library:evnx::utils::patternsis gone. - The direct
blake3dependency is gone: the push hash is
evnx_crypto::blob_hash, the same functionvault rekeyuses (Q1).
Fixed
evnx cloud auditsays who was removed (RM-57, I-308). A revoke is logged
as a rekey; its DETAIL now readsremoved ex@acme.dev; re-wrapped for 2 memberswhen the server resolves the member (evnx-server V0), and names the
member's id when it does not. The reads a rekey makes to re-encrypt each
version show asread for rekeyinstead of looking like someone pulling
every version by hand (the CLI sendspurpose=rekey; the server records it
for an admin or the owner only). The WHO column grows to its longest address (up to 40
characters, then…) instead of a fixed 26.- ⛔
evnx scanno longer hangs on a project with many gitignored files.
To learn which walked files git ignores, scan wrote every path to
git check-ignorebefore reading any answer. Once the ignored paths filled
git's output pipe (about 64 KiB, a few thousand files: a.next/build, a
.venv, coverage output), git stopped reading and both processes waited
forever, with only the header printed and no error. The paths are now
written from a separate thread while the answers are read. A Next.js
project that hung indefinitely now finishes in about 35 s. ⚠️ restore --output -andbackup --output -are refused (Q1).-
means stdout intemplateandcloud pull; here it wrote a file named-,
andrestorethen suggestedevnx validate --env -, which reads stdin. Both
now stop with exit 2 before anything is read or asked, until stdout output
is built. A file literally named-is still./-.cloud pullchecks the blob against the server's hash (Q1). The server
sends the hash it stored at push; a blob that does not match it is refused
as damaged ("the server's blob does not match its own hash"), before the
password is asked for. It used to reach decryption and fail as a wrong
password or tampering.cloud run,cloud exportandcloud diffshare
the check.init --from-sourcereads the template with the parser (Q1). It split
lines on=, soexport KEY=was a name "export KEY" and each line inside a
multiline value was a name, showing up as phantom "missing" and "unused"
variables.
Installation
Linux / macOS (shell script)
curl -sSL https://raw.githubusercontent.com/urwithajit9/evnx/main/scripts/install.sh | bashHomebrew (macOS and Linux)
brew install urwithajit9/evnx/evnxScoop (Windows, user-local)
scoop bucket add evnx https://github.com/urwithajit9/scoop-evnx
scoop install evnxWinget (Windows, system-wide)
winget install urwithajit9.evnxnpm / Node.js
npm install -g @evnx/cliPython (pipx)
pipx install evnxCargo
cargo install evnx --all-features
cargo installcompiles from source withdefault = [], so plain
cargo install evnxgives you a binary without theauth,
vaultandcloudcommands. Every other channel above ships them
already — the binaries are built with--all-features.
Checksums
SHA256 checksums are provided for each binary. Verify after download:
sha256sum -c evnx-*.tar.gz.sha256Provenance
Every archive has a signed build provenance attestation, which ties it
to the workflow run and commit that built it. Verify one with the
GitHub CLI (signed in with gh auth login):
gh attestation verify evnx-x86_64-unknown-linux-musl.tar.gz -R urwithajit9/evnxWhat's Changed
- v0.13.0 R1: evnx remove, and add exits 4 when declined by @urwithajit9 in #262
- test(migrate): stop M11 depending on the wording of the system shell by @henriksvensson in #261
- v0.13.0 Q1: small fixes and test portability by @urwithajit9 in #263
- v0.13.0 C1: one entry point for the scan engine by @urwithajit9 in #264
- fix(scan): stop git check-ignore deadlocking on many ignored files by @urwithajit9 in #265
- v0.13.0 C2: rules as data, severity apart from confidence by @urwithajit9 in #266
- v0.13.0 C8: scan checks names in YAML, JSON and TOML by @urwithajit9 in #267
- v0.13.0 C3–C6: scanner rules, measured entropy, allow markers, baseline, rule files by @urwithajit9 in #268
- v0.13.0 C9: evnx scan --staged and a pre-commit hook installer by @urwithajit9 in #269
- v0.13.0 C7: rule packs, rules.lock, and the gitleaks importer by @urwithajit9 in #270
- v0.13.0 P1: expand top to bottom (D10), read Compose's key names (D12) by @urwithajit9 in #271
- v0.13.0 C3: second wave of scan rules, 36 to 58 by @urwithajit9 in #272
- v0.13.0 extension: rule metadata, name-aware labels, new rules, GCP/Vercel fixes, multi-vault by @urwithajit9 in #273
- v0.13.0 extension: typed cloud errors with exit codes, audit names removed members by @urwithajit9 in #274
- chore(release): v0.13.0 by @urwithajit9 in #275
- fix(cli): keep the rows of the cloud --help exit-code table by @urwithajit9 in #276
New Contributors
- @henriksvensson made their first contribution in #261
Full Changelog: v0.12.0...v0.13.0
npm / Node.js
npm install -g @evnx/cli # global install
npx @evnx/cli --version # zero-install usage
npm install --save-dev @evnx/cli # project dev dependency