
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@stacks/rendezvous
Advanced tools
rv: The Clarity FuzzerRendezvous rv is a Clarity fuzzer designed to cut through your smart contract's defenses with precision. Uncover vulnerabilities with unmatched power and intensity. Get ready to meet your contract's vulnerabilities head-on.
The rv fuzzer, inspired by John Hughes' paper "Testing the Hard Stuff and Staying Sane"1, ensures contract robustness with Clarity invariants and tests.
root
├── Clarinet.toml
├── contracts
│ ├── contract.clar
│ ├── contract.tests.clar
└── settings
└── Devnet.toml
npm install @stacks/rendezvous
npx rv <path-to-clarinet-project> <contract-name> <type>
Positional arguments:
path-to-clarinet-project - Path to the root directory of the Clarinet project (where Clarinet.toml exists).contract-name - Name of the contract to test, per Clarinet.toml.type - Type of test to run. Options:
test - Run property-based tests.invariant - Run invariant tests.Options:
--seed – The seed to use for the replay functionality.--runs – The number of test iterations to use for exercising the contracts.
(default: 100)--bail – Stop after the first failure.--dial – The path to a JavaScript file containing custom pre- and
post-execution functions (dialers).test)Here's an example of a test that checks reversing a list twice returns the original:
(define-public (test-reverse-list (seq (list 127 uint)))
(begin
(asserts!
(is-eq seq
(reverse-uint
(reverse-uint seq)))
(err u999))
(ok true)))
You can run property-based tests using rv with the following command:
rv example reverse test
invariant)Here's a Clarity invariant to detect a bug in the example counter contract:
(define-read-only (invariant-counter-gt-zero)
(let
((increment-num-calls (default-to u0 (get called (map-get? context "increment"))))
(decrement-num-calls (default-to u0 (get called (map-get? context "decrement")))))
(if (> increment-num-calls decrement-num-calls)
(> (var-get counter) u0)
true)))
You can run invariant tests using rv with the following command:
rv example counter invariant
For full documentation, see the official Rendezvous Book.
Hughes, J. (2004). Testing the Hard Stuff and Staying Sane. In Proceedings of the ACM SIGPLAN Workshop on Haskell (Haskell '04). ↩
FAQs
Meet your contract's vulnerabilities head-on.
We found that @stacks/rendezvous demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.