Repository Analysis

OpenZeppelin/openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.

0.8 Likely human-written View on GitHub
0.8
Adjusted Score
0.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
27,109
Stars
Solidity
Language
62,414
Lines of Code
349
Files
31
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 4LOW 26

Pattern Findings

31 matches across 5 categories. Click a row to expand file-level details.

Decorative Section Separators4 hits · 18 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/release-cycle.yml4# ┌───────────┐ ┌─────────────┐ ┌────────────────┐
MEDIUM.github/workflows/release-cycle.yml6# └───────────┘ └─┬─────────▲─┘ │ └─┬────────────▲─┘
MEDIUM.github/workflows/release-cycle.yml10# ┌▼─────────┴┐ │ ┌▼────────────┴┐
MEDIUM.github/workflows/release-cycle.yml12# └───────────┘ └──────────────┘
Hyper-Verbose Identifiers16 hits · 16 pts
SeverityFileLineSnippet
LOWtest/token/ERC1155/ERC1155.behavior.js517 function batchTransferWasSuccessful() {
LOW…y/transparent/TransparentUpgradeableProxy.behaviour.js8module.exports = function shouldBehaveLikeTransparentUpgradeableProxy() {
LOWtest/access/AccessControl.behavior.js12function shouldBehaveLikeAccessControl() {
LOWtest/access/AccessControl.behavior.js227function shouldBehaveLikeAccessControlEnumerable() {
LOWtest/access/AccessControl.behavior.js264function shouldBehaveLikeAccessControlDefaultAdminRules() {
LOWtest/access/manager/AccessManager.predicate.js171function testAsSchedulableOperation({ scheduled: { before, after, expired }, notScheduled }) {
LOWtest/access/manager/AccessManager.predicate.js234function testAsRestrictedOperation({ callerIsTheManager: { executing, notExecuting }, callerIsNotTheManager }) {
LOWtest/access/manager/AccessManager.behavior.js19function shouldBehaveLikeDelayedAdminOperation() {
LOWtest/access/manager/AccessManager.behavior.js58function shouldBehaveLikeNotDelayedAdminOperation() {
LOWtest/access/manager/AccessManager.behavior.js97function shouldBehaveLikeRoleAdminOperation(roleAdmin) {
LOWtest/access/manager/AccessManager.behavior.js137function shouldBehaveLikeAManagedRestrictedOperation() {
LOWtest/access/manager/AccessManager.behavior.js194function shouldBehaveLikeASelfRestrictedOperation() {
LOWtest/utils/Context.behavior.js8function shouldBehaveLikeRegularContext() {
LOWtest/utils/Nonces.behavior.js69function shouldBehaveLikeNoncesKeyed() {
LOWtest/account/Account.behavior.js7function shouldBehaveLikeAccountCore() {
LOWtest/account/Account.behavior.js80function shouldBehaveLikeAccountHolder() {
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippet
LOWtest/utils/RLP.test.js179 'Lorem ipsum dolor sit amet, consectetur adipisicing elit',
LOWtest/utils/RLP.test.js179 'Lorem ipsum dolor sit amet, consectetur adipisicing elit',
LOWtest/utils/Bytes.test.js20 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a
LOWtest/utils/Bytes.test.js20 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a
LOWtest/utils/SlotDerivation.test.js46 { type: 'string', key: 'lorem ipsum', isValueType: false },
LOWtest/utils/StorageSlot.test.js16 { name: 'String', type: 'string', value: 'lorem ipsum', isValueType: false, zero: '' },
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippet
HIGHscripts/gen-nav.js76print(
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWtest/access/manager/AccessManager.test.js81 manager,
LOWtest/metatx/ERC2771Forwarder.test.js161
LOWscripts/fetch-common-contracts.js1#!/usr/bin/env node
LOW.github/workflows/release-cycle.yml1# D: Manual Dispatch