You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Model**| Claude Sonnet 4 (`us.anthropic.claude-sonnet-4-20250514-v1:0`)|
37
+
|**Access Method**| Amazon Bedrock API (on-demand)|
38
+
|**Data Retention**| None — Amazon Bedrock does not retain customer prompt/completion data |
39
+
|**Training Data Usage**| None — customer data is not used for model training |
39
40
40
41
### Legal Approval and Right to Use
41
42
42
-
| Component | License/Terms | Approval Status |
43
-
|-----------|--------------|-----------------|
44
-
|**Claude Sonnet (via Amazon Bedrock)**|[AWS Service Terms](https://aws.amazon.com/service-terms/) — Amazon Bedrock section | Pre-approved: Amazon Bedrock marketplace models are available to all AWS customers with Amazon Bedrock access. No separate Anthropic license required. |
45
-
|**Strands Agents SDK** (`strands-agents`) | Apache License 2.0 ([source](https://github.com/strands-agents/strands-agents)) | Pre-approved: Open-source, permissive license compatible with MIT. No usage restrictions or distribution limitations. |
46
-
|**Strands Agents Tools** (`strands-agents-tools`) | Apache License 2.0 | Pre-approved: Same terms as strands-agents SDK. |
47
-
|**boto3** (AWS SDK) | Apache License 2.0 | Pre-approved: Official AWS SDK, open source. |
|**Claude Sonnet (via Amazon Bedrock)**|[AWS Service Terms](https://aws.amazon.com/service-terms/) — Amazon Bedrock section | Pre-approved: Amazon Bedrock marketplace models are available to all AWS customers with Amazon Bedrock access. No separate Anthropic license required. |
46
+
|**Strands Agents SDK** (`strands-agents`) | Apache License 2.0 ([source](https://github.com/strands-agents/strands-agents)) | Pre-approved: Open-source, permissive license compatible with MIT. No usage restrictions or distribution limitations.|
47
+
|**Strands Agents Tools** (`strands-agents-tools`) | Apache License 2.0 | Pre-approved: Same terms as strands-agents SDK.|
48
+
|**boto3** (AWS SDK) | Apache License 2.0 | Pre-approved: Official AWS SDK, open source.|
48
49
49
50
**Organizational approval**: Users deploying this tool should verify that their organization's policies permit the use of Amazon Bedrock and the Claude model family. Many organizations pre-approve all Amazon Bedrock marketplace models under their AWS Enterprise Agreement.
50
51
51
52
## Third-Party Framework Usage
52
53
53
54
### Strands Agents SDK
54
55
55
-
| Attribute | Value |
56
-
|-----------|-------|
57
-
|**Package**|`strands-agents`|
58
-
|**License**| Apache License 2.0 |
59
-
|**Source**| Open source |
60
-
|**Purpose**| Agent orchestration framework for Amazon Bedrock model invocation |
|**Purpose**| Agent orchestration framework for Amazon Bedrock model invocation|
61
62
|**Data Handling**| SDK passes prompts to Amazon Bedrock API; no independent data collection |
62
63
63
64
## Implemented AI Security Controls
64
65
65
66
The following security controls are implemented in `src/traceability/agent.py` and the pipeline:
66
67
67
-
| Control | Implementation | File:Line|
68
-
|---------|---------------|-----------|
69
-
|**Input isolation**| Each of 4 agents receives only its relevant artifact pair; no cross-agent data leakage |`agent.py:86-170`|
70
-
|**Static system prompts**| System prompts are hardcoded strings; no user input is injected into system prompts |`agent.py:86-170`|
71
-
|**Output format enforcement**| Agents are instructed to respond in JSON only; non-JSON responses are discarded |`agent.py:173-228`|
72
-
|**Artifact ID validation**| All `source_id` and `target_id` values validated against known parsed artifact IDs |`agent.py:189-215`|
73
-
|**Invalid relationship filtering**| Relationships referencing non-existent artifacts are silently discarded and counted |`agent.py:205-215`|
74
-
|**Output sanitization**| AI-generated text is not rendered as raw content; only validated artifact IDs are used to create graph edges. Report generators escape all artifact content via `html.escape()` before rendering |`generators/html.py:116-117`|
75
-
|**Graceful degradation**| Amazon Bedrock failures are caught; pipeline falls back to heuristic-only analysis |`pipeline.py:229-234`|
76
-
|**Data volume limits**| Source code reading limited to 30 files, 200 lines each |`agent.py:50-65`|
77
-
|**No code execution**| No `eval()`, `exec()`, or dynamic code execution of AI responses | Verified by Bandit scan |
78
-
|**Configurable opt-out**| AI analysis is fully optional via `--no-ai` flag |`cli.py:26`|
|**Input isolation**| Each of 4 agents receives only its relevant artifact pair; no cross-agent data leakage |`agent.py:86-170`|
71
+
|**Static system prompts**| System prompts are hardcoded strings; no user input is injected into system prompts |`agent.py:86-170`|
72
+
|**Output format enforcement**| Agents are instructed to respond in JSON only; non-JSON responses are discarded |`agent.py:173-228`|
73
+
|**Artifact ID validation**| All `source_id` and `target_id` values validated against known parsed artifact IDs |`agent.py:189-215`|
74
+
|**Invalid relationship filtering**| Relationships referencing non-existent artifacts are silently discarded and counted |`agent.py:205-215`|
75
+
|**Output sanitization**| AI-generated text is not rendered as raw content; only validated artifact IDs are used to create graph edges. Report generators escape all artifact content via `html.escape()` before rendering |`generators/html.py:116-117`|
76
+
|**Graceful degradation**| Amazon Bedrock failures are caught; pipeline falls back to heuristic-only analysis |`pipeline.py:229-234`|
77
+
|**Data volume limits**| Source code reading limited to 30 files, 200 lines each |`agent.py:50-65`|
78
+
|**No code execution**| No `eval()`, `exec()`, or dynamic code execution of AI responses | Verified by Bandit scan|
79
+
|**Configurable opt-out**| AI analysis is fully optional via `--no-ai` flag |`cli.py:26`|
79
80
80
81
For detailed technical documentation of these controls, see [docs/ai-security.md](ai-security.md).
81
82
82
83
## No Training Data Used
83
84
84
85
This tool does not:
86
+
85
87
- Train or fine-tune any AI models
86
88
- Create or manage training datasets
87
89
- Store AI interaction data for future training
@@ -95,11 +97,11 @@ The AI agents perform **artifact relationship mapping** — connecting requireme
95
97
96
98
### Potential Bias Vectors
97
99
98
-
| Vector | Risk | Mitigation |
99
-
|--------|------|-----------|
100
-
| Naming bias | AI may favor artifacts with descriptive names over terse ones | Heuristic linker provides baseline; AI adds to it |
101
-
| Language bias | Non-English artifact names may produce fewer matches | Not applicable — tool targets English-language AI-DLC projects |
102
-
| Completeness bias | AI may over-connect well-documented artifacts, under-connect sparse ones | Gap analysis independently identifies unconnected artifacts |
0 commit comments