
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
astros-asset-parse
Advanced tools
##astro-asset-parse
Astros 中间件
该中间件实现了URL和资源的映射机制。如:
页面home的JS引用路径为:http://cdn/js/p/home.js,对应的Asset属性
| 属性 | 值 |
|---|---|
| modType | page |
| fileType | js |
| name | home |
如果需要自定义资源访问路径(如通过 http://cdn/js/page/home.js访问页面JS),你可以通过实现自己的中间件替换 astro-asset-parse来实现。
####资源引用
本插件定义的资源访问规则如下:
页面|JS| http://cdn/**js**/**p**/login.js web组件|JS| http://cdn/**js**/**webcom**/header.js js组件|JS| http://cdn/**js**/**jscom**/dialog.js 共用资源|js| http://cdn/**js**/**jquery**.js 页面|CSS| http://cdn/**css**/**p/login**.css web组件|CSS| http://cdn/**css**/**webcom**/header.css js组件|CSS| http://cdn/**css**/**jscom**/dialog.css 页面|img| http://cdn/**img**/**p/banner**.png web组件|img| http://cdn/**img**/**webcom**/logo.png js组件|img| http://cdn/**img**/**jscom**/close.png 共用资源|img| http://cdn/**img**/**avatar**.png
FAQs
Astros 中间件
We found that astros-asset-parse 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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.