Commit Graph
8 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5 1ff01a4e39 feat(security): pin resolved addresses and check every redirect hop (#294)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 5m59s
#256 checked a tenant-chosen address before connecting. That left two gaps:
the client resolved the name again when connecting (DNS rebinding), and
redirects were never checked. The git path never resolved the name at all, so
a public-looking host pointing at 10.x or the metadata address was cloned.

- `compliance_core::guarded_net` (feature `net`):
  - `guarded_client_builder` gives reqwest a resolver that *is* the guard: it
    returns only approved addresses, so the connection goes where the check
    said. It also re-checks every redirect hop (at most 5; a refusal names the
    hop) and sets no_proxy.
  - `resolve_approved` does the same for raw TCP callers.
  - `Lookup` is a trait, so tests use a stub resolver instead of live DNS.
- Git: `GitOps::check_remote` resolves and requires public addresses right
  before every clone, and again on every fetch (it re-reads origin). libgit2
  redirects are off. A refused clone leaves no empty checkout behind. The
  unused `test_access` is removed. Full pinning for git is #320 (chosen
  deliberately).
- Gitea tracker (its base URL is the tenant's git host), the DAST orchestrator,
  the pentest tool registry and the cookie analyzer use guarded clients. The
  TLS analyzer and the ICS probes connect to the approved IP.
- The soft-PLC WebVisu DAST scans a platform-started container, so it uses an
  allow-private guard. The browser (external Chrome) cannot be pinned from
  here: #321.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-21 22:19:43 +02:00
sharangandSharang Parnerkar c461faa2fb feat: pentest onboarding — streaming, browser automation, reports, user cleanup (#16)
CI / Deploy MCP (push) Successful in 2s
CI / Check (push) Has been skipped
CI / Detect Changes (push) Successful in 7s
CI / Deploy Agent (push) Successful in 2s
CI / Deploy Dashboard (push) Successful in 2s
CI / Deploy Docs (push) Successful in 2s
Complete pentest feature overhaul: SSE streaming, session-persistent browser tool (CDP), AES-256 credential encryption, auto-screenshots in reports, code-level remediation correlation, SAST triage chunking, context window optimization, test user cleanup (Keycloak/Auth0/Okta), wizard dropdowns, attack chain improvements, architecture docs with Mermaid diagrams.

Co-authored-by: Sharang Parnerkar <parnerkarsharang@gmail.com>
Reviewed-on: https://gitea.meghsakha.com/sharang/compliance-scanner-agent/pulls/16
2026-03-17 20:32:20 +00:00
sharang 3bb690e5bb refactor: modularize codebase and add 404 unit tests (#13)
CI / Format (push) Successful in 4s
CI / Clippy (push) Successful in 4m19s
CI / Detect Changes (push) Successful in 5s
CI / Tests (push) Successful in 5m15s
CI / Deploy Agent (push) Successful in 2s
CI / Deploy Dashboard (push) Successful in 2s
CI / Deploy Docs (push) Has been skipped
CI / Deploy MCP (push) Successful in 2s
CI / Security Audit (push) Successful in 1m44s
2026-03-13 08:03:45 +00:00
sharang acc5b86aa4 feat: AI-driven automated penetration testing (#12)
CI / Clippy (push) Failing after 1m51s
CI / Security Audit (push) Successful in 2m1s
CI / Tests (push) Has been skipped
CI / Detect Changes (push) Has been skipped
CI / Deploy Agent (push) Has been skipped
CI / Deploy Dashboard (push) Has been skipped
CI / Deploy Docs (push) Has been skipped
CI / Format (push) Failing after 42s
CI / Deploy MCP (push) Has been skipped
2026-03-12 14:42:54 +00:00
sharang 4361e67703 fix: resolve cargo audit failures by updating tantivy, scraper, quinn-proto (#9)
CI / Format (push) Successful in 3s
CI / Clippy (push) Successful in 4m22s
CI / Deploy Agent (push) Successful in 4s
CI / Deploy MCP (push) Failing after 2s
CI / Tests (push) Successful in 5m7s
CI / Detect Changes (push) Successful in 7s
CI / Deploy Dashboard (push) Successful in 3s
CI / Deploy Docs (push) Has been skipped
CI / Security Audit (push) Successful in 1m45s
2026-03-10 14:05:24 +00:00
sharangandSharang Parnerkar 42cabf0582 feat: rag-embedding-ai-chat (#1)
CI / Format (push) Successful in 2s
CI / Clippy (push) Successful in 2m56s
CI / Security Audit (push) Successful in 1m25s
CI / Tests (push) Successful in 3m57s
Co-authored-by: Sharang Parnerkar <parnerkarsharang@gmail.com>
Reviewed-on: https://gitea.meghsakha.com/sharang/compliance-scanner-agent/pulls/1
2026-03-06 21:54:15 +00:00
Sharang ParnerkarandClaude Opus 4.6 b18824db25 Add graph explorer components, API handlers, and dependency updates
Adds code inspector, file tree components, graph visualization JS,
graph API handlers, sidebar navigation updates, and misc improvements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:52:49 +01:00
Sharang ParnerkarandClaude Opus 4.6 cea8f59e10 Add DAST, graph modules, toast notifications, and dashboard enhancements
Add DAST scanning and code knowledge graph features across the stack:
- compliance-dast and compliance-graph workspace crates
- Agent API handlers and routes for DAST targets/scans and graph builds
- Core models and traits for DAST and graph domains
- Dashboard pages for DAST targets/findings/overview and graph explorer/impact
- Toast notification system with auto-dismiss for async action feedback
- Button click animations and disabled states for better UX

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 13:53:50 +01:00