
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@beetcb/tcb-conf
Advanced tools
tcb-conf?tcb-conf is how you store conf at cloudbase function runtime,inspired by conf from @sindresorhus
You can also use it as a cloudbase function runtime's environment variables setter(beacause we store thing to there)
When you have a tiny piese of data(a secret-key, for example), tcb-conf stores it for you. Don't Worry: it will still be there next time you invoke that function
Inaccurately, tcb-conf cloud be alternative to a database (for storing tiny data)
Note: Only using it inside Client NodeJS, it's convenient!
const conf = require('@beetcb/tcb-conf')
// Make sure to use the async function, otherwise it will block the code execution
exports.main = async () => {
// Init conf entity
await conf.load()
console.log(conf.get('secret') || conf.set('secret', 'xxx 🕊'))
}
conf.<method>:
key): get conf key's valuekey, value): set conf key using valuekey): get global environment variable key's valuekey, value): set global environment variable key using valueUnder the hood, when the function is about to reach the timeout(about 10ms brfore timeout), tcb-conf starts to update the function's environment variables for next time invoking
FAQs
store things at cloudbase function runtime
We found that @beetcb/tcb-conf 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.