Skip to content

security(ci): add a scheduled OSV/SCA scan for unchanged main #448

Description

@qnbs

Context\n\nThe enforced OSV scan currently runs from the CI workflow on pushes, tags, and pull requests. A vulnerability disclosed after the last code change can therefore remain undetected until another event occurs.\n\n## Acceptance criteria\n\n- Add a daily or weekly scheduled scan, preferably isolated from expensive build/test jobs.\n- Scan pnpm-lock.yaml, src-tauri/Cargo.lock, and crates/Cargo.lock with the same deterministic policy as CI.\n- Use least-privilege permissions, concurrency cancellation, and no secret exposure.\n- Define alert/failure and triage semantics for an unchanged main branch.\n- Keep the existing PR/main OSV gate authoritative; do not replace it with an advisory scheduled job.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions