Skip to content

v0.9.1: correctness fixes, no-network enforcement, portable build, CI - #1

Merged
pslorenz merged 1 commit into
mainfrom
v0.9.1
Oct 23, 2026
Merged

pslorenz merged 1 commit into
mainfrom
v0.9.1

Conversation

@pslorenz

Copy link
Copy Markdown
Owner

v0.9.1: correctness fixes, no-network enforcement, portable build, CI

Engine: Windows PowerShell 5.1 credential dates ("/Date(ms)/") now parse.
Before this, every time-based flag, including "changed since," silently
failed on 5.1 exports. PIM-eligible roles on role-assignable groups are now
modeled, so an app that is a member or owner of an eligible group gets the
PIM-gated verdict. Credential flags carry a stable code, and counters and
badges match on it instead of display text. The "changed since" date
anchors to local midnight. The Microsoft first-party comment now matches
what the code does.

Export script: app registrations are pulled once, not once per service
principal, and resource lookups are cached. App registration owners are
exported alongside service principal owners. Delegated permission grants
are exported again. Credential dates are written as ISO 8601, so Windows
PowerShell 5.1 and PowerShell 7 produce the same JSON. Groups carry their
PIM-eligible roles.

Report: the client report now shows PIM-gated verdicts, the cross-tenant
credential count, the review date, and a credential and ownership findings
section with the reason each flag fired. Priority findings explain PIM and
ownership paths correctly. Reports stamp the knowledge base age and warn
once it passes 90 days.

No-network promise: Google Fonts is removed, and both builds and every
exported report carry a Content Security Policy that blocks outbound
connections. The header shows the knowledge base age. Clear data also
resets the file inputs.

Build: build.py writes to the repo (or --out DIR) instead of a hardcoded
sandbox path, reads UTF-8 explicitly, writes LF bytes so hashes match on
every platform, copies the public build to docs/index.html, regenerates
SHA256SUMS, and fails on a missing CSP, external resources, leaked strip
sentinels, or tenant code in the public build. .gitattributes forces LF.

CI: GitHub Actions runs the tests and the build, fails if committed builds
don't match source, verifies hashes, and attests build provenance on push.

Tests: 21 to 42. Flag assertions match on codes. New fixtures cover the
Windows PowerShell 5.1 export and the v0.9.1 export shape, plus checks for
the client report and the stripped public engine.

Sample tenant now exercises owner and PIM paths. README updated.

Tool v0.9.1, knowledge base 2026.10.22b.

@pslorenz
pslorenz merged commit b8baa51 into main Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant