
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.
@channel.io/wam-bridge
Advanced tools
Channel.io WAM(Web App Module) 브릿지 라이브러리입니다. 이 라이브러리는 Channel.io WAM 개발 환경과 WAM Controller 간의 통신을 위한 브릿지 역할을 합니다.
# npm
npm install @channel.io/wam-bridge
# yarn
yarn add @channel.io/wam-bridge
로컬 개발 환경에서 WAM 내장 함수를 사용하는 방법:
import { WamBridge } from '@channel.io/wam-bridge';
// 로컬 개발 환경을 위한 브릿지 초기화
const wamBridge = new WamBridge({
environment: 'local',
mockResponses: {
// 목 응답 설정
callFunction: { success: true, data: { result: '목 응답' } }
}
});
// 글로벌 객체로 설정
window.ChannelIOWam = wamBridge.getApi();
// 이제 WAM 내장 함수를 사용할 수 있습니다
window.ChannelIOWam.callCommand({ appId: 'test-app', name: 'test-command' });
실제 프로덕션 환경에서 WAM Controller에서 브릿지를 초기화하는 방법:
import { WamBridge } from '@channel.io/wam-bridge';
// 프로덕션 환경을 위한 브릿지 초기화
const wamBridge = new WamBridge({
environment: 'production',
// sendToClient 함수 제공
callbacks: {
sendToClient: message => {
// 실제 클라이언트에 메시지 전송
// 예: window.parent.postMessage(message, '*');
}
}
});
// WAM iframe에 주입
wamIframe.contentWindow.ChannelIOWam = wamBridge.getApi();
# 개발 모드 실행
yarn dev
# 빌드
yarn build
# 테스트 실행
yarn test
# 코드 린트
yarn lint
# 코드 포맷팅
yarn format
MIT
FAQs
Bridge for Channel.io WAM communication
We found that @channel.io/wam-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than 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.