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.
@enhance/arc-plugin-enhance
Advanced tools
adds file based routing to arc.codes with enhance.dev server rendered custom elements
@enhance-dev/arc-plugin-enhance
adds file based routing to arc.codes with enhance.dev server rendered custom elements
app
├── api ............. api routes
├── elements.mjs .... custom elements manifest
├── head.mjs ........ <head> element
└── pages ........... custom elements that map to routes (eg. /about renders about.mjs)
├── 404.mjs
├── 500.mjs
├── about.mjs
├── index.html
└── notes
├── $id.mjs
└── index.mjs
file based routing using leading $
for dynamic parameters reasoning
$
is safe on windows and linux UNLESS its trailing in which case thats a hidden file in windows:
is illegal in windows file paths*
will expand in various system shells creating ambiguity.
is meaningful in system shells (current dir) and completions with ..
and/or ...
creates ambiguitycurrently we need to generate an .arc file with a fair bit of 'required' configuration; it would be good to move this into the plugin and allow userland to override as neccessary
@http
automatically; userland should still be able to override themselves@static
params like fingerprint
@views
params like src
(but they can override and remap later if they need to)@table
for begin/data (but they could add their own tables later)new project
FAQs
This Architect plugin customizes a default [Architect](https://arc.codes) project to add file based routing and server rendered Custom Elements.
The npm package @enhance/arc-plugin-enhance receives a total of 107 weekly downloads. As such, @enhance/arc-plugin-enhance popularity was classified as not popular.
We found that @enhance/arc-plugin-enhance demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
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.