
Research
/Security News
Popular Go Decimal Library Targeted by Long-Running Typosquat with DNS Backdoor
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.
@trust-engine/widget
Advanced tools
A JavaScript widget for content verification using the TrustEngine blockchain registry.
<!-- Latest version -->
<script src="https://cdn.jsdelivr.net/npm/@trustengine/widget@latest/dist/trust-engine-widget.js"></script>
<!-- Specific version (recommended for production) -->
<script src="https://cdn.jsdelivr.net/npm/@trustengine/widget@1.0.0/dist/trust-engine-widget.js"></script>
<script>
TrustEngineWidget.init({
apiBaseUrl: 'https://core-api-server.onrender.com'
});
</script>
<script src="https://cdn.trustengine.org/widget/latest/trust-engine-widget.js"></script>
<script>
TrustEngineWidget.init({
apiBaseUrl: 'https://core-api-server.onrender.com'
});
</script>
npm install @trustengine/widget
import { TrustEngineWidget } from '@trustengine/widget';
const widget = new TrustEngineWidget({
apiBaseUrl: 'https://core-api-server.onrender.com'
});
widget.initialize();
TrustEngineWidget.init({
apiBaseUrl: 'https://core-api-server.onrender.com', // API endpoint
enabledElements: ['img', 'video', 'audio'], // Media types to scan
badgePosition: 'top-right', // Badge position
showTooltip: true, // Enable hover tooltips
autoScan: true, // Auto-scan on init
observeDynamicContent: true, // Monitor for new content
theme: 'light', // 'light' or 'dark'
debug: false // Debug logging
});
The widget uses the TrustEngine SDK to verify content:
npm run build
npm run dev # Start development server
Open test/sample-page/index.html to test the widget.
js-widget/
├── src/
│ ├── scanner/ # Media detection
│ ├── ui/badge/ # Verification badges
│ ├── utils/ # Utilities
│ └── styles/ # CSS styles
├── config/ # Build configuration
├── test/ # Test pages
└── dist/ # Built files
MIT License
FAQs
TrustEngine content verification widget for websites
The npm package @trust-engine/widget receives a total of 7 weekly downloads. As such, @trust-engine/widget popularity was classified as not popular.
We found that @trust-engine/widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.

Research
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.