Skip to content

Sec updates

Sec updates #1854

Triggered via pull request November 27, 2023 00:07
Status Success
Total duration 4m 27s
Artifacts

ci-main-tests.yml

on: pull_request
Static Security Tests
2m 32s
Static Security Tests
Dependency Scan
32s
Dependency Scan
Run Tests
3m 53s
Run Tests
All tests pass
0s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run Tests: HeliumVotePlugin/components/LockTokensAccount.tsx#L155
React Hook useAsync has missing dependencies: 'config?.account.communityTokenConfig.voterWeightAddin', 'connection', 'currentClient', 'getPositions', 'realm.account.communityMint', 'realm.pubkey', and 'wallet.publicKey'. Either include them or remove the dependency array
Run Tests: components/NewRealmWizard/components/NFTCollectionModal.tsx#L85
React Hook useAsync has a missing dependency: 'network'. Either include it or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L46
React Hook useEffect has missing dependencies: 'account.extensions.token', 'mangoClient', and 'mangoGroup'. Either include them or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L46
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: components/TreasuryAccount/Trade.tsx#L344
React Hook useCallback has missing dependencies: 'anchorProvider', 'fmtUrlWithCluster', 'handleCreateProposal', 'mintAccount.account.decimals', 'router', 'tokenAccount.pubkey', and 'voteByCouncil'. Either include them or remove the dependency array
Run Tests: components/treasuryV2/WalletList/WalletListItem/AssetList/index.tsx#L165
React Hook useEffect has missing dependencies: 'realm.account.communityMint' and 'realm.account.config.councilMint'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has missing dependencies: 'GROUP', 'connection', 'getClient', and 'wallet'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: hooks/useVoteRecords.ts#L111
React Hook useAsync has a missing dependency: 'connection.endpoint'. Either include it or remove the dependency array
Run Tests: hub/components/EditWalletRules/createTransaction.ts#L9
'BigNumber' is defined but never used