Skip to content

Releases

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 20:52

A build-only hardening pass; no change to behaviour, output or the CLI.

  • Enable full RELRO (-Wl,-z,relro -Wl,-z,now) so the GOT is remapped read-only after symbol resolution, closing the partial-RELRO gap
  • Add _FORTIFY_SOURCE=3 to the release build for compile- and run-time bounds checks on libc calls, plus -fstack-clash-protection against stack allocations that jump the guard page
  • Make position-independence and the non-executable stack explicit (-fPIE/-pie, -Wl,-z,noexecstack) so full ASLR and NX hold regardless of toolchain defaults
  • Emit Intel CET (IBT/SHSTK) instrumentation (-fcf-protection=full); all target-specific flags are probed through cc-option, so non-x86 builds drop what they cannot accept and keep building

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 12:59

Don't take y-not's word for it: where it safely can, y-not asks the kernel too, and tells you when they disagree.

  • Probe the kernel for a ground-truth check: fork, drop to the target identity and call access(2) on the resolved path, then report whether it agrees with the modeled verdict
  • Add one text line — verified: when the kernel confirms, MISMATCH: when it disagrees (most often a security module such as SELinux or AppArmor denying a DAC/ACL-granted access), unverified: with an honest reason when it could not run — and an additive top-level verification object in JSON, keeping the schema version unchanged
  • Skip the probe where it would mislead rather than confirm: when access(2) is blind to the real blocker (inode attributes, the sticky rule), when the path could not be fully resolved or traversed, and for delete; probing an account other than your own requires root
  • Keep the cross-check strictly advisory — it never overrides the modeled verdict — and document it in the README and man page
  • Internals (no behaviour change): cache per-user capability.conf lookups instead of re-reading the file on every permission check, and cut static-analysis maintainability debt

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 10:33

See which of the accounts you name can perform the same operation on the same path.

  • Add --compare USER,USER,... to report which explicitly listed accounts are allowed, without changing the primary user's verdict or exit status
  • Add the allowed for: text line and an optional additive allowed_for array in JSON; keep the existing JSON schema version unchanged
  • Document that comparisons are limited to the named accounts and share y-not's DAC/ACL and process-context limitations
  • Harden account comparison bounds and use reentrant group-name lookup in explanations and remediation

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 07:03

Answer a question ls -l cannot: why a user who can write and traverse a directory still cannot delete a file inside it.

  • Add a delete (d) operation that evaluates removal of a directory entry: traverse and write on the parent directory, plus the sticky-bit rule
  • Report sticky_bit when the parent directory is sticky and the user owns neither the entry nor the directory, with a proof naming both owners and a to allow: suggestion to take ownership of the entry — the classic /tmp-style case where write permission is not enough
  • Reject deleting the filesystem root and the ./.. entries with their own reasons, stating the refusal is a kernel rule rather than a permission
  • Expose the deletion verdict in JSON (sticky_bit, delete_root, delete_special reasons; additive entry_owner on the target component) and document the operation and its scope in the README and man page

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 09:53

Show sudo on a fix that needs it, so the suggestion actually works.

  • Prefix a remediation with sudo when it changes a file the requesting user does not own (group, other and ACL denials): only the owner or root can run the chmod/setfacl, so the previous command would have failed with a permission error
  • Leave owner denials as a plain chmod u+…, since the owner can apply it directly

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 15:14

Every denial now comes with the least-privilege fix, and y-not is honest about what it cannot decide.

  • Add a to allow: line suggesting the smallest change that would grant access for the blocking component — a chmod bit, a group membership, an ACL grant, or an ACL mask widening — or a note that a read-only/noexec mount, not a permission, is the real blocker; exposed as remediation in JSON
  • Warn when the DAC/ACL verdict is allowed but SELinux is enforcing or AppArmor has loaded profiles: the kernel may still deny a confined process, which y-not does not model. Reported as may_override_verdict and a human-readable warning in the JSON mac object
  • Report honestly that a path could not be inspected when a parent directory denies y-not itself the traversal needed to resolve it, instead of guessing a verdict; suggest re-running as root
  • Relabel the text denial summary with cause:, proof: and to allow:, and lift the permission proof into the summary block; the JSON field names (reason, decision, remediation) are unchanged

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 16:36

Turn a missing-group denial into actionable advice.

  • Report every non-member group whose effective permissions (after any ACL mask) would grant the requested operation, instead of naming a single one
  • Add a candidate_groups array (GID and name) to the JSON decision; keep missing_group_gid for compatibility
  • Document the multi-group diagnosis in the README and man page

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 12:51

Clarify that execute checks permissions, not executable format.

  • State explicitly when a regular file lacks execute permission for the user
  • Document that y-not does not validate executable formats or interpreter/loader availability

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 12:21

Make permission denials easier to understand and act on.

  • Show the permission source and raw/effective rwx details in access traces, including ACL mask effects
  • Identify one missing Unix or ACL group whose effective permissions would grant the requested operation; expose its GID as missing_group_gid in JSON
  • Refresh the README diagnosis examples and isolate coverage builds from the normal build artifacts

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 04:42

More accurate Linux access checks across symlink paths, directory writes, and mount restrictions.

  • Preserve lexical . and .. path components so the kernel resolves them after following preceding symlinks; reject empty pathnames and honor trailing-slash directory requirements
  • Require both write and traversal permission to create entries in a directory; report traversal denials distinctly and correctly model root's directory-search bypass
  • Include read-only and noexec mount restrictions in access decisions; report nosuid as context, using flags visible in y-not's mount namespace
  • Add a CI integration job that builds the Debian package, removes build dependencies, installs and exercises the package, then verifies removal
  • Document the scope and limitations of directory operations, mount namespaces, and mount flags