
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@architect/macro-http-api
Advanced tools
Forward compat path to migrate Architect to API Gateway to HTTP APIs from REST APIs.
Before:
exports.handler = async function http(req) {
// req.headers.cookie (big string u need to parse)
// req.multiValueHeaders.cookie (array of strings)
return {
isBase64Encoded: false,
statusCode: 200,
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'John Doe',
message: 'hello',
})
}
}
After:
exports.handler = async function http(req) {
// req.cookies 👍🏽
return {
name: "John Doe",
message: "hello"
}
}
Way more chill 🧊
Install:
npm i @architect/macro-http-api
And add to your arcfile:
@app
myapp
@macros
architect/macro-http-api
@http
get /
That's it!
FAQs
use http apis instead of rest apis with api gateway
We found that @architect/macro-http-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.