
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.
@remixproject/plugin-iframe
Advanced tools
**Except if you want your plugin to ONLY work on the web, prefer [@remixproject/plugin-webview](../webview)**
Except if you want your plugin to ONLY work on the web, prefer @remixproject/plugin-webview
This library provides connectors to connect a plugin to an engine running in a web environment.
npm install @remixproject/plugin-iframe
If you do not expose any API you can create an instance like this :
import { createClient } from '@remixproject/plugin-iframe'
const client = createClient()
client.onload(async () => {
const data = client.call('filemanager', 'readFile', 'ballot.sol')
})
If you need to expose an API to other plugin you need to extends the class:
import { createClient } from '@remixproject/plugin-iframe'
import { PluginClient } from '@rexmixproject/plugin'
class MyPlugin extends PluginClient {
methods = ['hello']
hello() {
console.log('Hello World')
}
}
const client = createClient()
client.onload(async () => {
const data = client.call('filemanager', 'readFile', 'ballot.sol')
})
FAQs
**Except if you want your plugin to ONLY work on the web, prefer [@remixproject/plugin-webview](../webview)**
The npm package @remixproject/plugin-iframe receives a total of 56 weekly downloads. As such, @remixproject/plugin-iframe popularity was classified as not popular.
We found that @remixproject/plugin-iframe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.