-
Notifications
You must be signed in to change notification settings - Fork 5
Clarify and harden the A.I.G scanner integration #5
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Type
Fields
Priority
None yet
Context
ClawScan currently exposes an
aigscanner adapter for Tencent AI-Infra-Guard. The adapter is useful, but it is not equivalent to the command-backed scanners in the runtime image.A.I.G is a service-backed scanner: ClawScan talks to a running A.I.G API via
AIG_BASE_URLrather than invoking a local CLI. Upstream A.I.G is distributed as a Docker/API service stack, not a simple binary we can reasonably bake intoclawscan-runtime.Current shortcomings
clawscan --scanner aigdoes not work out of the box on a clean install.clawscan-runtimedoes not include or start A.I.G.--scanner aigis requested.clawscan install aigcan only give setup guidance; it cannot install a local scanner binary like it can for command-backed scanners.AIG_BASE_URL, model config env vars, and API keys need to be passed into ClawScan/scanner execution without recording secret values.Desired outcome
Make the
aigscanner honest and reliable as a service-backed integration:aigout of default built-in profiles unless a service is explicitly configured.aig.clawscan scanners aigandclawscan install aigclearly say a running A.I.G service is required.AIG_BASE_URLis unreachable.Non-goals
clawscan-runtimeunless we later decide to make the runtime image an orchestrator.