Private Interop

C 67 completed
Blockchain
unknown / rust · tiny
14
Files
2,784
LOC
0
Frameworks
3
Languages

Pipeline State

completed
Run ID
#361741
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
56.47
Framework unique
Isolation
Last stage change
2026-05-10 03:34:57
Deduplication group #50197
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (1)
Blockchain/Web3
Repobility · MCP-ready · https://repobility.com

AI Prompt

Create a secure, private messaging inbox system using Solidity and Rust. The core functionality involves a `PrividiumInbox` contract that handles BN254 ECIES-encrypted messages on-chain. I need the system to support key rotation for the inbox owner and securely decrypt messages sent to it. Additionally, I need a reference CLI written in Rust (`prividium-ecies`) that can encrypt messages off-chain, generating an `EnvelopeV1` structure, and providing the necessary `calldata` to submit to the inbox contract for decryption and dispatching the plaintext to a specified target receiver. Please ensure the system uses keccak for MAC and stream cipher XOR for encryption.
solidity rust cryptography blockchain messaging ecies foundry bn254 security
Generated by gemma4:latest

Catalog Information

A Solidity-based private messaging inbox that decrypts BN254 ECIES-encrypted messages on-chain for secure, off-chain communication.

Description

Prividium Inbox is a Solidity library that implements a private messaging inbox on Ethereum. It receives messages encrypted with BN254 ECIES, decrypts them on-chain, and forwards the plaintext to a designated receiver contract. The inbox stores a private key scalar and caches the derived public key, allowing key rotation by an admin to maintain long‑term security. Off‑chain clients encrypt messages using a Rust CLI that follows the same cryptographic profile, ensuring no plaintext is ever emitted in events or logs. This solution enables secure, off‑chain communication for decentralized applications while keeping all sensitive data off the public chain.

الوصف

يُقدّم هذا المشروع حافظة رسائل خاصة تُنفّذ على شبكة البلوكتشين، حيث تستقبل الرسائل المشفرة باستخدام بروتوكول ECIES على منحنى BN254 وتقوم بفك تشفيرها داخل العقد. يتم تخزين مفتاح الخصوصية في العقد مع حفظ المفتاح العام المشتق، مع إمكانية تدوير المفتاح عبر وظيفة خاصة بالمسؤول لضمان أمان طويل الأمد. تُرسل الرسائل المشفرة من خارج السلسلة باستخدام أداة Rust مرفقة، ثم تُستلم عبر دالة decryptAndDispatch التي تتحقق من سلامة MAC وتفريغ الرسالة إلى المستلم المحدد. تستهدف المطورين الذين يبنون تطبيقات لامركزية تحتاج إلى قناة اتصال آمنة بين الطرفين دون كشف النصّ الواضح في السجلات العامة. يحل المشروع مشكلة كشف المحتوى في الأحداث أو السجلات، ويمنح المطورين وسيلة موحدة لإدارة المفاتيح وتدويرها. يميز المشروع بدمج بروتوكول تشفير قوي مع واجهة بسيطة للقراءة والكتابة، مع دعم للمعايير الأمنية الحديثة.

Novelty

7/10

Tags

private-messaging on-chain-decryption encrypted-inbox key-management secure-communication message-dispatch cryptographic-protocol

Claude Models

claude-opus-4.6

Quality Score

C
67.1/100
Structure
60
Code Quality
75
Documentation
36
Testing
70
Practices
77
Security
90
Dependencies
60

Strengths

  • Good test coverage (200% test-to-source ratio)
  • Good security practices \u2014 no major issues detected

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No CI/CD configuration \u2014 manual testing and deployment
  • Potential hardcoded secrets in 1 files

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)
  • Move hardcoded secrets to environment variables or a secrets manager

Security & Health

4.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (4)
Same scanner, your repo: https://repobility.com — Repobility
Unknown
License
0.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

rust
55.8%
markdown
37.4%
toml
6.8%

Frameworks

None detected

Concepts (1)

Same analyzer free for public repos: https://repobility.com
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence · https://repobility.com
auto_categoryBlockchain/Web3blockchain60%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/85896.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV