Skip to content

Potential fix for code scanning alert no. 2: Workflow does not contain permissions - #3

Closed
WejdanBa-CS wants to merge 32 commits into
mainfrom
alert-autofix-2
Closed

Potential fix for code scanning alert no. 2: Workflow does not contain permissions#3
WejdanBa-CS wants to merge 32 commits into
mainfrom
alert-autofix-2

Conversation

@WejdanBa-CS

Copy link
Copy Markdown
Owner

Potential fix for https://github.com/WejdanBa-CS/Signata/security/code-scanning/2

Add an explicit workflow-level permissions block so every job gets least-privilege token scope by default.
For this workflow, the best fix is to add:

  • permissions:
    • contents: read

at the top level (after triggers and before jobs: is typical). This covers both test and secrets jobs, both of which only need repository read access for actions/checkout and local commands. No job-specific overrides, imports, methods, or dependency changes are needed.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Cursor Agent and others added 30 commits August 9, 2026 10:53
… HMAC

Add scattered LSB embedding for image and audio watermarks with legacy
sequential fallback on extract. Extend payloads with optional HMAC claim
signatures (alg/kid/version) and ClaimStatus evaluation.

PDF and video fingerprinting now store contentBytes, inject comment claims
before EOF, append uuid boxes for video, and verify via ClaimCrypto structural
signing with originalLength/contentBytes integrity checks.

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
- Load AccountClaimKeys.current() before embed/verify on all four tools
- Pass claimKey into embed/verify APIs; use claimBanner for StatusBanner
- History verified flag uses claimCountsAsVerified
- Show Key id detail row (kid or legacy)
- Soften encrypted copy to signed/ownership language
- Update prototype notes for scattered LSB, trailing PDF comment, uuid atom

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
Add the missing LSB scatter module, fix claim authenticity helpers, and expand core tests for account-bound HMAC and hardened carriers.

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
Creators can publish fingerprints after protect, scan public media URLs for Signata marks, keep a watchlist of sightings, and optionally sync claims to a remote registry.

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
Fingerprinted files can be saved with a Download button, and ownership fields no longer prefill Studio Nova.

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
Upgrade email password hashing to PBKDF2-HMAC-SHA256, store sessions in
Flutter Secure Storage, enforce stronger passwords, rate-limit failed
attempts, and avoid account-enumeration error messages.

Co-authored-by: Wejdan Al Amri <WejdanBa-CS@users.noreply.github.com>
Let users share media from those apps into Signata, batch-fingerprint
it, and post protected copies back. Restyle Trace with a radar hero,
platform cards, and a sighting timeline.
Let users paste a Web client ID without rebuilding, and correct the MP4 uuid walker so fingerprint round-trips pass.
Cover media, auth, trace, and report paths end-to-end, and wrap EmCard in Material so ListTiles paint ink correctly.
Fix share buffering, per-user stores, commit-on-success freemium, account wipe/recovery, and honest local activation while aligning Home and PDPL copy with the shipped model.
Prefer shared/local media checks over post links, warn before URL fallback, and steer protect/share copy toward Share into Signata.
Let creators restore claim keys and configure Google Sign-In on device, and expand the Play smoke checklist with a debug runner.
Publish Signata source for portfolio transparency with proprietary terms, responsible disclosure policy, and Flutter test workflow on main.
Match Givy protection posture: Wejdan Al Amri attribution in app footers, in-app and hosted terms with IP section, and manual CI dispatch.
Fail CI on leaked credential patterns in tracked files; document local-only OAuth and keystore handling.
Include home, capabilities, tools, and Trace captures under docs/screenshots and link them from the README and release checklist.
Add safe URL validation, trace rate limiting, and OWASP control docs aligned with Givy.
WejdanBa-CS and others added 2 commits August 20, 2026 11:43
OWASP hardening for Trace and claim registry
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@WejdanBa-CS WejdanBa-CS self-assigned this Aug 20, 2026
@WejdanBa-CS
WejdanBa-CS deleted the alert-autofix-2 branch August 20, 2026 19:19
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.

2 participants