The Foundry configuration enables FFI (Foreign Function Interface) globally with ffi = true, removing the security safeguard that prevents tests from executing system commands. This enables Finding #5 and allows any test to compromise user systems.
FFI is disabled by default as a security measure
Configuration explicitly enables FFI for all tests
Malicious tests can execute arbitrary commands without warnings
Likelihood:
Applied automatically when running any Foundry command
No user prompt or warning about FFI being active
Affects all test files in the project
Combined with Finding #5 for automatic exploitation
Impact:
Enables all FFI-based attacks (like Finding #5)
Removes default security protection
Silent enablement without user awareness
Supply chain attack vector for malicious developers
Persistent risk across all testing
This demonstrates that FFI is active by successfully executing a command that would normally be blocked.
Disable FFI by default to restore the security safeguard, requiring explicit opt-in for legitimate use cases.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.