Record of Processing Activities & GDPR Compliance¶
Document type: Record of processing activities (GDPR Article 30)
Regulation: Regulation (EU) 2016/679 — GDPR
Repod version: 1.x
Last updated: 2026-11-10
Document owner: Data Protection Officer (DPO) of the organisation deploying Repod
Repod is a self-hosted B2B tool
Repod collects no data on behalf of Anthropic or the vendor. The organisation that deploys Repod is the sole data controller within the meaning of GDPR Article 4(7). This document provides the pre-filled record that this organisation must adapt and keep.
1. Data controller¶
To be completed by the deploying organisation:
| Field | Value |
|---|---|
| Legal name | (To be completed) |
| Registered address | (To be completed) |
| DPO contact | (To be completed — mandatory if Article 37 applies) |
| EU representative (if outside the EU) | (To be completed if applicable) |
2. Record of processing activities (GDPR Article 30)¶
Processing T-01 — User account management¶
| Article 30 field | Detail |
|---|---|
| Purpose | Authentication and access control for the Repod administration interface |
| Legal basis | Legitimate interest (Art. 6(1)(f)) — security of the internal information system |
| Categories of data subjects | Employees and contractors authorised to manage the internal package repository |
| Categories of data | Username, email address, bcrypt password hash (irreversible), full name, RBAC role (admin, maintainer, uploader, auditor, reader), MFA flag, TOTP secret (encrypted), failed-login counter, lockout timestamp, last-login date |
| Recipients | Repod administrators only — no transfer to third parties |
| Transfers outside the EU | None (self-hosted) |
| Retention | Duration of the employment/service relationship + 1 year after the account is deactivated |
| Security measures | bcrypt with 12 rounds, HMAC-SHA256 for API tokens, optional TOTP MFA, lockout after repeated failed logins (5 attempts for 15 minutes by default, LOGIN_MAX_ATTEMPTS / LOGIN_LOCKOUT_MINUTES), encryption at rest recommended (LUKS/dm-crypt) |
| File/database | users table (PostgreSQL, DATABASE_URL) |
Processing T-02 — Authentication log¶
| Article 30 field | Detail |
|---|---|
| Purpose | Detecting intrusion attempts, forensics after a security incident |
| Legal basis | Legal obligation (Art. 6(1)(c)) — GDPR Article 32 (security of processing); legitimate interest for intrusion detection |
| Categories of data subjects | Anyone attempting to authenticate on the Repod instance |
| Categories of data | Source IP address, username entered, result (SUCCESS/FAILURE), timestamp, event type (LOGIN, LOGOUT) |
| Recipients | Repod administrators, the organisation's security team |
| Transfers outside the EU | None (self-hosted) |
| Retention | 90 days by default (configurable through retention.audit_days in the Repod settings) |
| Security measures | Append-only JSONL logs (no deletion API), auditor role at minimum to read them |
| File/database | repos/audit/audit_*.jsonl |
Processing T-03 — SSH client inventory (agents)¶
| Article 30 field | Detail |
|---|---|
| Purpose | Inventory of the packages installed on managed servers, detection of vulnerable packages |
| Legal basis | Legitimate interest (Art. 6(1)(f)) — vulnerability management across the IT estate |
| Categories of data subjects | System administrators responsible for the registered servers |
| Categories of data | Server IP address or hostname, SHA-256 fingerprint of the SSH host key (TOFU), list of installed packages (name + version), last-scan timestamp, OS/distribution |
| Recipients | Repod administrators, security team |
| Transfers outside the EU | None (self-hosted) |
| Retention | Lifetime of the server in the inventory + 30 days after manual removal |
| Security measures | Key-authenticated SSH connection, TOFU policy with mismatch detection, no storage of the target servers' private keys |
| File/database | PostgreSQL (DATABASE_URL) — tables inventory_clients, inventory_packages, ssh_known_hosts |
Processing T-04 — Business-action audit log¶
| Article 30 field | Detail |
|---|---|
| Purpose | Regulatory traceability of package operations (upload, deletion, CISO decisions, installation), NIS2 Article 21 compliance |
| Legal basis | Legal obligation (Art. 6(1)(c)) for entities subject to NIS2; legitimate interest otherwise |
| Categories of data subjects | Repod users performing actions (uploads, deletions, CVE decisions) |
| Categories of data | Username, role, action performed, result, package name, version, technical detail, timestamp, IP address (if passed on by a proxy) |
| Recipients | Repod administrators, auditors (auditor), security team, management (reports) |
| Transfers outside the EU | None (self-hosted) |
| Retention | 90 days by default; 1 year recommended for NIS2 compliance (retention.audit_days=365) |
| Security measures | Append-only, auditor role required to read, no modification API |
| File/database | repos/audit/audit_*.jsonl |
Processing T-05 — CI/CD API tokens¶
| Article 30 field | Detail |
|---|---|
| Purpose | Authenticating continuous-integration pipelines without an interactive password |
| Legal basis | Legitimate interest (Art. 6(1)(f)) — secure automation |
| Categories of data subjects | Administrators who create tokens (indirectly: the creator's identifier is kept) |
| Categories of data | Functional token name (e.g. ci-pipeline-prod), associated role, creator identifier (admin username), HMAC-SHA256 hash of the token (irreversible), creation/expiry/last-use dates |
| Recipients | Repod administrators only |
| Transfers outside the EU | None |
| Retention | Until explicit revocation or expiry; deleted immediately on revocation |
| Security measures | HMAC-SHA256 keyed with JWT_SECRET_KEY, token never stored in clear, repod_ prefix for identification, revocable at any time |
| File/database | api_tokens table (PostgreSQL, DATABASE_URL) |
Processing T-06 — GitHub Advisory / CISA KEV webhooks¶
| Article 30 field | Detail |
|---|---|
| Purpose | Automatic reception of vulnerability alerts from external sources |
| Legal basis | Legitimate interest (Art. 6(1)(f)) — vulnerability monitoring |
| Categories of data subjects | No natural person is directly concerned (technical data only) |
| Categories of data | CVE metadata (ID, CVSS score, affected packages), signed HMAC payload, reception timestamp |
| Recipients | Internal Repod system only |
| Transfers outside the EU | Data received from GitHub (US) — inbound flow only, nothing sent back |
| Retention | Same as the CVE records: lifetime of the package concerned |
| Security measures | HMAC-SHA256 verification of the WEBHOOK_SECRET on every payload, unsigned payloads rejected |
| File/database | Internal CVE database + audit logs |
3. Data subject rights¶
Applicable rights (GDPR Articles 15–22)¶
| Right | Applicable? | How to exercise it in Repod |
|---|---|---|
| Access (Art. 15) | ✅ | Self-service export through GET /auth/users/{username}/export (the person themselves or an admin), or a request to the DPO |
| Rectification (Art. 16) | ✅ | Account edited by an admin or the DPO |
| Erasure (Art. 17) | ⚠️ Partial | Self-service erasure through DELETE /auth/users/{username}/gdpr (the password must be re-confirmed; an admin cannot erase their own account); audit logs are kept (legal obligation, Art. 17(3)(b)) |
| Restriction (Art. 18) | ✅ | Deactivating the account (is_active=false) without deleting it |
| Portability (Art. 20) | ✅ | JSON export through the API, or a PostgreSQL export (pg_dump / SQL query) |
| Objection (Art. 21) | ⚠️ | Applicable to authentication logs — request handled by the DPO |
| Automated decision-making (Art. 22) | ✅ N/A | No automated decision affects individuals (the brute-force lockout concerns system security) |
Procedure for exercising rights¶
- The data subject sends the request to the organisation's DPO by email or internal form.
- The DPO has 30 days to reply (GDPR Art. 12(3)).
- For technical operations (extraction, deletion), the DPO coordinates with the Repod administrator.
- Exports and erasures done through the API are themselves logged in the audit log, with the actions
GDPR_EXPORTandGDPR_DELETE.
4. Technical and organisational security measures (Article 32)¶
Technical measures implemented in Repod¶
| Measure | Implementation |
|---|---|
| Password hashing | bcrypt with 12 salt rounds — irreversible |
| API token hashing | HMAC-SHA256 keyed with JWT_SECRET_KEY — resistant to rainbow tables |
| Strong authentication | TOTP MFA (RFC 6238) available, lockout after repeated failed logins |
| RBAC access control | 5 roles following the least-privilege principle |
| Audit logging | Append-only JSONL, access restricted to the auditor role |
| Secure SSH | TOFU policy with MitM detection (SSHHostKeyMismatchError) |
| Webhook validation | HMAC-SHA256 mandatory in production (WEBHOOK_SECRET) |
| Antivirus scan | ClamAV on every uploaded file |
| Vulnerability scan | Grype (NVD + GitHub Advisory + CISA KEV) on every upload |
| Encrypted transport | HTTPS/TLS recommended through a reverse proxy (see the deployment documentation) |
| Package integrity | GPG signature + SHA-256 check against the upstream index |
Organisational measures recommended to the deploying organisation¶
- Encrypt the volume hosting
repos/(LUKS, dm-crypt, VeraCrypt) - Encrypted backup with a dedicated GPG key (see
backup.sh) - Network segmentation: Repod reachable only from the internal network
- Password policy (minimum length of 12 characters) enforced through LDAP/AD
- Quarterly review of active accounts and API tokens
- Data-breach notification procedure (GDPR Art. 33 — 72 hours to the supervisory authority)
- Security incident register kept up to date
5. Retention periods — summary¶
| Data | Default period | Configuration | Legal basis |
|---|---|---|---|
| Active user accounts | Duration of activity | Manual deletion | Contractual necessity |
| Deactivated accounts | +1 year | Manual deletion | Legitimate interest (audit) |
| Authentication logs | 90 days | retention.audit_days (settings) |
GDPR Art. 32 / NIS2 |
| Business audit log | 90 days | retention.audit_days (settings) |
GDPR Art. 32 / NIS2 |
| API tokens | Until revoked | expires_days at creation |
Functional necessity |
| SSH inventory | Lifetime of the server | Manual deletion | Legitimate interest |
| Package versions | 10 versions per package (default) | versioning.max_versions_per_package |
Legitimate interest |
NIS2 recommendation
For entities subject to the NIS2 directive, set
retention.audit_days = 365 to keep 12 months of audit history.
6. Data protection impact assessment (DPIA)¶
Residual risk assessment¶
A formal DPIA (GDPR Art. 35) is required if the deploying organisation:
- Processes sensitive data (GDPR Art. 9) on the inventoried servers
- Deploys Repod to manage packages in a healthcare, justice or national security context
- Uses Repod for more than 5,000 indirectly concerned data subjects
Residual risks identified in Repod v1.x:
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| Unauthorised access to the PostgreSQL database (server compromise) | Low | High | Encrypt the postgres_data volume + GPG-encrypted backup |
| Audit-log exfiltration through the API | Very low | Medium | auditor role required, rate limiting |
| Reuse of a compromised API token | Low | High | Immediate revocation possible, short expiry recommended |
| Authentication logs containing personal IP addresses | Low | Low | 90-day retention, no automatic export |
7. Processors and transfers outside the EU¶
Because Repod is entirely self-hosted, there is no processor by default.
Exception — if the organisation enables the following integrations:
| Integration | Processor | Country | Transfer mechanism | Data transferred |
|---|---|---|---|---|
| GitHub Advisory webhook | GitHub, Inc. | United States | SCC (Standard Contractual Clauses) | CVE metadata only (no personal data) |
| CISA KEV webhook | CISA (US Gov) | United States | No transfer (public inbound flow) | No personal data |
| LDAP/Active Directory | Internal directory | (Internal) | N/A | Username, email, groups |
| SMTP (email notifications) | SMTP provider | (To be completed) | SCC if outside the EU | Recipient email address |
8. User privacy notice (template)¶
This template is to be adapted and published for the users of your Repod instance.
Information notice — Processing of your personal data¶
Who processes your data? [Organisation name], [address], data controller, operates Repod to manage its internal package repository.
Why is your data processed? Your data (identifier, email, actions performed) is processed exclusively to: - Let you access the tool according to your permissions; - Ensure the traceability of operations for security and regulatory compliance reasons.
For how long? Your account is kept for the duration of your contractual relationship with [the organisation] and deleted within a year after it is deactivated. Audit traces are kept [90 days / 1 year — to be completed].
What are your rights? You can exercise your rights of access, rectification, erasure (within legal limits) and restriction by contacting [DPO address]. You can also lodge a complaint with your national supervisory authority.
9. Appendix — Data Processing Agreement (DPA)¶
To be used if Repod is deployed by a service provider on behalf of a client (controller → processor relationship).
Data processing agreement — template¶
Between: - The data controller: [Client name], hereinafter "the Client" - The processor: [Name of the provider deploying Repod], hereinafter "the Provider"
Effective date: To be completed
Article 1 — Subject matter and duration¶
The Provider processes personal data on behalf of the Client as part of the deployment and operation of the Repod software (internal package repository manager). This agreement takes effect on the date of signature and remains in force for the duration of the main contract.
Article 2 — Nature and purpose of the processing¶
| Parameter | Detail |
|---|---|
| Nature | Storage, consultation and deletion of authentication and audit data |
| Purpose | Operating the internal package repository, traceability of operations |
| Type of data | See the record of processing activities §2 (T-01 to T-05) |
| Data subjects | The Client's employees and contractors |
Article 3 — Processor's obligations (GDPR Art. 28)¶
The Provider undertakes to:
- Process the data only for the purposes defined in Article 2 and on the Client's documented instructions.
- Guarantee the confidentiality of the data — persons authorised to process it are bound by a confidentiality obligation.
- Implement the security measures referred to in GDPR Article 32, in particular those described in §4 of this record.
- Not engage another processor without the Client's prior written authorisation. If authorised, the same level of protection is imposed on the sub-processor by contract.
- Assist the Client in handling data subjects' rights and in meeting its obligations under GDPR Articles 32 to 36.
- Delete or return all personal data at the end of the contract, at the Client's choice, and delete existing copies.
- Make available all the information necessary to demonstrate compliance with the GDPR obligations and to allow audits.
Article 4 — Controller's obligations¶
The Client undertakes to:
- Give the Provider documented and lawful instructions.
- Inform data subjects beforehand (§8 of this document).
- Ensure the processing has a valid legal basis.
- Notify any data breach to the supervisory authority within 72 hours (GDPR Art. 33).
Article 5 — Security and data breaches¶
In the event of a breach affecting the Client's personal data, the Provider notifies the Client within 24 hours of detection, with: - The nature of the breach - The categories and volume of data concerned - The measures taken or envisaged
Article 6 — Governing law¶
This agreement is governed by the law of the country chosen by the parties. In the event of a dispute, the parties undertake to seek an amicable solution before any legal action.
End of the record of processing activities and DPA template.
Review this document annually or whenever the processing changes significantly.