@cofhe/mock-contracts
Mock smart contracts for testing CoFHE with FHE primitives locally
11
Versions
MIT
License
No
Install Scripts
Verified
Provenance
Supply chain provenance
Status for the latest visible version.
SLSA provenance attestation
npm registry signatures
No source commit
Maintainers
tovi-fhefhenixprotocolrogue-rotkoskytoml-fhenix
Keywords
blockchainethereumsmart-contractssolidityFHEencryptionprivacycoprocessorfhenixcofhe
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| source-diff | encoded-string-file:src/MockQueryDecrypter.ts | AI (source-diff): EVM bytecode in Solidity ABI artifact; expected for mock-contracts package. | ai | |
| source-diff | encoded-string-file:dist/index.js | AI (source-diff): Long strings are EVM bytecode hex in compiled contract artifacts, not malicious payloads. | ai | |
| source-diff | encoded-string-file:dist/index.mjs | AI (source-diff): Same as dist/index.js — EVM bytecode in contract artifact data. | ai | |
| source-diff | encoded-string-file:src/MockACL.ts | AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. | ai | |
| source-diff | encoded-string-file:src/MockTaskManager.ts | AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. | ai | |
| source-diff | obfuscated-file:src/MockThresholdNetwork.ts | AI (source-diff): Auto-generated Solidity artifact file containing ABI and EVM bytecode strings; not obfuscated JS. | ai | |
| source-diff | encoded-string-file:src/TestBed.ts | AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. | ai | |
| phantom-deps | phantom-dep:@openzeppelin/contracts | AI (phantom-deps): Used in Solidity/Foundry config (remappings), not imported in JS/TS directly. | ai | |
| phantom-deps | phantom-dep:@fhenixprotocol/cofhe-contracts | AI (phantom-deps): Solidity dependency referenced in Foundry config, not JS imports. | ai | |
| phantom-deps | phantom-dep:@openzeppelin/contracts-upgradeable | AI (phantom-deps): Solidity dependency referenced in Foundry config, not JS imports. | ai | |
| source-diff | encoded-string-file:src/MockZkVerifier.ts | AI (source-diff): EVM bytecode embedded in Solidity artifact TypeScript file. | ai |