
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@contember/echo
Advanced tools
A lightweight tool for capturing user feedback with screenshots, annotations, and debug information. Built with Solid.js and designed to seamlessly integrate into any web application.
A lightweight tool for capturing user feedback with screenshots, annotations, and debug information. Built with Solid.js and designed to seamlessly integrate into any web application.
import { initEcho } from '@contember/echo';
initEcho({
onSubmit: async (data) => {
console.log('Feedback submitted:', data);
// Handle the feedback data (send to server, etc.)
}
});
<script type="module">
import { initEcho } from "https://esm.sh/@contember/echo";
initEcho({
onSubmit: async (data) => {
console.log('Feedback submitted:', data);
// Handle the feedback data (send to server, etc.)
}
});
</script>
Option | Type | Required | Default | Description |
---|---|---|---|---|
position | string | No | 'bottom-right' | WIP: Position on the page. Available positions: 'top-left', 'top-center', 'top-right', 'middle-left', 'middle-right', 'bottom-left', 'bottom-center', 'bottom-right' |
primaryColor | string | No | '#6227dc' | Primary color for UI elements |
textConfig | object | No | english | Customize all text elements in the interface |
onSubmit | function | Yes | - | Callback function when feedback is submitted |
The onSubmit
callback receives a data object with the following structure:
interface FeedbackPayload {
comment: string; // User's written feedback
screenshot: string; // Base64 encoded screenshot
metadata: {
url: string; // Current page URL
userAgent: string; // Browser user agent
timestamp: number; // Submission timestamp
browserInfo: {
width: number; // Width of viewport
height: number; // Height of viewport
screenWidth: number; // Width of device
screenHeight: number; // Height of device
};
};
console: Array<{ // Last 1000 console entries (logs, warnings, errors, uncaught errors, unhandled promise rejections)
type: 'log' | 'warn' | 'error'; // Type of console entry
message: string; // Content of the console message
timestamp: string; // When the message was logged
}>;
}
Apache-2.0 - see LICENSE for details.
FAQs
A lightweight tool for capturing user feedback with screenshots, annotations, and debug information. Built with Solid.js and designed to seamlessly integrate into any web application.
We found that @contember/echo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.