
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@ferry-core/oar
Advanced tools
By YanPan
Oar 是基于 Axios 的扩展网络请求库,兼容 Axios 基本用法,并对部分 Axios 的默认配置进行了封装和扩展:
| 参数 | 类型 | default | 说明 |
| --------------- | ------- | ------------- | -------------------------- | ------------------------------- |
| allowCsrf | boolean | true | 默认 post 请求带 csrf 参数 |
| csrfKeyName | string | Array | ['csrf_token', 'csrf'] | post 请求的自定义 csrf 校验字段 |
| withCredentials | boolean | true | 默认允许带 cookie |
Oar 默认设置了请求及响应拦截器,提供了以下功能:
request 拦截器
application/x-www-form-urlencoded 格式发送response 拦截器
npm i -D @ferry-core/oar # 或 yarn add -D @ferry-core/oar
FAQs
A RESTful HTTP request lib with default config
The npm package @ferry-core/oar receives a total of 21 weekly downloads. As such, @ferry-core/oar popularity was classified as not popular.
We found that @ferry-core/oar 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.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.