[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hackAnalyzeSecurity](./bitburner.ns.hackanalyzesecurity.md)
## NS.hackAnalyzeSecurity() method
Returns the security increase that would occur if a hack with this many threads happened.
Signature:
```typescript
hackAnalyzeSecurity(threads: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| threads | number | Amount of threads that will be used. |
Returns:
number
The security increase.
## Remarks
RAM cost: 1 GB