Skip to main content

Your project to manage napalm detection modules

Project description

🔥 Napalm Package: napalm-base

This is an automatically generated report on the detectors in this package.

Some quick stats:

  • 3 collections
  • 19 detectors

optimisations modules:

ID Description Severity
storage-variable-bool Using bool as a storage variable is more expensive than uint256 or other types that fill a whole 256 bit word. INFO
cache-array-length-loop The compiler will re-execute each instance of .length for each loop iteration. Caching the length will reduce the amount of sloads necessary to perform the operation. INFO
initialize-default-value Initializing variables with their default value leads to unnecessary gas expenditure INFO

indicators modules:

ID Description Severity
math-in-unsafe-block Mathematical operators in unsafe blocks are not checked for under flows or overflows. INFO
use-of-privilege-to-protect-sensitive-functions It's necessary to implement proper controls on wallet security when privileged functions are used to protect sensitive functions. INFO
import-safetransfer-solmate Solmate's SafeTransferLib doesn't perform the same checks SafeERC20 does, in particular it doesn't check if a contract exists leading to potential vulnerabilities. INFO
block-number-l2 Solidity's block.number semantics are not consistent on L2s, leading to potential vulnerabilities. INFO
push-0-solc-version Your solidity version uses PUSH0 which is not supported by all chains. INFO

detectors modules:

ID Description Severity
int-cast-block-timestamp Casting block.timestamp can lead to reduced precision and unexpected behavior, consider not casting instead. WARNING
use-of-unsafe-erc20-functions The ERC20 implementation does not automatically include checks that ensure the success of the operation. Using the OpenZeppelin's SafeERC20 library is recommended. INFO
block-timestamp-swap Passing block.timestamp as the deadline effectively removes the deadline functionality which prevents malicious validators from holding back transactions to execute them at a later time. WARNING
dos-push-array-loop Potential Denial of Service when users can push to an array that's irreducible and looped over. HIGH
chainlink-circuit-breaker Vulnerable to exploitation in case of a Chainlink circuit breaker event. HIGH
unchecked-create-2 Unchecked return value for CREATE2 call. MEDIUM
unchecked-approve Unchecked token approve HIGH
unchecked-equation-modifier Potential lack of input control due to missing requires checks. HIGH
erc721-transfer-from-stuck transferFrom call on ERC721 can lead to stuck tokens HIGH
erc721-mint-stuck _mint call on ERC721 can lead to stuck tokens HIGH
erc20-approve-call Potential Denial of Service when tokens don't implement approve() consistently ( e.g. USDT ). HIGH

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napalm_core-0.1.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

napalm_core-0.1.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file napalm_core-0.1.0.tar.gz.

File metadata

  • Download URL: napalm_core-0.1.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.13 Darwin/23.2.0

File hashes

Hashes for napalm_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ffd4f679d74ecb089d3722f35e1020446b85126e85a3c0e7f4ca3763555bd76e
MD5 9b529e087a6e4cd57c0896ab2a059d66
BLAKE2b-256 f00ca057e1a57de160a3227115a09ad7e2c5509c31ece3ad65e53eb989f6fc50

See more details on using hashes here.

File details

Details for the file napalm_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: napalm_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.13 Darwin/23.2.0

File hashes

Hashes for napalm_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01470ad834e18fa5e8277679e5e1f66cc0b73d681160ad92210a54670134659e
MD5 9db28f94255638f48a6c7e28a6aff90e
BLAKE2b-256 fcfe140bd3ff8963016b461f6c3a3ebc112d6d039f414ed8667a4c91e09a7c68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page