Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

verify-content-credentials

/verify-content-credentials

Weryfikuje C2PA Content Credentials w lokalnym pliku oficjalnym c2patool, rozdzielając obecność manifestu, integralność kryptograficzną i zaufanie do podpisującego.

Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
14.08.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
5
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/provenance_core.py, scripts/verify_c2pa.py

Co robi i kiedy

Weryfikuje C2PA Content Credentials w lokalnym pliku oficjalnym c2patool, rozdzielając obecność manifestu, integralność kryptograficzną i zaufanie do podpisującego.

Oryginalny opis (EN)

Verify C2PA Content Credentials in a local asset with the official c2patool, separating manifest presence, cryptographic integrity, and signer trust. Use when a user needs defensible validation instead of byte-marker guesses, including offline and unavailable-verifier cases.

Jak działa

  1. Workflow
  2. Captured-report review mode
  3. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 56 linii, 329 słów
Podgląd SKILL.md
---
name: verify-content-credentials
description: Verify C2PA Content Credentials in a local asset with the official c2patool, separating manifest presence, cryptographic integrity, and signer trust. Use when a user needs defensible validation instead of byte-marker guesses, including offline and unavailable-verifier cases.
---

# Verify Content Credentials

Use the official verifier and preserve uncertainty. A valid signature is not automatically a trusted signer.

All paths below are relative to this skill's directory. If you are running from
elsewhere, use an absolute path to `scripts/verify_c2pa.py`.

## Workflow

1. Preserve the source asset.
2. Confirm `c2patool -V` works, or pass its explicit path with `--c2patool`.
   The wrapper requires c2patool 0.20.0 or newer and reports
   `verifier_supported: false` with an actionable reason on older builds
   rather than degrading silently.
3. Run base integrity verification:

   ```bash
   python3 scripts/verify_c2pa.py /absolute/path/to/asset
   ```

4. When trust evaluation is required, pass a reviewed trust-anchor file or URL:

   ```bash
   python3 scripts/verify_c2pa.py asset.jpg --trust-anchors /absolute/path/to/anchors.pem
   ```

5. Interpret the three result fields independently. Keep `UNKNOWN` or `NOT_CHECKED` intact.
6. The wrapper disables remote-manifest fetching by default. Add `--allow-network` only when remote retrieval is authorized; URL-based trust anchors also require it.
7. Include the verifier version and file hash in any report. Every field exists
   on every code path, so these are always available to quote.
8. Report `manifest.claim_generator` and `manifest.actions` when explaining a
   result. Users usually want to know what the manifest *claims* — whether the
   asset was declared `c2pa.created` or `c2pa.edited` — not only that a
   signature verified.

## Captured-report review mode

Review the structure of captured `c2patool` JSON without executing a binary:

```bash
python3 scripts/verify_c2pa.py --report-json report.json --asset-sha256 SHA256
```

This mode always returns `integrity=NOT_VERIFIED` and a nonzero exit status. Its nested `reported_result` is informational because captured JSON cannot prove that the verifier ran or that the report belongs to the supplied hash.

## Boundaries

- Do not download remote manifests unless the user authorized network access.
- Do not map “verifier missing” to “manifest absent.”
- Do not map `signingCredential.untrusted` to invalid content; report integrity and trust separately.
- Only a successful live verifier run with a recognized summary schema and positive signature evidence can return `VALID`.
- Never expose certificate material unless requested.

Read `references/c2pa-verification.md` before changing classification rules.
Pliki w paczce (5)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB
  • references/c2pa-verification.md 1 KB
  • scripts/provenance_core.py 65 KB
  • scripts/verify_c2pa.py 9 KB

Wersje

W bazie nie ma innych skilli o nazwie verify-content-credentials.

Migawka bazy z 28.10.2026 · wersja paczki e63e7e536169 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100inspect-content-provenance
    Sprawdza lokalne pliki i teksty pod kątem metadanych pochodzenia, znaczników C2PA, haszy i ukrytych znaków sterujących, dając ostrożny inwentarz przed weryfikacją kryptograficzną.
  • 100verifiable-credentials
    Weryfikuje i podpisuje grafy RDF standardem W3C Data Integrity oraz rozwiązuje klucze did:key i did:web.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.