
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.
@daduncan/smart-submit-button
Advanced tools
A smart, reusable React button component for form submissions — seamlessly connected to a DADCMS content management platform where developers can view and manage incoming messages from their users.
A smart, reusable React button component for form submissions — seamlessly connected to a DADCMS content management platform where developers can view and manage incoming messages from their users.
@daduncan/smart-submit-button
is a React component designed for developers who want a plug-and-play solution for collecting user data (like name, email, message, etc.) and managing it through a centralized platform.
Once registered on the DADCMS platform, developers receive a public key which they pass to the button via props. Submitted data is securely routed to their dashboard, where they can view their users messages — without building a backend.
Install via npm:
npm install @daduncan/smart-submit-button
or
yarn add @daduncan/smart-submit-button
How It Works
Register on the DADCMS content management platform. temporary link(https://dadcms.netlify.app)
Receive your public key.
Install the button in your React project.
Pass user data and your public key via props.
View submissions in your platform dashboard.
Usage
jsx
import React from 'react'
import {SmartSubmitButton} from '@daduncan/smart-submit-button'
const App = () => {
const componentProps = {
data: {
name: 'David',
email: "yourmail@gmail.com",
subject:"subject",
message: "your message",
},
publicKey: 'your-api-key',
onError : ()=> alert('there was an error'),
onSuccess: ()=> alert('submitted successfully'),
}
return (
<div >
<SmartSubmitButton {...componentProps} />
</div>
)
}
🔐 Secure submission using your public key
📤 Sends data directly to dadcms platform
🧩 Easy to integrate into any React form
🧠 No backend setup required
FAQs
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.