
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
io.github.nemesismate:spring-ws-tunnel-core
Advanced tools
This project can turn any spring application into an API tunnel gateway, allowing a local server to act as one located in the same network the gateway is without requiring special routings (the client becomes the server and the server becomes the client).
This is achieved by using a webscoket connection as a tunnel to forward HTTP or other WS requests.
Any remote communication (HTTP or WS) following a client -> server model:
Can be tunneled to a local server:
Once included the library in the application (io.github.nemesismate:spring-ws-tunnel-core), enabling the tunnel functionality is done with the relevant annotations.
@EnableTunnelHttpApi
@EnableTunnelWsApi
@SpringBootApplication
public class TunnelApplication {
public static void main(String[] args) {
SpringApplication.run(TunnelApplication.class, args);
}
}
The application will complain if the tunneling is enabled but a TunnelListener
bean doesn't exist.
@Bean
public TunnelListener tunnelListener() {
return TunnelListener.Default.builder()
.onTunnelCreate(id -> {
System.out.println("Created tunnel: " + id);
return true;
})
.onTunnelDelete(id -> System.out.println("Deleted tunnel: " + id))
.build();
}
A very simple and powerful approach to setup this Tunnel applicationis with Spring Cloud Gateway.
FAQs
Unknown package
We found that io.github.nemesismate:spring-ws-tunnel-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.