redloop 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {redloop-0.1.0 → redloop-0.1.1}/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/.github/workflows/release.yml +4 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/workflows/scorecard.yml +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/CHANGELOG.md +10 -0
- {redloop-0.1.0 → redloop-0.1.1}/CITATION.cff +2 -2
- {redloop-0.1.0 → redloop-0.1.1}/PKG-INFO +22 -21
- {redloop-0.1.0 → redloop-0.1.1}/README.md +21 -20
- {redloop-0.1.0 → redloop-0.1.1}/examples/github-workflow.yml +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/pyproject.toml +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/__init__.py +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_cli.py +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_governance_evidence.py +1 -1
- {redloop-0.1.0 → redloop-0.1.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/dependabot.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/workflows/ci.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.github/workflows/live-model.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/.gitignore +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/CODE_OF_CONDUCT.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/CONTRIBUTING.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/LICENSE +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/NOTICE +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/SECURITY.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/action.yml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/demo.svg +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/governance.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/maturity-model.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/methodology.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/probes.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/targets.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/docs/threat-model.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/assessment.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/redloop-http.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/redloop-ollama.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/redloop-openai.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/redloop-sandbox.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/redloop.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/risk-acceptances.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/examples/threatmodel.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/__main__.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/cli.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/config.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/converters.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/crosswalk.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/README.md +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/crosswalk.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/frameworks/iso-42001-annex-a.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/frameworks/mitre-atlas.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/frameworks/nist-ai-rmf-1.0.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/frameworks/owasp-agentic-2026.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/aixwalk/frameworks/owasp-llm-2025.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/maturity-model.json +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/templates/assessment.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/templates/redloop.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/templates/risk-acceptances.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/data/templates/threatmodel.toml +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/detectors.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/evidence.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/governance.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/maturity.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/probes/__init__.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/probes/base.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/probes/catalog.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/py.typed +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/report/__init__.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/report/jsonout.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/report/md.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/report/sarif.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/report/text.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/results.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/runner.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/sandbox.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/__init__.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/base.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/http.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/mock.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/openai.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/targets/transport.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/threats.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/src/redloop/util.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_converters_detectors.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_hygiene.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_maturity.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_runner.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_sandbox.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_targets.py +0 -0
- {redloop-0.1.0 → redloop-0.1.1}/tests/test_threats.py +0 -0
|
@@ -59,6 +59,10 @@ jobs:
|
|
|
59
59
|
version="${GITHUB_REF_NAME#v}"
|
|
60
60
|
awk -v v="$version" '$0 ~ "^## \\[" v "\\]" {f=1; next} /^## \[/ {f=0} f' CHANGELOG.md > notes.md
|
|
61
61
|
[ -s notes.md ] || echo "Release $GITHUB_REF_NAME" > notes.md
|
|
62
|
+
if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then
|
|
63
|
+
gh release upload "$GITHUB_REF_NAME" dist/* --clobber
|
|
64
|
+
exit 0
|
|
65
|
+
fi
|
|
62
66
|
gh release create "$GITHUB_REF_NAME" dist/* --title "redloop $GITHUB_REF_NAME" --notes-file notes.md
|
|
63
67
|
|
|
64
68
|
pypi:
|
|
@@ -4,6 +4,15 @@ All notable changes to this project are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.1.1] - 2026-12-01
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- README uses absolute links, so the demo, badges and links also work on PyPI.
|
|
12
|
+
- Release workflow: re-running a release updates it instead of failing.
|
|
13
|
+
- OpenSSF Scorecard workflow uses `scorecard-action` v2.6.0.
|
|
14
|
+
- README records the first results against a real open-weight model.
|
|
15
|
+
|
|
7
16
|
## [0.1.0] - 2026-11-30
|
|
8
17
|
|
|
9
18
|
### Added
|
|
@@ -38,4 +47,5 @@ All notable changes to this project are documented here. The format follows
|
|
|
38
47
|
- Outputs: text, Markdown, JSON, SARIF 2.1.0. CI gate on severity and attack success rate.
|
|
39
48
|
- Composite GitHub Action.
|
|
40
49
|
|
|
50
|
+
[0.1.1]: https://github.com/rajyavardhan01/redloop/compare/v0.1.0...v0.1.1
|
|
41
51
|
[0.1.0]: https://github.com/rajyavardhan01/redloop/releases/tag/v0.1.0
|
|
@@ -2,8 +2,8 @@ cff-version: 1.2.0
|
|
|
2
2
|
message: "If you use redloop in research or assessments, please cite it as below."
|
|
3
3
|
type: software
|
|
4
4
|
title: "redloop: continuous AI red teaming as code"
|
|
5
|
-
version: 0.1.
|
|
6
|
-
date-released: 2026-
|
|
5
|
+
version: 0.1.1
|
|
6
|
+
date-released: 2026-12-01
|
|
7
7
|
license: Apache-2.0
|
|
8
8
|
repository-code: "https://github.com/rajyavardhan01/redloop"
|
|
9
9
|
keywords:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: redloop
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Continuous AI red teaming as code: threat model, adaptive adversarial tests, resilience maturity scoring, audit-ready evidence and a CI gate. Zero dependencies.
|
|
5
5
|
Project-URL: Homepage, https://github.com/rajyavardhan01/redloop
|
|
6
6
|
Project-URL: Repository, https://github.com/rajyavardhan01/redloop
|
|
@@ -38,13 +38,14 @@ then scores your resilience maturity and produces audit-ready evidence plus a CI
|
|
|
38
38
|
Zero dependencies.
|
|
39
39
|
|
|
40
40
|
[](https://github.com/rajyavardhan01/redloop/actions/workflows/ci.yml)
|
|
41
|
+
[](https://pypi.org/project/redloop/)
|
|
41
42
|
[](https://github.com/rajyavardhan01/redloop/actions/workflows/live-model.yml)
|
|
42
|
-
[](LICENSE)
|
|
43
|
+
[](https://github.com/rajyavardhan01/redloop/blob/main/LICENSE)
|
|
43
44
|

|
|
44
45
|
|
|
45
|
-
<p align="center"><img src="docs/demo.svg" alt="redloop running its probe suite against the mock target and failing the gate" width="860"></p>
|
|
46
|
+
<p align="center"><img src="https://raw.githubusercontent.com/rajyavardhan01/redloop/main/docs/demo.svg" alt="redloop running its probe suite against the mock target and failing the gate" width="860"></p>
|
|
46
47
|
|
|
47
|
-
> Status: alpha (v0.1.
|
|
48
|
+
> Status: alpha (v0.1.1). Interfaces may change before 1.0.
|
|
48
49
|
|
|
49
50
|
```
|
|
50
51
|
threatmodel.toml ──► threat register ──► probe plan ──► adaptive attacks ──► findings ──► CI gate
|
|
@@ -83,7 +84,7 @@ verify. redloop links those steps:
|
|
|
83
84
|
## Quickstart
|
|
84
85
|
|
|
85
86
|
```sh
|
|
86
|
-
pip install
|
|
87
|
+
pip install redloop
|
|
87
88
|
# or from a clone, with nothing to install:
|
|
88
89
|
PYTHONPATH=src python -m redloop run --target mock
|
|
89
90
|
```
|
|
@@ -159,7 +160,7 @@ redloop maturity assessment.toml # scorecard; picks up evidence from ./evid
|
|
|
159
160
|
| `http` | Your own application's JSON API, via a body template with `{{prompt}}`, `{{system}}`, `{{document}}` and a `response_path` | depends on which placeholders you declare |
|
|
160
161
|
|
|
161
162
|
Probes that need a capability the target lacks (for example a planted system prompt) are
|
|
162
|
-
skipped with a reason. See [docs/targets.md](docs/targets.md).
|
|
163
|
+
skipped with a reason. See [docs/targets.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/targets.md).
|
|
163
164
|
|
|
164
165
|
## Probes
|
|
165
166
|
|
|
@@ -179,7 +180,7 @@ skipped with a reason. See [docs/targets.md](docs/targets.md).
|
|
|
179
180
|
|
|
180
181
|
AIX IDs come from [aixwalk](https://github.com/rajyavardhan01/aixwalk), so every finding
|
|
181
182
|
carries OWASP LLM Top 10 (2025), OWASP Agentic Top 10 (2026), MITRE ATLAS, NIST AI RMF and
|
|
182
|
-
ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
183
|
+
ISO/IEC 42001 mappings. Details: [docs/probes.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/probes.md).
|
|
183
184
|
|
|
184
185
|
## Outputs and CI
|
|
185
186
|
|
|
@@ -192,7 +193,7 @@ ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
|
192
193
|
- GitHub Action:
|
|
193
194
|
|
|
194
195
|
```yaml
|
|
195
|
-
- uses: rajyavardhan01/redloop@v0.1.
|
|
196
|
+
- uses: rajyavardhan01/redloop@v0.1.1
|
|
196
197
|
with:
|
|
197
198
|
config: redloop.toml
|
|
198
199
|
fail-on: high
|
|
@@ -201,16 +202,16 @@ ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
|
201
202
|
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
|
202
203
|
```
|
|
203
204
|
|
|
204
|
-
See [examples/github-workflow.yml](examples/github-workflow.yml).
|
|
205
|
+
See [examples/github-workflow.yml](https://github.com/rajyavardhan01/redloop/blob/main/examples/github-workflow.yml).
|
|
205
206
|
|
|
206
207
|
## Documentation
|
|
207
208
|
|
|
208
|
-
- [docs/threat-model.md](docs/threat-model.md): component types, rules, severity rubric and chains
|
|
209
|
-
- [docs/probes.md](docs/probes.md): probes, converters, detectors and the adaptive loop
|
|
210
|
-
- [docs/targets.md](docs/targets.md): configuring mock, openai and http targets, plus the sandbox
|
|
211
|
-
- [docs/maturity-model.md](docs/maturity-model.md): the resilience maturity model v1 and its scoring rules
|
|
212
|
-
- [docs/governance.md](docs/governance.md): risk acceptances, evidence bundles and the gate
|
|
213
|
-
- [docs/methodology.md](docs/methodology.md): how each feature maps to the published methodology
|
|
209
|
+
- [docs/threat-model.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/threat-model.md): component types, rules, severity rubric and chains
|
|
210
|
+
- [docs/probes.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/probes.md): probes, converters, detectors and the adaptive loop
|
|
211
|
+
- [docs/targets.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/targets.md): configuring mock, openai and http targets, plus the sandbox
|
|
212
|
+
- [docs/maturity-model.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/maturity-model.md): the resilience maturity model v1 and its scoring rules
|
|
213
|
+
- [docs/governance.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/governance.md): risk acceptances, evidence bundles and the gate
|
|
214
|
+
- [docs/methodology.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/methodology.md): how each feature maps to the published methodology
|
|
214
215
|
|
|
215
216
|
## How redloop relates to other tools
|
|
216
217
|
|
|
@@ -223,10 +224,10 @@ evidence. The two approaches complement each other.
|
|
|
223
224
|
|
|
224
225
|
## Tested against
|
|
225
226
|
|
|
226
|
-
- **A real model.** The [live model workflow](.github/workflows/live-model.yml) runs the full
|
|
227
|
+
- **A real model.** The [live model workflow](https://github.com/rajyavardhan01/redloop/blob/main/.github/workflows/live-model.yml) runs the full
|
|
227
228
|
probe suite every week against an open-weight model (`qwen2.5:0.5b`) served by Ollama's
|
|
228
229
|
OpenAI-compatible API on a GitHub-hosted runner. No API key is needed
|
|
229
|
-
([`examples/redloop-ollama.toml`](examples/redloop-ollama.toml)). Results appear in the job
|
|
230
|
+
([`examples/redloop-ollama.toml`](https://github.com/rajyavardhan01/redloop/blob/main/examples/redloop-ollama.toml)). Results appear in the job
|
|
230
231
|
summary and are kept as an evidence artifact. A small model is easy to bypass; the point is
|
|
231
232
|
to exercise redloop end to end against a real model and server. In the first runs, 5 of 11
|
|
232
233
|
probes were bypassed: direct and delimiter injection, confidential-context disclosure,
|
|
@@ -269,10 +270,10 @@ and the containerized validation pipeline described in §4.1 of:
|
|
|
269
270
|
Vulnerabilities," *Journal of Information Systems Engineering and Management*, 10(62s),
|
|
270
271
|
941–951, 2025. doi:[10.52783/jisem.v10i62s.13722](https://doi.org/10.52783/jisem.v10i62s.13722)
|
|
271
272
|
|
|
272
|
-
See [docs/methodology.md](docs/methodology.md) for the section-by-section mapping, and
|
|
273
|
-
[CITATION.cff](CITATION.cff) to cite the software.
|
|
273
|
+
See [docs/methodology.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/methodology.md) for the section-by-section mapping, and
|
|
274
|
+
[CITATION.cff](https://github.com/rajyavardhan01/redloop/blob/main/CITATION.cff) to cite the software.
|
|
274
275
|
|
|
275
276
|
## License
|
|
276
277
|
|
|
277
|
-
[Apache-2.0](LICENSE). Third-party reference data is attributed in [NOTICE](NOTICE).
|
|
278
|
-
Only test systems you own or are authorized to test. See [SECURITY.md](SECURITY.md).
|
|
278
|
+
[Apache-2.0](https://github.com/rajyavardhan01/redloop/blob/main/LICENSE). Third-party reference data is attributed in [NOTICE](https://github.com/rajyavardhan01/redloop/blob/main/NOTICE).
|
|
279
|
+
Only test systems you own or are authorized to test. See [SECURITY.md](https://github.com/rajyavardhan01/redloop/blob/main/SECURITY.md).
|
|
@@ -6,13 +6,14 @@ then scores your resilience maturity and produces audit-ready evidence plus a CI
|
|
|
6
6
|
Zero dependencies.
|
|
7
7
|
|
|
8
8
|
[](https://github.com/rajyavardhan01/redloop/actions/workflows/ci.yml)
|
|
9
|
+
[](https://pypi.org/project/redloop/)
|
|
9
10
|
[](https://github.com/rajyavardhan01/redloop/actions/workflows/live-model.yml)
|
|
10
|
-
[](LICENSE)
|
|
11
|
+
[](https://github.com/rajyavardhan01/redloop/blob/main/LICENSE)
|
|
11
12
|

|
|
12
13
|
|
|
13
|
-
<p align="center"><img src="docs/demo.svg" alt="redloop running its probe suite against the mock target and failing the gate" width="860"></p>
|
|
14
|
+
<p align="center"><img src="https://raw.githubusercontent.com/rajyavardhan01/redloop/main/docs/demo.svg" alt="redloop running its probe suite against the mock target and failing the gate" width="860"></p>
|
|
14
15
|
|
|
15
|
-
> Status: alpha (v0.1.
|
|
16
|
+
> Status: alpha (v0.1.1). Interfaces may change before 1.0.
|
|
16
17
|
|
|
17
18
|
```
|
|
18
19
|
threatmodel.toml ──► threat register ──► probe plan ──► adaptive attacks ──► findings ──► CI gate
|
|
@@ -51,7 +52,7 @@ verify. redloop links those steps:
|
|
|
51
52
|
## Quickstart
|
|
52
53
|
|
|
53
54
|
```sh
|
|
54
|
-
pip install
|
|
55
|
+
pip install redloop
|
|
55
56
|
# or from a clone, with nothing to install:
|
|
56
57
|
PYTHONPATH=src python -m redloop run --target mock
|
|
57
58
|
```
|
|
@@ -127,7 +128,7 @@ redloop maturity assessment.toml # scorecard; picks up evidence from ./evid
|
|
|
127
128
|
| `http` | Your own application's JSON API, via a body template with `{{prompt}}`, `{{system}}`, `{{document}}` and a `response_path` | depends on which placeholders you declare |
|
|
128
129
|
|
|
129
130
|
Probes that need a capability the target lacks (for example a planted system prompt) are
|
|
130
|
-
skipped with a reason. See [docs/targets.md](docs/targets.md).
|
|
131
|
+
skipped with a reason. See [docs/targets.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/targets.md).
|
|
131
132
|
|
|
132
133
|
## Probes
|
|
133
134
|
|
|
@@ -147,7 +148,7 @@ skipped with a reason. See [docs/targets.md](docs/targets.md).
|
|
|
147
148
|
|
|
148
149
|
AIX IDs come from [aixwalk](https://github.com/rajyavardhan01/aixwalk), so every finding
|
|
149
150
|
carries OWASP LLM Top 10 (2025), OWASP Agentic Top 10 (2026), MITRE ATLAS, NIST AI RMF and
|
|
150
|
-
ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
151
|
+
ISO/IEC 42001 mappings. Details: [docs/probes.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/probes.md).
|
|
151
152
|
|
|
152
153
|
## Outputs and CI
|
|
153
154
|
|
|
@@ -160,7 +161,7 @@ ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
|
160
161
|
- GitHub Action:
|
|
161
162
|
|
|
162
163
|
```yaml
|
|
163
|
-
- uses: rajyavardhan01/redloop@v0.1.
|
|
164
|
+
- uses: rajyavardhan01/redloop@v0.1.1
|
|
164
165
|
with:
|
|
165
166
|
config: redloop.toml
|
|
166
167
|
fail-on: high
|
|
@@ -169,16 +170,16 @@ ISO/IEC 42001 mappings. Details: [docs/probes.md](docs/probes.md).
|
|
|
169
170
|
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
|
170
171
|
```
|
|
171
172
|
|
|
172
|
-
See [examples/github-workflow.yml](examples/github-workflow.yml).
|
|
173
|
+
See [examples/github-workflow.yml](https://github.com/rajyavardhan01/redloop/blob/main/examples/github-workflow.yml).
|
|
173
174
|
|
|
174
175
|
## Documentation
|
|
175
176
|
|
|
176
|
-
- [docs/threat-model.md](docs/threat-model.md): component types, rules, severity rubric and chains
|
|
177
|
-
- [docs/probes.md](docs/probes.md): probes, converters, detectors and the adaptive loop
|
|
178
|
-
- [docs/targets.md](docs/targets.md): configuring mock, openai and http targets, plus the sandbox
|
|
179
|
-
- [docs/maturity-model.md](docs/maturity-model.md): the resilience maturity model v1 and its scoring rules
|
|
180
|
-
- [docs/governance.md](docs/governance.md): risk acceptances, evidence bundles and the gate
|
|
181
|
-
- [docs/methodology.md](docs/methodology.md): how each feature maps to the published methodology
|
|
177
|
+
- [docs/threat-model.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/threat-model.md): component types, rules, severity rubric and chains
|
|
178
|
+
- [docs/probes.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/probes.md): probes, converters, detectors and the adaptive loop
|
|
179
|
+
- [docs/targets.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/targets.md): configuring mock, openai and http targets, plus the sandbox
|
|
180
|
+
- [docs/maturity-model.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/maturity-model.md): the resilience maturity model v1 and its scoring rules
|
|
181
|
+
- [docs/governance.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/governance.md): risk acceptances, evidence bundles and the gate
|
|
182
|
+
- [docs/methodology.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/methodology.md): how each feature maps to the published methodology
|
|
182
183
|
|
|
183
184
|
## How redloop relates to other tools
|
|
184
185
|
|
|
@@ -191,10 +192,10 @@ evidence. The two approaches complement each other.
|
|
|
191
192
|
|
|
192
193
|
## Tested against
|
|
193
194
|
|
|
194
|
-
- **A real model.** The [live model workflow](.github/workflows/live-model.yml) runs the full
|
|
195
|
+
- **A real model.** The [live model workflow](https://github.com/rajyavardhan01/redloop/blob/main/.github/workflows/live-model.yml) runs the full
|
|
195
196
|
probe suite every week against an open-weight model (`qwen2.5:0.5b`) served by Ollama's
|
|
196
197
|
OpenAI-compatible API on a GitHub-hosted runner. No API key is needed
|
|
197
|
-
([`examples/redloop-ollama.toml`](examples/redloop-ollama.toml)). Results appear in the job
|
|
198
|
+
([`examples/redloop-ollama.toml`](https://github.com/rajyavardhan01/redloop/blob/main/examples/redloop-ollama.toml)). Results appear in the job
|
|
198
199
|
summary and are kept as an evidence artifact. A small model is easy to bypass; the point is
|
|
199
200
|
to exercise redloop end to end against a real model and server. In the first runs, 5 of 11
|
|
200
201
|
probes were bypassed: direct and delimiter injection, confidential-context disclosure,
|
|
@@ -237,10 +238,10 @@ and the containerized validation pipeline described in §4.1 of:
|
|
|
237
238
|
Vulnerabilities," *Journal of Information Systems Engineering and Management*, 10(62s),
|
|
238
239
|
941–951, 2025. doi:[10.52783/jisem.v10i62s.13722](https://doi.org/10.52783/jisem.v10i62s.13722)
|
|
239
240
|
|
|
240
|
-
See [docs/methodology.md](docs/methodology.md) for the section-by-section mapping, and
|
|
241
|
-
[CITATION.cff](CITATION.cff) to cite the software.
|
|
241
|
+
See [docs/methodology.md](https://github.com/rajyavardhan01/redloop/blob/main/docs/methodology.md) for the section-by-section mapping, and
|
|
242
|
+
[CITATION.cff](https://github.com/rajyavardhan01/redloop/blob/main/CITATION.cff) to cite the software.
|
|
242
243
|
|
|
243
244
|
## License
|
|
244
245
|
|
|
245
|
-
[Apache-2.0](LICENSE). Third-party reference data is attributed in [NOTICE](NOTICE).
|
|
246
|
-
Only test systems you own or are authorized to test. See [SECURITY.md](SECURITY.md).
|
|
246
|
+
[Apache-2.0](https://github.com/rajyavardhan01/redloop/blob/main/LICENSE). Third-party reference data is attributed in [NOTICE](https://github.com/rajyavardhan01/redloop/blob/main/NOTICE).
|
|
247
|
+
Only test systems you own or are authorized to test. See [SECURITY.md](https://github.com/rajyavardhan01/redloop/blob/main/SECURITY.md).
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "redloop"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "Continuous AI red teaming as code: threat model, adaptive adversarial tests, resilience maturity scoring, audit-ready evidence and a CI gate. Zero dependencies."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -188,7 +188,7 @@ class OtherCommands(unittest.TestCase):
|
|
|
188
188
|
def test_version(self):
|
|
189
189
|
code, out, _ = run("--version")
|
|
190
190
|
self.assertEqual(code, 0)
|
|
191
|
-
self.assertIn("
|
|
191
|
+
self.assertIn(__import__("redloop").__version__, out)
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
if __name__ == "__main__":
|
|
@@ -98,7 +98,7 @@ class EvidenceBundles(unittest.TestCase):
|
|
|
98
98
|
run = json.loads((bundle / "run.json").read_text())
|
|
99
99
|
self.assertTrue(run["ci"])
|
|
100
100
|
self.assertEqual(run["commit"], "abc123")
|
|
101
|
-
self.assertEqual(run["redloop_version"], "
|
|
101
|
+
self.assertEqual(run["redloop_version"], __import__("redloop").__version__)
|
|
102
102
|
self.assertIn("RL-PI-001", run["probes_run"])
|
|
103
103
|
self.assertNotIn("SUPERSECRET", (bundle / "sandbox-run.log").read_text())
|
|
104
104
|
lines = (bundle / "transcript.jsonl").read_text().splitlines()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|