Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
koatty_cacheable
Advanced tools
Cacheable for koatty.
Koatty框架的 CacheAble, Cacheable, CacheEvict 支持库
db.ts in koatty project:
export default {
...
"CacheStore": {
type: "memory", // redis or memory, memory is default
// key_prefix: "koatty",
// host: '127.0.0.1',
// port: 6379,
// name: "",
// username: "",
// password: "",
// db: 0,
// timeout: 30,
// pool_size: 10,
// conn_timeout: 30
},
...
};
used in service:
import { CacheAble, CacheEvict, GetCacheStore } from "koatty_cacheable";
export class TestService {
@CacheAble("testCache") // auto cached
getTest(){
//todo
}
@CacheEvict("testCache") // auto clear cache
setTest(){
//todo
}
test(){
const store = GetCacheStore(this.app);
store.set(key, value);
}
}
FAQs
Cacheable for koatty.
The npm package koatty_cacheable receives a total of 4 weekly downloads. As such, koatty_cacheable popularity was classified as not popular.
We found that koatty_cacheable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.