
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
Rimor(リモール)は、テストの「質」を監査することに特化した、シンプルで強力なツールです。単なるテストカバレッジを超えて、テストが本当にプロダクトの品質を守っているかを検証します。
Rimor v0.8.0は、「テスト品質監査」というコア価値に集中するため、アーキテクチャを完全に再設計しました。
Rimorの設計は、以下の研究成果から影響を受けています:
この研究により、実行時オーバーヘッドなしにセキュリティ脆弱性を検出できる効率的な解析が可能になりました。
# インストール不要で即座実行
npx rimor
# 特定のディレクトリを分析
npx rimor analyze ./src
# 自動モードで最適な分析を実行
npx rimor analyze ./src --mode=auto
# プロジェクトのクローン
git clone https://github.com/sasakama-code/rimor.git
cd rimor
# 依存関係のインストール
npm install
# TypeScriptコンパイル
npm run build
# プロジェクトの分析
npx rimor analyze ./src
# JSON形式で出力
npx rimor analyze ./src --output=json
# 並列処理モードで高速分析
npx rimor analyze ./src --mode=parallel
import { container } from 'rimor/container';
import { TYPES } from 'rimor/container/types';
import { IAnalysisEngine } from 'rimor/core/interfaces';
// DIコンテナから分析エンジンを取得
const engine = container.get<IAnalysisEngine>(TYPES.AnalysisEngine);
// 分析の実行
const result = await engine.analyze('./src');
console.log(`検出された問題: ${result.issues.length}件`);
YAMLファイルで独自のルールを定義できます:
# rules/custom-rules.yaml
- id: auth-test-coverage
name: 認証テストカバレッジ
description: 認証機能に対する適切なテストカバレッジを確保
category: security
severity: error
patterns:
- type: keyword
pattern: auth|login|logout|token
message: 認証関連の機能にはセキュリティテストが必要です
import { IPlugin } from 'rimor/core/interfaces';
class CustomPlugin implements IPlugin {
metadata = {
id: 'custom-plugin',
name: 'カスタムプラグイン',
version: '1.0.0',
enabled: true
};
async analyze(filePath: string): Promise<Issue[]> {
// カスタム分析ロジック
return [];
}
}
// プラグインの登録
const pluginManager = container.get<IPluginManager>(TYPES.PluginManager);
pluginManager.register(new CustomPlugin());
組み込みのセキュリティ監査機能により、テストコードのセキュリティ問題を検出:
# セキュリティ監査の実行
npx rimor analyze ./src --security
# 詳細なセキュリティレポート
npx rimor analyze ./src --security --verbose
.rimorrc.jsonファイルでプロジェクト固有の設定が可能:
{
"targetPath": "./src",
"plugins": {
"testExistence": true,
"assertionQuality": true,
"securityAudit": true
},
"output": {
"format": "json",
"path": "./rimor-report.json"
}
}
# テストの実行
npm test
# 型チェック
npm run typecheck
# リント
npm run lint
# 全チェック
npm run full-check
MITライセンス - 詳細はLICENSEファイルを参照してください。
最新の変更についてはRELEASE_NOTES_v0.8.0.mdを参照してください。
Rimor - テストの質を監査し、真の品質保証を実現する
FAQs
テスト品質監査ツール - DIベースアーキテクチャと型ベースセキュリティ解析によるテストの質の検証
We found that rimor 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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.