
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@architect/plugin-bundles
Advanced tools
plugin-bundles Plugin for exposing bundled modules to the browser from your Architect project.
`plugin-bundles Plugin for exposing bundled modules to the browser from your Architect project.
npm i @architect/plugin-bundles
In your app.arc
file:
@app
bndl-mock
@http
get /yolo
# Define you plugins pragma
@plugins
# Add the plugin bundles module
architect/plugin-bundles
# Define the bundles pragma
@bundles
# Specify which modules to bundle based off of file path.
# . Hint: You can include organization node modules by quoting the path
# . i.e. hashids "@begin/hashids"
yolo /lib/yolo.mjs
In your lambda handler you now have access to a map with the path to bundled and fingerprinted modules
import map from '@architect/views/_bundles/map.mjs'`
Map will look like this
export default {
"/_bundles/yolo.mjs": "/_bundles/yolo-232bd6a.mjs",
}
In your browser code you can now request modules from /_bundles/
and the response will be the bundled and fingerprinted file.
You can use the map to look up the fingerprinted name.
import map from '@architect/views/_bundles/map.mjs'`
const fingerprintedPath = map['/_bundles/yolo.mjs']
// fingerprintedPath would be: /_bundles/yolo-232bd6a.mjs
FAQs
Architect plugin for exposing bundled modules to the browser from your Architect project.
The npm package @architect/plugin-bundles receives a total of 80 weekly downloads. As such, @architect/plugin-bundles popularity was classified as not popular.
We found that @architect/plugin-bundles 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.