Skip to content

Commit 805be28

Browse files
committed
docs: [#439] add cargo audit security reports
1 parent 28b7018 commit 805be28

2 files changed

Lines changed: 93 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Dependency Security Reports
2+
3+
This directory tracks Rust dependency security scans for the deployer workspace.
4+
5+
## Current Status
6+
7+
- Last scan: 2026-04-10
8+
- Tool: `cargo-audit`
9+
- Status: no known RustSec vulnerabilities in `Cargo.lock`
10+
- Latest report: [scans/2026-04-10-cargo-audit.md](scans/2026-04-10-cargo-audit.md)
11+
12+
## Scanning Standard
13+
14+
- Run command: `cargo audit`
15+
- Record date, scanner output summary, and remediation actions.
16+
- If findings remain and cannot be fixed quickly, open a follow-up GitHub issue and link it in the report.
17+
18+
## Related Automation
19+
20+
- Workflow: `.github/workflows/cargo-security-audit.yml`
21+
- RustSec action: <https://github.com/rustsec/audit-check>
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<!-- cspell:ignore RUSTSEC webpki pemfile -->
2+
3+
# Cargo Audit Security Scan - 2026-04-10
4+
5+
## Scan Metadata
6+
7+
- Date: 2026-04-10
8+
- Tool: `cargo-audit`
9+
- Workspace: `torrust-tracker-deployer`
10+
- Command: `cargo audit`
11+
12+
## Baseline (Before Remediation)
13+
14+
Initial scan found 4 vulnerabilities and 1 warning:
15+
16+
1. `RUSTSEC-2026-0066` - `astral-tokio-tar 0.5.6`
17+
1. `RUSTSEC-2026-0007` - `bytes 1.11.0`
18+
1. `RUSTSEC-2026-0049` - `rustls-webpki 0.103.8`
19+
1. `RUSTSEC-2026-0009` - `time 0.3.44`
20+
1. `RUSTSEC-2025-0134` - `rustls-pemfile 2.2.0` (unmaintained warning)
21+
22+
Baseline output excerpt:
23+
24+
```text
25+
error: 4 vulnerabilities found!
26+
warning: 1 allowed warning found
27+
```
28+
29+
## Remediation Actions
30+
31+
Applied updates:
32+
33+
1. Upgraded `testcontainers` in workspace root from `0.26` to `0.27`.
34+
1. Upgraded `testcontainers` in `packages/dependency-installer` dev-dependencies from `0.25` to `0.27`.
35+
1. Refreshed lockfile with `cargo update`.
36+
37+
These updates pulled patched transitive dependencies, including:
38+
39+
- `bytes 1.11.1`
40+
- `time 0.3.47`
41+
- `rustls-webpki 0.103.10`
42+
43+
## Verification (After Remediation)
44+
45+
Command rerun:
46+
47+
```bash
48+
cargo audit
49+
```
50+
51+
Result:
52+
53+
- Exit code: `0`
54+
- No vulnerabilities reported for current lockfile.
55+
56+
Output excerpt:
57+
58+
```text
59+
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
60+
Loaded 1042 security advisories
61+
Scanning Cargo.lock for vulnerabilities (380 crate dependencies)
62+
```
63+
64+
## Follow-up Issues
65+
66+
No follow-up issue was required for this scan because all reported vulnerabilities were resolved through dependency updates.
67+
68+
## Related
69+
70+
- Main task: <https://github.com/torrust/torrust-tracker-deployer/issues/439>
71+
- Workflow: `.github/workflows/cargo-security-audit.yml`
72+
- Dependency report index: `docs/security/dependencies/README.md`

0 commit comments

Comments
 (0)