Skip to content

NA-0284: add qsl-attachments capability scope abuse logging harness - #35

Merged
Tebbens4832 merged 1 commit into
mainfrom
na-0284-capability-scope-abuse-logging-harness
May 14, 2026
Merged

NA-0284: add qsl-attachments capability scope abuse logging harness#35
Tebbens4832 merged 1 commit into
mainfrom
na-0284-capability-scope-abuse-logging-harness

Conversation

@Tebbens4832

Copy link
Copy Markdown
Member

Goals: G1, G3, G4, G5

Impact: Adds executable qsl-attachments capability scope / abuse / logging harness coverage for wrong-resource and malformed capability attempts, deterministic duplicate/replay behavior under current reusable-within-scope semantics, unauthorized no-mutation/no-exposure behavior, bounded abuse loops, and log/error redaction.

No-regression: Preserves opaque-ciphertext service behavior, resource-scoped resume/fetch capabilities, fail-closed rejects, existing malformed JSON / retention / disk pressure harness behavior, no workflow changes, no dependency changes, and no production-readiness claim.

Tests/Vectors: Added tests/capability_scope_abuse.rs, tests/capability_scope_logging.rs, and shared integration helpers under tests/support/mod.rs; validated with focused harness tests plus full locked test, clippy, and audit.

Implementation code changed: no. The harness records current semantics and README clarifies reusable-within-resource-scope behavior.

No dependency changes in harness PR. No workflow changes. Loopback/local/tempdir tests only. Deterministic capability scope and abuse behavior is covered. Wrong-resource and malformed capability attempts fail closed. Unauthorized operations do not mutate or expose objects. Capability abuse logs do not leak capabilities, descriptors, ciphertext, or plaintext. Opaque-ciphertext boundary preserved.

qsl-protocol evidence will be recorded separately after this PR merges.

@Tebbens4832
Tebbens4832 merged commit 0b7b3fc into main May 14, 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