
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.
incupiditate
Advanced tools
yarn create faas-app --name faasjs --example --noprovider
/*
* 云函数文件
* index.func.ts
*/
import { useFunc } from '@faasjs/func';
import { useHttp } from '@faasjs/http';
export default useFunc(function(){
useHttp(); // 使用 http 插件
return async function () {
return 'Hello, world'; // 返回的内容
}
});
/*
* 自动化测试脚本
* __tests__/index.test.ts
*/
import { FuncWarpper } from '@faasjs/test';
describe('index', function () {
test('should work', async function () {
// 引用云函数文件
const func = new FuncWarpper(require.resolve('../index.func'));
// 模拟调用
const res = await func.handler();
// 检查响应内容
expect(res.body).toEqual('{"data":"Hello, world"}');
});
});
代码贡献者(按字母排序)
FaasJS 基于以下开源项目(按字母排序)
FAQs
Unknown package
The npm package incupiditate receives a total of 0 weekly downloads. As such, incupiditate popularity was classified as not popular.
We found that incupiditate 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
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.