
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
resource-save-script
Advanced tools
English | 中文
A Node.js tool for local development that starts a local server while automatically fetching missing remote resource files.
npm install -g resource-save-script
Once installed, use the h
command in your terminal:
# Run on a custom port
h 8080
# Run on the default port 4000
h
You'll be prompted to enter the remote server URL:
→ Please enter the base URL for resources: https://your-remote-server.com
The script monitors 404 requests on the local server. When a missing file is detected, it automatically downloads the file from the specified remote server to your local directory.
Let's say you want to debug a page from luckfunc.com
locally:
1. Create and enter project directory
mkdir my-project
cd my-project
2. Download the main page
curl -o index.html https://luckfunc.com/
3. Start the script in your project directory
h
# Enter: https://luckfunc.com/
4. Access the page
Open your browser and visit http://127.0.0.1:4000/index.html
When the page loads, if it references local files like i18n.js
that don't exist, the script will automatically download them from luckfunc.com
to your local directory.
Terminal output will show download progress:
Missing file detected: /i18n.js
Download complete: /path/to/your/project/i18n.js (1234 bytes)
Refresh the page and all resources will load properly.
FAQs
HTTP server with auto-download capability
The npm package resource-save-script receives a total of 324 weekly downloads. As such, resource-save-script popularity was classified as not popular.
We found that resource-save-script demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.