فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
docs(A03): record client threat boundary and incomplete hash-chain integration
davoodmehraban89 committed
Oct 19, 2026 at 18:57 UTC
9b89e3d15049a7dd2f820bf9c5f1ed50d0dc94f9
1 file changed
+8
STATUS.md
+8
@@ -41,3 +41,11 @@ Review CI on latest A03 PR head, fix failing fixtures and ensure restore authori
41
- Existing legacy fixture rows lack some new metadata fields and must be updated with complete valid audit records.
42
- Hash chain (prevHash, eventHash, verifyChain) has NOT been implemented. Tamper, deletion and reordering tests are outstanding. A local unanchored hash chain cannot prove deletion of the final event; trusted head checkpoint required.
43
- CI on current head is not yet verified. Next: repair company restore and fixture compatibility, then implement and test chain before merge.
44
+
45
+## A03 2026-10-19 continuation
46
+- CompanyBackupService restore authorization was added at commit 9c0d438e21c11ba6c47561b80e3de7e270defcce.
47
+- Fixed a WeakSet access defect in AuditService at commit 0056fd1748e9222603c7cd8ada89f41ba8ca6c2e.
48
+- Added src/core/AuditChain.js at commit 567b9af1759df9448e01b9982bfe6208bcff545f (SHA-256 and a standalone chain verifier). This is NOT yet integrated into audit event writes or backup metadata; no end-to-end chain claims.
49
+- Attempts to integrate hash code into AuditService and add chain regression tests were blocked by tool safety checks. No tests were run locally.
50
+- Legacy audit migration, full company restore compatibility and trusted backup anchor remain unfinished.
51
+- Client-side security boundary: the StorageService/AuditService checks defend normal application code paths, not a malicious user with IndexedDB/devtools or local file access. A backup-contained hash anchor is not independently trusted: an attacker who can rewrite the backup can rewrite its anchor. Signed or externally anchored checkpoints are needed for adversarial tamper evidence. A bare hash chain cannot detect tail deletion without an independently retained head.