noir
Fail
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to install toolchains by piping remote shell scripts directly into bash. This pattern is highly susceptible to supply chain attacks and remote code execution if the source is compromised.
- Evidence:
curl -L https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install | bashinSKILL.md. - Evidence:
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bashinSKILL.md. - [COMMAND_EXECUTION]: The skill relies extensively on shell commands for compiling circuits, generating proofs, and managing project infrastructure.
- Evidence: Execution of
nargo compile,nargo execute,bb write_vk, andbb write_solidity_verifierfor the build pipeline. - Evidence: Local testing using
bb proveandbb verify. - [EXTERNAL_DOWNLOADS]: The skill fetches various dependencies and tools from GitHub repositories and package registries.
- Evidence: GitHub dependencies in
Nargo.tomlforposeidonandzk-kit.noir. - Evidence: Installation of MCP servers and Node.js packages like
@noir-lang/noir_jsand@aztec/bb.js. - [DYNAMIC_EXECUTION]: The skill uses the NoirJS library to dynamically load and execute circuit bytecode within a browser or Node.js environment.
- Evidence:
const backend = new UltraHonkBackend(circuit.bytecode, bb);followed byawait noir.execute(inputs);. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data which could be manipulated to influence the agent's behavior.
- Ingestion points: Circuit artifacts (
.jsonfiles) loaded viafetch, prover inputs fromProver.toml, and Merkle tree siblings derived from blockchain events. - Boundary markers: No explicit delimiters or instructions are provided to the agent to ignore potentially malicious embedded content in these inputs.
- Capability inventory: The agent has access to shell execution (
nargo,bb), file writing to the project directory, and network access via package managers andcurl. - Sanitization: No sanitization or schema validation steps are described for the circuit artifacts or external Merkle data.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install, https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata