
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@forter/confirm
Advanced tools
An element by Forter
<script>
import '@forter/confirm';
</script>
<fc-confirm opened>
Are you sure you want to continue?
</fc-confirm>
<!-- confirm-button-text -->
<fc-confirm opened title="example" confirm-button-text="Foo">confirm text is changed!</fc-confirm>
<!-- cancel-button-text -->
<fc-confirm opened title="example" cancel-button-text="Foo">cancel text is changed</fc-confirm>
<!-- hide-confirm-button -->
<fc-confirm opened title="example" hide-confirm-button>confirm text is changed!</fc-confirm>
<!-- hide-cancel-button -->
<fc-confirm opened title="example" hide-cancel-button>confirm text is changed!</fc-confirm>
<!-- confirm -->
<p> Open: </p>
<fc-button
onclick="
FC.confirm({
title: 'Example',
content: 'Are you a Forker?',
confirmButtonText: 'Yes',
cancelButtonText: 'No'
})
.then((confirmed)=> confirmed ?
FC.toast.success({ message: 'You answered yes!'}) :
FC.toast.danger({ message: 'You answered no!'})
)"
>
Click me!
</fc-button>
<fc-confirm></fc-confirm>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
cancelButtonText | cancel-button-text | string | "Cancel" | the text displayed inside the cancel modal |
confirmButtonText | confirm-button-text | string | "Confirm" | the text displayed inside the confirm button |
height | height | string | null | Optional height for the modal |
hideCancelButton | hide-cancel-button | string | false | Hides the cancel button if ture |
hideConfirmButton | hide-confirm-button | string | false | Hides the confirm button if ture |
opened | opened | boolean | false | whether the confirm is open |
title | title | string | null | the text displayed inside the confirm button |
Event | Description |
---|---|
on-cancel | when the cancel/close button was clicked |
on-confirm | when the confirm button was clicked |
on-opened | when opening a confirm you get this event |
Property | Description |
---|---|
--fc-confirm-height | height |
--fc-confirm-width | width |
FAQs
confirm from Forter Components
The npm package @forter/confirm receives a total of 6 weekly downloads. As such, @forter/confirm popularity was classified as not popular.
We found that @forter/confirm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.