Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
create-smithy-app
Advanced tools
rust-webpack-template
Kickstart your Rust, WebAssembly, and Webpack project!
Built with 🦀🕸 by The Rust and WebAssembly Working Group
This template is designed for creating monorepo-style Web applications with Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.
📚 Read this template's tutorial! 📚
Be sure to check out other wasm-pack
tutorials online for other
templates and usages of wasm-pack
.
You can use npm init
to clone this template:
npm init rust-webpack my-app
Afterwards check out the full documentation for exploring it.
This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Webpack build pipeline.
npm start
-- Serve the project locally for development at
http://localhost:8080
. It auto-reloads when you make any changes.
npm run build:prod
-- Export the project into the /pkg
folder. These files
can now be served statically, e.g. from a CDN.
npm run serve:prod
-- After npm run build:prod
has been run, serves the
files statically (using python. This may change soon to decrease the number
of dependencies).
S3_BUCKET=... npm run upload
-- After npm run build:prod
has been run,
uploads the files to an S3 bucket with the correct mime types and with
brotli compression.
npm test
-- Run the project's unit tests.
FAQs
Unknown package
We found that create-smithy-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.