Skip to content
Skills Library
Security · Review & audit

read-only-evidence-capture

/read-only-evidence-capture

Capture enough of a detection to prove it later while never copying the sensitive value itself, so the assessment cannot become the second copy of a leak. Use when a detection must be recorded in a report, a ticket or a shared document

Repository
leaklens ↗
Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Capture enough of a detection to prove it later while never copying the sensitive value itself, so the assessment cannot become the second copy of a leak. Use when a detection must be recorded in a report, a ticket or a shared document

Original author description

Capture enough of a detection to prove it later while never copying the sensitive value itself, so the assessment cannot become the second copy of a leak. Use when a detection must be recorded in a report, a ticket or a shared document

How it works

  1. Procedure
  2. Signals
  3. Patterns
  4. Pitfalls
  5. Done when
  6. References
Original SKILL.md headings · 61 lines, 403 words
SKILL.md preview
---
name: read-only-evidence-capture
description: "Capture enough of a detection to prove it later while never copying the sensitive value itself, so the assessment cannot become the second copy of a leak. Use when a detection must be recorded in a report, a ticket or a shared document"
pack: leaklens
version: 1.0.0
category: data-tool
tags: [scope, evidence, redaction]
---

# Read-Only Evidence Capture

> Capture enough of a detection to prove it later while never copying the sensitive value itself, so the assessment cannot become the second copy of a leak

**Use when:** a detection must be recorded in a report, a ticket or a shared document

**Avoid when:** the finding is a path with no value attached, such as a file missing an exclusion rule

## Procedure

1. Record the path, the line or offset, the class assigned by the rule and a hash or prefix of the value, never the value itself.
2. For personal records, record presence and a hash of a non-identifying region rather than any identifying field.
3. Keep the raw capture in a file excluded from version control with a defined deletion date from the retention rule.
4. Number each evidence entry and link it to the boundary version and the rule version that produced it.
5. Verify before sharing that the evidence file contains no value that would grant access or identify a person.
6. Delete transient captures once the report is filed, keeping only what the disclosure record requires.

## Signals

- A report or ticket contains a complete credential because it was pasted for context
- A raw scan output file sits in a tracked directory
- Evidence has no deletion date and will outlive its purpose
- An evidence entry cannot be tied to the rule version that produced it

## Patterns

**1. Evidence line**

```text
E-014 | path: config/settings.py | line: 42 | class: cloud-key | sha256: 3f2a... | rule v7 | boundary v3
```

**2. Value substitute**

```text
prefix 4 chars plus a hash proves sameness and allows later rotation checks without ever storing the secret
```

**3. Retention note**

```text
raw capture deleted on <date>; report entry retained; both dates recorded when the entry is written
```

## Pitfalls

- Pasting a value into a ticket that a vendor portal will retain permanently
- Keeping raw outputs in the repository, which recreates the exposure being assessed
- Omitting the rule version, so a later reader cannot tell which rule produced the line

## Done when

- No archived evidence contains a usable credential or an identifying personal field
- Every evidence entry carries a number, a rule version and a boundary version

## References

- [NIST SP 800-53 - Audit record content](https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final)
- [OWASP - Sensitive data in logs](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html)

Versions

The database has no other skills named read-only-evidence-capture.

Database snapshot: 13.11.2026 · package version ee6c2af9c95e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

No similar skills in the database.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.