Skip to content

fix(sec-core): fix TOCTOU at sqldb read path#546

Open
RemindD wants to merge 1 commit into
alibaba:mainfrom
RemindD:fix/sec-core/sqltoctou
Open

fix(sec-core): fix TOCTOU at sqldb read path#546
RemindD wants to merge 1 commit into
alibaba:mainfrom
RemindD:fix/sec-core/sqltoctou

Conversation

@RemindD
Copy link
Copy Markdown
Collaborator

@RemindD RemindD commented May 15, 2026

Description

Fix TOCTOU issue at sql readonly path.

Related Issue

closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional change)
  • Performance improvement
  • CI/CD or build changes

Scope

  • cosh (copilot-shell)
  • sec-core (agent-sec-core)
  • skill (os-skills)
  • sight (agentsight)
  • tokenless (tokenless)
  • Multiple / Project-wide

Checklist

  • I have read the Contributing Guide
  • My code follows the project's code style
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the documentation accordingly
  • For cosh: Lint passes, type check passes, and tests pass
  • For sec-core (Rust): cargo clippy -- -D warnings and cargo fmt --check pass
  • For sec-core (Python): Ruff format and pytest pass
  • For skill: Skill directory structure is valid and shell scripts pass syntax check
  • For sight: cargo clippy -- -D warnings and cargo fmt --check pass
  • For tokenless: cargo clippy -- -D warnings and cargo fmt --check pass
  • Lock files are up to date (package-lock.json / Cargo.lock)

Testing

Additional Notes

@RemindD RemindD requested a review from edonyzpc as a code owner May 15, 2026 11:30
@github-actions github-actions Bot added the component:sec-core src/agent-sec-core/ label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:sec-core src/agent-sec-core/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant