
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.
@smartlook/circular-deps-detector
Advanced tools
Package to detect circular dependencies and unused files in TypeScript projects.
NPM
npm i @smartlook/circular-deps-detector
YARN
yarn add @smartlook/circular-deps-detector
PNPM
pnpm add @smartlook/circular-deps-detector
Add this line to your scripts in package.json
"detect-circular-deps": "detect-circular-deps --config ./circular-deps-config.json"
Then create a new JSON file circular-deps-config.json
with the following content:
Property | Type | Description |
---|---|---|
projectName | string | Your project name |
rootDir | string | root directory to scan |
tsConfig | string | path to your TS config file |
entryPoint | string | path to the entry point file |
outputFile | string | path to output report file (JSON) |
ignorePatterns | string[] (optional) | array of regexp patterns (valid parameter of JavaScript new RegExp() ) |
Example:
{
"projectName": "My App",
"rootDir": "./src",
"tsConfig": "./tsconfig.json",
"entryPoint": "./src/index.ts",
"outputFile": "./circular-deps-report.json",
"ignorePatterns": [
"/src/libs/.*",
"/src/services/utils/.*",
]
}
FAQs
Package to detect circular dependencies and unused files in TypeScript projects.
We found that @smartlook/circular-deps-detector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.