Vulnerabilities Database
Smart contract vulnerability templates for ReinforcedAI.
Dependencies
- Modern Linux
- Python 3.11+
API
-
initialize(environment: str)Loads native vulnerabilities database library. You must call this function before any other library function.environmentсan bemainnet,testnetorlocal. -
activate(activation_code: str)Activates the library with your activation code. This is required before you can generate contracts.activation_codeis your personal activation code received from relayer. -
generate_contract()Generates a new vulnerable contract template. The library must be initialized and activated before calling this function.Returns
Contractobject withvulnerability_class,descriptionandcodefields.
Demo
import py_solidity_vuln_db as vuldb
vuldb.initialize('testnet')
vuldb.activate('AAAA-BBBB-CCCC')
contract = vuldb.generate_contract()
print('Vulnerability class:', contract.vulnerability_class)
print('Description:', contract.description)
print('Code:', contract.code)
Metadata
Release files for solidity-vulnerabilities-db2 2507.22.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solidity_vulnerabilities_db2-2507.22.1-py3-none-any.whl | Python 3 | none | any | Details for solidity_vulnerabilities_db2-2507.22.1-py3-none-any.whl |
Release files / solidity_vulnerabilities_db2-2507.22.1-py3-none-any.whl
| Download URL | solidity_vulnerabilities_db2-2507.22.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d960856976f864db822625a7d5c0d61fb82e33c9d679c98c9e189ceb77859335
|
|
BLAKE2b-256 checksum How to use checksums |
8bf9fec2504a945aeca06c4a11b56ef9c99a05123ff2f2bba68e1de5dd4c207b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.10
|
Security for solidity-vulnerabilities-db2 2507.22.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.