Skip to content

fix(deps): Angular 21.2.9 + audit gate (CON-44) - #12

Open
Gatos90 wants to merge 2 commits into
Ai-Testfrom
security/con44-deps-audit
Open

fix(deps): Angular 21.2.9 + audit gate (CON-44)#12
Gatos90 wants to merge 2 commits into
Ai-Testfrom
security/con44-deps-audit

Conversation

@Gatos90

@Gatos90 Gatos90 commented Apr 16, 2026

Copy link
Copy Markdown
Owner

Summary

Closes CON-44. Clears all high/critical pnpm advisories and wires security audit into CI.

  • Angular 21.0.6 → 21.2.9 (core, compiler, common, forms, platform-browser, router, cdk, build, cli, compiler-cli, platform-browser-dynamic). Patches CVE-2026-22610 (GHSA-jrmj-c5cx-3cw6) and two follow-up XSS advisories (GHSA-prjf-86w9-mfqv, GHSA-g93w-mfhg-p222).
  • pnpm overrides for rollup >=4.60.1, picomatch >=4.0.4, serialize-javascript >=7.0.5 (via tauri-plugin-keychain), dompurify >=3.4.0 (via monaco-editor). pnpm audit --prod now reports 0 vulnerabilities.
  • CI security-audit job runs pnpm audit --prod --audit-level high and cargo audit, gated via test-results.
  • .cargo/audit.toml documents cargo advisories that need coordinated upstream bumps (russh/libcrux, rusqlite/sqlx/validator/idna, rsa PKCS#1 v1.5). Follow-ups to be filed after merge.

Test plan

  • pnpm audit --prod → 0 vulnerabilities
  • pnpm build passes
  • pnpm test no new failures (pre-existing 52 failures unchanged)
  • cargo audit passes with documented exceptions
  • CI security-audit job passes on first run

🤖 Generated with Claude Code

Gatos90 and others added 2 commits April 16, 2026 23:55
…Android (CON-42)

Replaces the legacy XOR obfuscation on desktop and the plaintext api_key write path on
Android with authenticated encryption. Adds src-tauri/src/crypto/vault.rs wrapping
Aes256Gcm with a 12-byte random nonce per write; desktop sources the master key from
the OS keyring, Android returns None and refuses new writes (no Android Keystore JNI
shim yet — deferred per delegator).

- New crypto_version tag on rows (1=legacy XOR, 2=AES-GCM) plus *_nonce columns
- Idempotent ALTER TABLE migrations; existing XOR rows still readable via fallback
- get/upsert signatures now take Option<&LocalVault>; store refuses secrets w/o vault
- commands/ai.rs update_ai_settings_cmd routes api_key through the vault on both paths
- Tests: round-trip, nonce uniqueness, tamper detection, wrong-key rejection, legacy read

cargo test -p containerus: 158 passed, 0 failed.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Bumps @angular/{core,compiler,common,forms,platform-browser,router,cdk,build,cli,compiler-cli,platform-browser-dynamic} to 21.2.x to clear CVE-2026-22610 (GHSA-jrmj-c5cx-3cw6) and two follow-up Angular XSS advisories (GHSA-prjf-86w9-mfqv, GHSA-g93w-mfhg-p222).
- Adds pnpm overrides for rollup >=4.60.1, picomatch >=4.0.4, serialize-javascript >=7.0.5 (all transitive through tauri-plugin-keychain) and dompurify >=3.4.0 (transitive through monaco-editor). pnpm audit --prod now reports 0 vulnerabilities.
- Adds a security-audit CI job that runs pnpm audit --prod --audit-level high and cargo audit on every push/PR, wired into the test-results gate.
- Adds .cargo/audit.toml documenting known cargo advisories that require coordinated upstream bumps (russh/libcrux, rusqlite/sqlx, validator/idna, rsa PKCS#1 v1.5) — to be addressed in CON-44 follow-up issues.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8224d8ea-6a20-4dc8-90a4-a864de82e4fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch security/con44-deps-audit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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